Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
503d54af8b | ||
|
|
673038f09e | ||
|
|
b489b5670f | ||
|
|
ae77ecbcd3 | ||
|
|
7944a61dc3 | ||
|
|
df73f49622 | ||
|
|
f10a6ff1b4 | ||
|
|
638f001de3 | ||
|
|
064d33078b | ||
|
|
fb56604b80 |
@@ -3,10 +3,12 @@
|
|||||||
# ============================================================
|
# ============================================================
|
||||||
|
|
||||||
# List of website domains allowed for cassette writing. (e.g., youtube.com)
|
# List of website domains allowed for cassette writing. (e.g., youtube.com)
|
||||||
whitelistedUrls = ["youtube.com", "youtu.be", "soundcloud.com", "bandcamp.com"]
|
# Create RP: a blacklist with a placeholder that never matches = any address is allowed (an empty blacklist would
|
||||||
|
# refuse everything on the server, an empty whitelist only direct audio files on the client).
|
||||||
|
whitelistedUrls = ["blocked.invalid"]
|
||||||
|
|
||||||
# If enabled, the URL whitelist will be treated instead as a blacklist.
|
# If enabled, the URL whitelist will be treated instead as a blacklist.
|
||||||
whitelistAsBlacklist = false
|
whitelistAsBlacklist = true
|
||||||
|
|
||||||
# Enables the static effect for walkie talkies and speakers.
|
# Enables the static effect for walkie talkies and speakers.
|
||||||
enableWalkieFiltering = true
|
enableWalkieFiltering = true
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 376 B |
@@ -24,6 +24,9 @@ net.minecraft.client.gui.screens.ProgressScreen {
|
|||||||
net.minecraft.client.gui.screens.LevelLoadingScreen {
|
net.minecraft.client.gui.screens.LevelLoadingScreen {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ua.pinecraft.createrp.client.update.UpdateScreen {
|
||||||
|
}
|
||||||
|
|
||||||
net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen {
|
net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ layout-meta {
|
|||||||
randomonlyfirsttime = false
|
randomonlyfirsttime = false
|
||||||
layout_index = 0
|
layout_index = 0
|
||||||
[loading_requirement_container_meta:e298b77d-b8c9-5523-8a40-eb88c4f91a89-1791960000000] = [groups:][instances:]
|
[loading_requirement_container_meta:e298b77d-b8c9-5523-8a40-eb88c4f91a89-1791960000000] = [groups:][instances:]
|
||||||
universal_layout_whitelist = connect_screen;disconnected_screen;generic_dirt_message_screen;receiving_level_screen;progress_screen;level_loading_screen;
|
universal_layout_whitelist = connect_screen;disconnected_screen;generic_dirt_message_screen;receiving_level_screen;progress_screen;level_loading_screen;ua.pinecraft.createrp.client.update.UpdateScreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_background {
|
menu_background {
|
||||||
|
|||||||
@@ -1326,7 +1326,7 @@ element {
|
|||||||
rounding_radius_top_right = 0.0
|
rounding_radius_top_right = 0.0
|
||||||
rounding_radius_bottom_right = 0.0
|
rounding_radius_bottom_right = 0.0
|
||||||
rounding_radius_bottom_left = 0.0
|
rounding_radius_bottom_left = 0.0
|
||||||
[loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:91c9e906-7f6c-52e8-a560-68607073f5b2-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.0"]$
|
[loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:91c9e906-7f6c-52e8-a560-68607073f5b2-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.9"]$
|
||||||
}
|
}
|
||||||
|
|
||||||
element {
|
element {
|
||||||
@@ -1409,7 +1409,7 @@ element {
|
|||||||
description = Нова версія збірки: {"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}. Натисни, щоб відкрити сторінку завантаження.
|
description = Нова версія збірки: {"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}. Натисни, щоб відкрити сторінку завантаження.
|
||||||
[executable_action_instance:e3201eb9-9957-5172-961e-6a0a3efa8ea8-1791960000000][action_type:openlink] = https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/releases/latest
|
[executable_action_instance:e3201eb9-9957-5172-961e-6a0a3efa8ea8-1791960000000][action_type:openlink] = https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/releases/latest
|
||||||
[loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:8eb26843-5898-5897-a340-cffc49fb58a3-1791960000000] = ["mode":"starts-with","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v"]$
|
[loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:8eb26843-5898-5897-a340-cffc49fb58a3-1791960000000] = ["mode":"starts-with","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v"]$
|
||||||
[loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if_not][req_id:65d764d6-cd1d-5920-a629-9a2662a23dd7-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.0"]$
|
[loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if_not][req_id:65d764d6-cd1d-5920-a629-9a2662a23dd7-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.9"]$
|
||||||
}
|
}
|
||||||
|
|
||||||
vanilla_button {
|
vanilla_button {
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"path": ".analoglib/bin/yt-dlp.exe",
|
||||||
|
"note": "yt-dlp 2026.08.19 (Analog Audio streams links through it)",
|
||||||
|
"side": "client",
|
||||||
|
"hashes": {
|
||||||
|
"sha1": "dac56edc61cc7cab31741c937f5d9067bc2cb13a",
|
||||||
|
"sha512": "d742483ef2f1077f0ef25d4b2f64c7e1355a0c0f271a644d4a354f7b51fbde18d94c76539114beb2a383af6d84008dd93fee5d2388cb95c6a2dd460ad1160b21"
|
||||||
|
},
|
||||||
|
"fileSize": 17840399,
|
||||||
|
"downloads": [
|
||||||
|
"https://github.com/yt-dlp/yt-dlp/releases/download/2026.08.19/yt-dlp.exe",
|
||||||
|
"https://git.fulldroper.ks.ua/api/packages/Pinecraft-CreateRP/generic/yt-dlp/2026.08.19/yt-dlp.exe"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": ".analoglib/bin/ffmpeg.exe",
|
||||||
|
"note": "FFmpeg 9.0.2 essentials (gyan.dev), ffmpeg.exe from GyanD/codexffmpeg 9.0.2 — Analog Audio decodes with it",
|
||||||
|
"side": "client",
|
||||||
|
"hashes": {
|
||||||
|
"sha1": "bddf7d95aba465592eed95599eb599cc2a390fc2",
|
||||||
|
"sha512": "bff0945cb157e115bd806383b4c629989416129ef3806b03e8e198bea5a88b77e4745e6e269258d9ac897cf07c3ea886abc51111480c807ac52ffde006c6b526"
|
||||||
|
},
|
||||||
|
"fileSize": 105423872,
|
||||||
|
"downloads": [
|
||||||
|
"https://git.fulldroper.ks.ua/api/packages/Pinecraft-CreateRP/generic/ffmpeg/9.0.2/ffmpeg.exe"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
+15
-11
@@ -18,7 +18,7 @@ hash = "a9cb67725a75eb94c31a4c243c3855a11ffbd31ee104e855dc60f566ccf3730d"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/analogaudio/analogaudio.server.toml"
|
file = "config/analogaudio/analogaudio.server.toml"
|
||||||
hash = "349422faf46dcb0010690384cdd9db9cbd8f9f658638729b9c39d64772fa1203"
|
hash = "cb0ef4b25abc371d84590cab028854ba8e42ae4aa7cb3c8784df33062c00409a"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/antique-atlas.toml"
|
file = "config/antique-atlas.toml"
|
||||||
@@ -274,7 +274,7 @@ hash = "8f724d13d7009e1ab935db3c71094aea724faccc729ebd3e050d5a03eac93f8d"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/assets/version.png"
|
file = "config/fancymenu/assets/version.png"
|
||||||
hash = "8c69e361b8a0a28efba20e33932fa2b7736e8a112b6dde2f9b2c92d99e75ed52"
|
hash = "cfec08f6f3f2dcb0f6a923eb0bd6ce9825413c41633c3984c20ef211769c5008"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/custom_gui_screens.txt"
|
file = "config/fancymenu/custom_gui_screens.txt"
|
||||||
@@ -282,7 +282,7 @@ hash = "a5c3eddd7193bdd11f78f661a559c1cf6ca8fcc91741e5ff2e2b01c40d828e74"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/customizablemenus.txt"
|
file = "config/fancymenu/customizablemenus.txt"
|
||||||
hash = "5e073adab723b060b76b9a761d20898092106eaf1fc4f03d60791147599c4ac2"
|
hash = "7afa976a480347e10952217b4ac3030a2f4335c2506ecc83d56f2ca4c0eab3c1"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/customization/createrp_lists.txt"
|
file = "config/fancymenu/customization/createrp_lists.txt"
|
||||||
@@ -298,11 +298,11 @@ hash = "5f52065689a7d6e7c3eccac8430bd4749dce30e2ca8b2a9f1770006fb65f01ca"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/customization/createrp_screens.txt"
|
file = "config/fancymenu/customization/createrp_screens.txt"
|
||||||
hash = "bb4a273cee6f611915091f1dfc04db1eb1a772dd1ad4bdbc360020ad37340ad9"
|
hash = "dbeef22ff98f5f37b75f1d98599ee296137f82febfceaf86ce1b0e5a24c5c82a"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/customization/createrp_title.txt"
|
file = "config/fancymenu/customization/createrp_title.txt"
|
||||||
hash = "210ba85c4142593743469e365a36418a9caabd3f389c5e1a2c2ada8b05c717ca"
|
hash = "53e4025bce58b2344f0b923cf98144d6149d94d9ba9037f3ff4c4a95bb94ea1a"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "config/fancymenu/options.txt"
|
file = "config/fancymenu/options.txt"
|
||||||
@@ -834,7 +834,7 @@ hash = "7862a54fb0ab65a11ee4b4c66e7421bf60d3e7502df65b7c90868ea136126b54"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/assets/emi/textures/gui/buttons.png"
|
file = "kubejs/assets/emi/textures/gui/buttons.png"
|
||||||
hash = "c6f7c2720a0fa9b45191418d3ea7dbadd1af0fe3c62df57e908dd62b9f471bff"
|
hash = "9646c51a2910e5e8690004e4306d5f34f48bc521c6af489d4c22f9556ccc4d72"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/assets/emi/textures/gui/widgets.png"
|
file = "kubejs/assets/emi/textures/gui/widgets.png"
|
||||||
@@ -940,6 +940,10 @@ hash = "2a2cede9101a2d938c26bf47fbc5c2529e3c4620c3d9245740c2230a9eeef938"
|
|||||||
file = "kubejs/assets/openpartiesandclaims/lang/uk_ua.json"
|
file = "kubejs/assets/openpartiesandclaims/lang/uk_ua.json"
|
||||||
hash = "2a2cede9101a2d938c26bf47fbc5c2529e3c4620c3d9245740c2230a9eeef938"
|
hash = "2a2cede9101a2d938c26bf47fbc5c2529e3c4620c3d9245740c2230a9eeef938"
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "kubejs/client_scripts/createrp_factory.js"
|
||||||
|
hash = "58810fcc96fbcb72efaed5c2ecd8a1dd0cb39ff294f10f5266dece721227d439"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/client_scripts/createrp_plots.js"
|
file = "kubejs/client_scripts/createrp_plots.js"
|
||||||
hash = "aa11368f0f4db4883e8231f6c4a65095af2c38377c9cca362726f14524f3d0eb"
|
hash = "aa11368f0f4db4883e8231f6c4a65095af2c38377c9cca362726f14524f3d0eb"
|
||||||
@@ -950,11 +954,11 @@ hash = "9f862adad6c97ea4d1aba3f333a6f42bfc5fd921d2f960af365e293211492b39"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/client_scripts/createrp_survey.js"
|
file = "kubejs/client_scripts/createrp_survey.js"
|
||||||
hash = "5c170dc3cca31ab560eec9ca326116ee4f666ccd800a79a1c044c4b90f4f8288"
|
hash = "660410c9cc6213caedffb52e2fc91d9dec17ace2b81e4767cdd747d85c670195"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/startup_scripts/createrp_items.js"
|
file = "kubejs/startup_scripts/createrp_items.js"
|
||||||
hash = "049e902a9d12b5811f358d40a2a7e030968e34853cf83a957577cb4bc65d92ff"
|
hash = "1be02502b753d14eba4cd2d454e2199d1c24815b449e1b2c462377acf8bdd71f"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/3dskinlayers.pw.toml"
|
file = "mods/3dskinlayers.pw.toml"
|
||||||
@@ -968,7 +972,7 @@ metafile = true
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/analog-audio.pw.toml"
|
file = "mods/analog-audio.pw.toml"
|
||||||
hash = "7a002da9523d1fb204454508b25d7f9de93dbf752660034a61715d0b4614198d"
|
hash = "58115d643a48c36267b1a41771371eab5fc9dc744ad1b9f4f6fe3ffcd9c1d563"
|
||||||
metafile = true
|
metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
@@ -1152,8 +1156,8 @@ hash = "b6a535a801939a78f255203f7b28319773becca20cc88348f8764f4078816300"
|
|||||||
metafile = true
|
metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/createrp_client-0.3.2.jar"
|
file = "mods/createrp_client-0.3.6.jar"
|
||||||
hash = "ef71f7ac102abac53a85ca224921b8ac7072106203ec2c169cafb4d194de459e"
|
hash = "93cd6f38d66007bafc698e60893ba7769150b1adcae72b3e0c14d6afc5a645e2"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/cubes-without-borders.pw.toml"
|
file = "mods/cubes-without-borders.pw.toml"
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 9.0 KiB |
@@ -0,0 +1,42 @@
|
|||||||
|
// Create RP — «Планшет наладчика» (адміністрація): поки він у руці, зареєстровані точки поломок заводу
|
||||||
|
// підсвічені рамками в стилі Create. ПКМ по блоку — додати точку чи прибрати (це робить сервер, createrp_bridge).
|
||||||
|
// Кольори: звичайна точка — помаранчева, деталь (шестерня чи вал, що злітає) — блакитна, зламана зараз — червона.
|
||||||
|
// Дані приходять із сервера каналом createrp_factory. Rhino: без const/let усередині циклів і try — лише var.
|
||||||
|
|
||||||
|
const FtOutliner = Java.loadClass('net.createmod.catnip.outliner.Outliner')
|
||||||
|
const FtAABB = Java.loadClass('net.minecraft.world.phys.AABB')
|
||||||
|
|
||||||
|
const FT_ITEM = 'kubejs:factory_tool'
|
||||||
|
const FT_COLOR = { point: 0xFFA726, part: 0x4FC3F7, broken: 0xE53935 }
|
||||||
|
|
||||||
|
let ftPoints = [] // [x, y, z, kind]
|
||||||
|
let ftBroken = false
|
||||||
|
|
||||||
|
NetworkEvents.dataReceived('createrp_factory', event => {
|
||||||
|
var text = String(event.data.getString('points'))
|
||||||
|
var list = []
|
||||||
|
var rows = text.length ? text.split(';') : []
|
||||||
|
for (var i = 0; i < rows.length; i++) {
|
||||||
|
var f = rows[i].split(',')
|
||||||
|
list.push([Number(f[0]), Number(f[1]), Number(f[2]), f[3]])
|
||||||
|
}
|
||||||
|
ftPoints = list
|
||||||
|
})
|
||||||
|
|
||||||
|
function ftDraw () {
|
||||||
|
var player = Client.player
|
||||||
|
if (!player || String(player.mainHandItem.id) !== FT_ITEM) return
|
||||||
|
for (var i = 0; i < ftPoints.length; i++) {
|
||||||
|
var p = ftPoints[i]
|
||||||
|
FtOutliner.getInstance().showAABB('createrp_factory_' + p[0] + '_' + p[1] + '_' + p[2], new FtAABB(p[0] - 0.02, p[1] - 0.02, p[2] - 0.02, p[0] + 1.02, p[1] + 1.02, p[2] + 1.02))
|
||||||
|
.colored(FT_COLOR[p[3]] || 0xFFFFFF).lineWidth(1 / 16)
|
||||||
|
}
|
||||||
|
if (player.tickCount % 40 === 0) {
|
||||||
|
player.setStatusMessage(Text.of('§6Точок поруч: ' + ftPoints.length + '§7 · ПКМ по блоку — додати / прибрати'))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ClientEvents.tick(event => {
|
||||||
|
if (ftBroken) return
|
||||||
|
try { ftDraw() } catch (e) { ftBroken = true; console.error('[createrp] factory points outline switched off: ' + e) }
|
||||||
|
})
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
// Create RP — «Планшет землеміра»: реєстрація території так, як «Креслення і перо» у Create обводить споруду.
|
// Create RP — «Планшет землеміра»: реєстрація території так, як «Креслення і перо» у Create обводить споруду.
|
||||||
// ПКМ — перший кут (чанк під прицілом), ПКМ ще раз — другий кут, третій ПКМ — кнопки оформлення в чаті.
|
// ПКМ — перший кут (чанк під прицілом), ПКМ ще раз — другий кут: ціна в чаті, а дії — панеллю над хотбаром
|
||||||
|
// (createrp_client: Alt+коліщатко — вибір, ПКМ — виконати). Без createrp_client третій ПКМ дає кнопки в чаті.
|
||||||
// Shift+ПКМ — скинути. Поки обрано лише перший кут, рамка тягнеться за прицілом.
|
// Shift+ПКМ — скинути. Поки обрано лише перший кут, рамка тягнеться за прицілом.
|
||||||
// Рамку малює той самий Outliner, що й виділення Create. Територія — цілі чанки на всю висоту світу.
|
// Рамку малює той самий Outliner, що й виділення Create. Територія — цілі чанки на всю висоту світу.
|
||||||
// Rhino: без const/let усередині циклів і try — лише var.
|
// Rhino: без const/let усередині циклів і try — лише var.
|
||||||
@@ -54,7 +55,7 @@ ItemEvents.rightClicked(SV_ITEM, event => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
svB = c
|
svB = c
|
||||||
player.setStatusMessage(Text.green('Обрано ' + svCount(svA, svB) + ' чанк. Ціна — в чаті. ПКМ ще раз — оформити'))
|
player.setStatusMessage(Text.green('Обрано ' + svCount(svA, svB) + ' чанк. Ціна — в чаті, дії — внизу екрана'))
|
||||||
svSend('price')
|
svSend('price')
|
||||||
} else {
|
} else {
|
||||||
svSend('menu')
|
svSend('menu')
|
||||||
|
|||||||
@@ -16,6 +16,17 @@ StartupEvents.registry('item', event => {
|
|||||||
.texture('create:item/schematic_and_quill')
|
.texture('create:item/schematic_and_quill')
|
||||||
.maxStackSize(1)
|
.maxStackSize(1)
|
||||||
.tooltip('§7ПКМ по землі — кут території, ще раз — другий кут')
|
.tooltip('§7ПКМ по землі — кут території, ще раз — другий кут')
|
||||||
.tooltip('§7Третій ПКМ — оформити · Shift+ПКМ — скинути')
|
.tooltip('§7Далі — дії внизу екрана: §fAlt§7+коліщатко, §fПКМ§7 — виконати')
|
||||||
|
.tooltip('§7Shift+ПКМ — скинути')
|
||||||
.tooltip('§7У руці — видно межі ділянок поруч')
|
.tooltip('§7У руці — видно межі ділянок поруч')
|
||||||
|
|
||||||
|
// «Планшет наладчика» (адміністрація): ПКМ по блоку — точка поломки заводу або прибрати її; у руці — точки
|
||||||
|
// підсвічені (client_scripts/createrp_factory.js, сервер — createrp_bridge Factory.toolClick)
|
||||||
|
event.create('factory_tool')
|
||||||
|
.displayName('Планшет наладчика заводу')
|
||||||
|
.texture('create:item/clipboard_and_quill')
|
||||||
|
.maxStackSize(1)
|
||||||
|
.tooltip('§7Лише для адміністрації')
|
||||||
|
.tooltip('§7ПКМ по блоку заводу — точка поломки, ще раз — прибрати')
|
||||||
|
.tooltip('§7У руці — точки підсвічені: §6звичайна§7, §bдеталь§7, §cзламана')
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
name = "Analog Audio"
|
name = "Analog Audio"
|
||||||
filename = "Analog-Audio-0.1.0.jar"
|
filename = "Analog-Audio-0.1.5-hotfix.1.jar"
|
||||||
side = "both"
|
side = "both"
|
||||||
|
|
||||||
[download]
|
[download]
|
||||||
url = "https://cdn.modrinth.com/data/iMAVG2nH/versions/UlajPCS1/Analog-Audio-0.1.0.jar"
|
url = "https://cdn.modrinth.com/data/iMAVG2nH/versions/BshMjyFt/Analog-Audio-0.1.5-hotfix.1.jar"
|
||||||
hash-format = "sha512"
|
hash-format = "sha512"
|
||||||
hash = "e282c1b9887e61863f04ad6eab8d7e1a8fe0e51cdbe3978197f9b875ca567d247cae7506d9b7e7f3f47170eac5142331459a36b8f045ff8215433f0360dde496"
|
hash = "b53d0d09d0c6bb864b4ff5426599a029184583ebc8117d5c50fedbd54e949434970e8bf448ce492820f60adab2116effd1a46c7a082b82f53cf7dc3fbba6b909"
|
||||||
|
|
||||||
[update]
|
[update]
|
||||||
[update.modrinth]
|
[update.modrinth]
|
||||||
mod-id = "iMAVG2nH"
|
mod-id = "iMAVG2nH"
|
||||||
version = "UlajPCS1"
|
version = "BshMjyFt"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,12 +1,12 @@
|
|||||||
name = "Create RP"
|
name = "Create RP"
|
||||||
author = "Pinecraft-CreateRP"
|
author = "Pinecraft-CreateRP"
|
||||||
version = "0.16.0"
|
version = "0.16.9"
|
||||||
pack-format = "packwiz:1.1.0"
|
pack-format = "packwiz:1.1.0"
|
||||||
|
|
||||||
[index]
|
[index]
|
||||||
file = "index.toml"
|
file = "index.toml"
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
hash = "b975b9bebddea1ec71980b9b953128a91e3b5e78e1b571ea0a85ae7dcd11e4ef"
|
hash = "ff3f29f05948a9d4bdafffdf467f5e41b119daa5be2d2bbc600b8d484fc5de0c"
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
minecraft = "1.21.1"
|
minecraft = "1.21.1"
|
||||||
|
|||||||
+14
-1
@@ -1,6 +1,7 @@
|
|||||||
// Exports this packwiz pack as a Modrinth modpack (.mrpack) for Modrinth App / Prism "Import".
|
// Exports this packwiz pack as a Modrinth modpack (.mrpack) for Modrinth App / Prism "Import".
|
||||||
// node tools/export-mrpack.mjs → dist/CreateRP-<version>.mrpack
|
// node tools/export-mrpack.mjs → dist/CreateRP-<version>.mrpack
|
||||||
// Mods are referenced by their Modrinth CDN URL (sha1/sha512/size from the Modrinth API);
|
// Mods are referenced by their Modrinth CDN URL (sha1/sha512/size from the Modrinth API);
|
||||||
|
// external-files.json adds other downloaded files (Analog Audio's yt-dlp/FFmpeg in .analoglib/bin);
|
||||||
// config/ and kubejs/ go into overrides/. Zipping uses Windows' bsdtar (tar -a) or `zip` on Linux.
|
// config/ and kubejs/ go into overrides/. Zipping uses Windows' bsdtar (tar -a) or `zip` on Linux.
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
@@ -42,7 +43,19 @@ const files = metas.map(m => {
|
|||||||
downloads: [f.url],
|
downloads: [f.url],
|
||||||
fileSize: f.size
|
fileSize: f.size
|
||||||
};
|
};
|
||||||
}).sort((a, b) => a.path.localeCompare(b.path));
|
});
|
||||||
|
// files that are not mods but are downloaded the same way (Analog Audio's yt-dlp and FFmpeg): external-files.json
|
||||||
|
const externalFile = path.join(root, 'external-files.json');
|
||||||
|
if (fs.existsSync(externalFile)) {
|
||||||
|
for (const x of JSON.parse(fs.readFileSync(externalFile, 'utf8'))) files.push({
|
||||||
|
path: x.path,
|
||||||
|
hashes: x.hashes,
|
||||||
|
env: { client: x.side === 'server' ? 'unsupported' : 'required', server: x.side === 'client' ? 'unsupported' : 'required' },
|
||||||
|
downloads: x.downloads,
|
||||||
|
fileSize: x.fileSize
|
||||||
|
});
|
||||||
|
}
|
||||||
|
files.sort((a, b) => a.path.localeCompare(b.path));
|
||||||
|
|
||||||
const index = {
|
const index = {
|
||||||
formatVersion: 1,
|
formatVersion: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user