diff --git a/config/fancymenu/assets/version.png b/config/fancymenu/assets/version.png index 62ea235..fd4d48b 100644 Binary files a/config/fancymenu/assets/version.png and b/config/fancymenu/assets/version.png differ diff --git a/config/fancymenu/customization/createrp_title.txt b/config/fancymenu/customization/createrp_title.txt index d56f135..916d654 100644 --- a/config/fancymenu/customization/createrp_title.txt +++ b/config/fancymenu/customization/createrp_title.txt @@ -1326,7 +1326,7 @@ element { rounding_radius_top_right = 0.0 rounding_radius_bottom_right = 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.11"]$ + [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.12"]$ } 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"}}. Натисни, щоб відкрити сторінку завантаження. [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_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.11"]$ + [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.12"]$ } vanilla_button { diff --git a/index.toml b/index.toml index e620a99..8515b5f 100644 --- a/index.toml +++ b/index.toml @@ -274,7 +274,7 @@ hash = "8f724d13d7009e1ab935db3c71094aea724faccc729ebd3e050d5a03eac93f8d" [[files]] file = "config/fancymenu/assets/version.png" -hash = "224053fb98d218511f7c03089a9661b79edd8c58300dc8fc5876e542ac91f264" +hash = "b6295ec1965af0d66e5d1475ec210cef613dd527da16abdefb0251588e2cdb40" [[files]] file = "config/fancymenu/custom_gui_screens.txt" @@ -302,7 +302,7 @@ hash = "dbeef22ff98f5f37b75f1d98599ee296137f82febfceaf86ce1b0e5a24c5c82a" [[files]] file = "config/fancymenu/customization/createrp_title.txt" -hash = "750a6512b186368d2bdd01363f911fe2fc549182466632d4a3a3824f889dc167" +hash = "e47447b13caffa19d44d46d142d508be6012b476649b3123692d1307f83c36ac" [[files]] file = "config/fancymenu/options.txt" @@ -1548,3 +1548,15 @@ metafile = true file = "mods/yeetus-experimentus.pw.toml" hash = "5e25dccab496945a5f19bb82383e0ebf98452ffc14cd25c7e0259cc44312281a" metafile = true + +[[files]] +file = "schematics/createrp_house.nbt" +hash = "a7d6828cebbdb4536da09de6b96b581f8a06a85b3c400128eb5b8ac3f84717be" + +[[files]] +file = "schematics/createrp_station.nbt" +hash = "59b3f4697ef9b44ce7d2cfec094e0a1745d5da824ab2c73474df5b39c6b0d8ab" + +[[files]] +file = "schematics/createrp_workshop.nbt" +hash = "aee5b8f420efcfef25455634aeeee12e1883587783bcea4b175331c81e05f7d0" diff --git a/pack.toml b/pack.toml index 2885def..ac82df7 100644 --- a/pack.toml +++ b/pack.toml @@ -1,12 +1,12 @@ name = "Create RP" author = "Pinecraft-CreateRP" -version = "0.16.11" +version = "0.16.12" pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "1efa5c30d15b9a150d00d116a85e291a4aee9ecb24d777c289c9b5d0f1713923" +hash = "377cd1be9827dee5aeb5c5f1dcbb8855151cb1fef83470a5445a786d5179aa16" [versions] minecraft = "1.21.1" diff --git a/schematics/createrp_house.nbt b/schematics/createrp_house.nbt new file mode 100644 index 0000000..45b9dae Binary files /dev/null and b/schematics/createrp_house.nbt differ diff --git a/schematics/createrp_station.nbt b/schematics/createrp_station.nbt new file mode 100644 index 0000000..20537e6 Binary files /dev/null and b/schematics/createrp_station.nbt differ diff --git a/schematics/createrp_workshop.nbt b/schematics/createrp_workshop.nbt new file mode 100644 index 0000000..e218de9 Binary files /dev/null and b/schematics/createrp_workshop.nbt differ diff --git a/tools/export-mrpack.mjs b/tools/export-mrpack.mjs index cc8c8bc..466aa24 100644 --- a/tools/export-mrpack.mjs +++ b/tools/export-mrpack.mjs @@ -73,6 +73,8 @@ fs.rmSync(stage, { recursive: true, force: true }); fs.mkdirSync(path.join(stage, 'overrides'), { recursive: true }); fs.writeFileSync(path.join(stage, 'modrinth.index.json'), JSON.stringify(index, null, 2)); fs.cpSync(path.join(root, 'config'), path.join(stage, 'overrides', 'config'), { recursive: true }); +// schematics/: the state's standard projects — Create draws a project's hologram from here (projects in the shop) +if (fs.existsSync(path.join(root, 'schematics'))) fs.cpSync(path.join(root, 'schematics'), path.join(stage, 'overrides', 'schematics'), { recursive: true }); // kubejs/assets: always-on client resources (CC terminal font with Cyrillic) if (fs.existsSync(path.join(root, 'kubejs'))) fs.cpSync(path.join(root, 'kubejs'), path.join(stage, 'overrides', 'kubejs'), { recursive: true }); // jars that live in the pack itself (our createrp_client mod) are not on Modrinth: they go in as overrides diff --git a/tools/reindex.mjs b/tools/reindex.mjs index b5416de..709dc2e 100644 --- a/tools/reindex.mjs +++ b/tools/reindex.mjs @@ -7,7 +7,7 @@ import crypto from 'crypto'; import { fileURLToPath } from 'url'; const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..'); -const INDEXED_DIRS = ['mods', 'config', 'defaultconfigs', 'kubejs']; +const INDEXED_DIRS = ['mods', 'config', 'defaultconfigs', 'kubejs', 'schematics']; const sha256 = buf => crypto.createHash('sha256').update(buf).digest('hex'); // Hash what git will check out (LF), not what a Windows working copy may hold (CRLF). const lf = buf => (buf.includes(0) ? buf : Buffer.from(buf.toString('utf8').replace(/\r\n/g, '\n'), 'utf8'));