Compare commits

...
34 Commits
Author SHA1 Message Date
FulldroperandClaude Opus 5.5 aabf3f98cd 0.13.4: Sodium Options API removed (nothing uses it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 13:34:38 +03:00
FulldroperandClaude Opus 5.5 8c5846c5f4 0.13.3: tutorial — road builders are paid on acceptance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:49:27 +03:00
FulldroperandClaude Opus 5.5 9dcefdadd9 Fix the tutorial script: the previous commit had an unescaped apostrophe and did not parse
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:33:54 +03:00
FulldroperandClaude Opus 5.5 c10b6bf174 Tutorial: officials answer in the conversation itself, not in chat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:33:36 +03:00
FulldroperandClaude Opus 5.5 ac8683945d 0.13.2: quiet join chat, state land not flashed on entering
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 10:02:20 +03:00
FulldroperandClaude Opus 5.5 8a98e9a8d6 Quiet join chat: no CustomNPCs update notice, no Distant Horizons garbage collector warning
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 10:00:08 +03:00
FulldroperandClaude Opus 5.5 689c04bbd5 Plot borders: state land is not flashed on entering; an unbuilt road is shown only to road builders and operators
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:55:55 +03:00
FulldroperandClaude Opus 5.5 8dc71e8934 0.13.1: border colours — reserved red, road orange / blue when built; entering a plot detected by numbers, not string keys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:34:32 +03:00
FulldroperandClaude Opus 5.5 8ff1748271 0.13.0: surveyor's tablet — outline land like Schematic and Quill; tutorial lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:16:04 +03:00
FulldroperandClaude Opus 5.5 3306c38450 0.12.6: tutorial — the new land rules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:54:01 +03:00
FulldroperandClaude Opus 5.5 bd0c405e26 Plot borders: walls get real thickness and the CHECKERED face (faces of a flat box were not drawn)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:20:05 +03:00
FulldroperandClaude Opus 5.5 9102e0a1fb 0.12.5: plot borders are full-height walls with a checkered face, fixed in place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:15:06 +03:00
FulldroperandClaude Opus 5.5 98e61093df 0.12.4: Essential removed; plot outline script no longer clashes with KubeJS's own AABB binding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:09:59 +03:00
FulldroperandClaude Opus 5.5 2e55380f25 0.12.3: plot borders as Create outlines (guide in hand, or on entering a plot); tutorial lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 07:57:04 +03:00
FulldroperandClaude Opus 5.5 800ff3be9b 0.12.2: tutorial — notice boards, Cyrillic input, energy tenders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:22:23 +03:00
FulldroperandClaude Opus 5.5 76b9fb8648 Carry On: the computercraft ban belongs to forbiddenTiles, not forbiddenEntities
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:09:58 +03:00
FulldroperandClaude Opus 5.5 a0d043fb66 Carry On: forbid computercraft blocks (picking up a CC monitor crashed the server)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:08:02 +03:00
FulldroperandClaude Opus 5.5 f7793aea81 0.12.1: tutorial scene about aether and magic; rrls keeps the first loading screen (quick play joined before mods registered their channels)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 13:03:29 +03:00
FulldroperandClaude Opus 5.5 14eaad8309 0.12.0: team-proposed mods — Central Kitchen, Create Connected, Stuff 'N Additions (+Sable compat), GeckoLib, Ars Nouveau, CreateBetterFps; Sodium Dynamic Lights removed (clashes with Ars Nouveau)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 11:03:59 +03:00
FulldroperandClaude Opus 5.5 d2d5f77990 0.11.0: remove DAP ur Homies and Player Animation Library; tutorial: energy scene works in Rhino
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:53:05 +03:00
FulldroperandClaude Opus 5.5 a8d0f7de24 0.10.0: Easy NPC removed (NPCs run on Custom NPCs); tutorial scene about officials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:23:09 +03:00
FulldroperandClaude Opus 5.5 836428ddda 0.9.0: CustomNPCs-Unofficial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 07:10:44 +03:00
FulldroperandClaude Opus 5.5 4a0e2884b6 Reindex after x+-autofish removal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:54:56 +03:00
FulldroperandClaude Opus 5.5 71406c6df6 0.8.0: tutorial — miner and factory operator scenes, auctions, drills need a concession
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:54:54 +03:00
full_droper f5f8fcc367 Видалити mods/x+-autofish.pw.toml 2026-10-03 14:46:25 +01:00
FulldroperandClaude Opus 5.5 d1a9b9d1f6 0.7.0: tutorial — courier and road builder scenes, energy scene fixed (world is a property in KubeJS), credits.txt lowercase
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 07:15:28 +03:00
FulldroperandClaude Opus 5.5 42ee586e63 0.6.2: readable tutorial texts, clearer energy scene
- one short sentence per step like Create (no more paragraphs); literal _underscores_ removed —
  PonderJS shows them as is
- energy scene tells the substation story: state machines need power, meter at the input,
  your generator connects, coins every minute, no power — no pay

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 06:53:48 +03:00
FulldroperandClaude Opus 5.5 3baf5e8493 0.6.1: tutorial on real chain networks, energy scene
- selling and buying scenes use Create's own frogport schematic and move an addressed package along
  the chains with the same calls as Create's scenes (guarded: without the classes they still show the network)
- new scene: selling energy to the state through a metered stressometer (also on create:stressometer)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 06:44:46 +03:00
FulldroperandClaude Opus 5.5 eef8225cfd 0.6.0: in-game tutorial in Create's Ponder style
- Ponder for KubeJS 2.4.0 (client) + client_scripts/createrp_ponder.js: six scenes (terminal, selling,
  buying, money and bank, land and ore, jobs) on «Довідник громадянина», frogport and CC computers,
  plus a «Держава Create RP» tag in the Ponder index
- startup_scripts/createrp_items.js registers kubejs:citizen_guide (identical in the server pack)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 06:32:31 +03:00
FulldroperandClaude Opus 5.5 80693085e1 0.5.0: Cyrillic CC terminal font (CCCyrillic, MIT) via kubejs/assets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 02:59:49 +03:00
FulldroperandClaude Opus 5.5 7e109471a2 0.4.0: Easy NPC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 01:13:26 +03:00
Full_droperandClaude Opus 5.5 c1fea71237 Easy NPC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 00:51:19 +03:00
Full_droperandClaude Opus 5.5 adea640a78 0.3.0: Open Parties and Claims
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 22:57:57 +03:00
Full_droperandClaude Opus 5.5 0db88ac9fe 0.2.0: KubeJS (+Rhino, Better Advanced Tooltips); tools/add-mod.mjs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 21:06:03 +03:00
35 changed files with 1236 additions and 116 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# Create RP — клієнт # Create RP — клієнт
Клієнтська збірка для сервера **Create RP** (`create.fulldroper.ks.ua`): Minecraft **1.21.1**, NeoForge **21.1.228**, 105 модів. Клієнтська збірка для сервера **Create RP** (`create.fulldroper.ks.ua`): Minecraft **1.21.1**, NeoForge **21.1.228**, 113 модів.
## Встановлення ## Встановлення
@@ -22,5 +22,5 @@ Modrinth App → «+» → «Import from file». Збірка сама підт
- `mods/*.pw.toml` — посилання на Modrinth з sha512 (jar у репозиторії немає). - `mods/*.pw.toml` — посилання на Modrinth з sha512 (jar у репозиторії немає).
- `config/` — конфіги модів. - `config/` — конфіги модів.
- Клієнтські моди (Sodium, Iris, Distant Horizons, Essential та ін.) працюють лише у гравця; - Клієнтські моди (Sodium, Iris, Distant Horizons та ін.) працюють лише у гравця;
обов'язкові на обох боках (Create, Aeronautics, Sable, Hex Casting …) мають збігатися з сервером. обов'язкові на обох боках (Create, Aeronautics, Sable, Hex Casting …) мають збігатися з сервером.
+63
View File
@@ -0,0 +1,63 @@
#Whether scripting is enabled or not
EnableScripting=true
#Arguments given to the Nashorn scripting library
NashorArguments=-strict
#Disable Chat Bubbles
EnableChatBubbles=true
#Navigation search range for NPCs. Not recommended to increase if you have a slow pc or on a server
NpcNavRange=32
#Limit too how many npcs can be in one chunk for natural spawning
NpcNaturalSpawningChunkLimit=4
#Set to true if you want the dialog command option to be able to use op commands like tp etc
NpcUseOpCommands=false
#If set to true only opped people can use the /noppes command
NoppesCommandOpOnly=false
InventoryGuiEnabled=true
SceneButtonsEnabled=true
#Enables CustomNpcs startup update message
EnableUpdateChecker=false
#Default interact line. Leave empty to not have one
DefaultInteractLine=Hello @p
#Number of chunk loading npcs that can be active at the same time
ChuckLoaders=20
#Enables leaves decay
LeavesDecayEnabled=true
#Enables Vine Growth
VineGrowthEnabled=true
#Enables Ice Melting
IceMeltsEnabled=true
#Normal players can use soulstone on animals
SoulStoneAnimals=true
#Normal players can use soulstone on all npcs
SoulStoneNPCs=false
#Type 0 = Normal, Type 1 = Solid
HeadWearType=1
#When set to Minecraft it will use minecrafts font, when Default it will use OpenSans. Can only use fonts installed on your PC
FontType=Default
#Font size for custom fonts (doesn't work with minecrafts font)
FontSize=18
#On some servers or with certain plugins, it doesnt work, so you can disable it here
EnableInvisibleNpcs=true
NpcSpeachTriggersChatEvent=false
+1 -1
View File
@@ -206,7 +206,7 @@ _version = 4
# If enabled, a chat message will be displayed if the garbage # If enabled, a chat message will be displayed if the garbage
# collector Java is currently using is known # collector Java is currently using is known
# to cause frame stuttering and/or other issues. # to cause frame stuttering and/or other issues.
showGarbageCollectorWarning = true showGarbageCollectorWarning = false
[common.worldGenerator] [common.worldGenerator]
# #
+2 -2
View File
@@ -71,9 +71,9 @@
[blacklist] [blacklist]
#Blacklist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config #Blacklist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config
#Blocks that cannot be picked up #Blocks that cannot be picked up
forbiddenTiles = ["#forge:immovable", "#forge:relocation_not_supported", "#neoforge:immovable", "#neoforge:relocation_not_supported", "minecraft:end_portal", "minecraft:piston_head", "#c:relocation_not_supported", "minecraft:end_gateway", "minecraft:tall_grass", "minecraft:large_fern", "minecraft:peony", "minecraft:rose_bush", "minecraft:lilac", "minecraft:sunflower", "minecraft:*_bed", "minecraft:*_door", "minecraft:big_dripleaf_stem", "minecraft:waterlily", "minecraft:cake", "minecraft:nether_portal", "minecraft:tall_seagrass", "animania:block_trough", "animania:block_invisiblock", "colossalchests:*", "ic2:*", "bigreactors:*", "forestry:*", "tconstruct:*", "rustic:*", "botania:*", "astralsorcery:*", "quark:colored_bed_*", "immersiveengineering:*", "embers:block_furnace", "embers:ember_bore", "embers:ember_activator", "embers:mixer", "embers:heat_coil", "embers:large_tank", "embers:crystal_cell", "embers:alchemy_pedestal", "embers:boiler", "embers:combustor", "embers:catalzyer", "embers:field_chart", "embers:inferno_forge", "storagedrawers:framingtable", "skyresources:*", "lootbags:*", "exsartagine:*", "aquamunda:tank", "opencomputers:*", "malisisdoors:*", "industrialforegoing:*", "minecolonies:*", "thaumcraft:pillar*", "thaumcraft:infernal_furnace", "thaumcraft:placeholder*", "thaumcraft:infusion_matrix", "thaumcraft:golem_builder", "thaumcraft:thaumatorium*", "magneticraft:oil_heater", "magneticraft:solar_panel", "magneticraft:steam_engine", "magneticraft:shelving_unit", "magneticraft:grinder", "magneticraft:sieve", "magneticraft:solar_tower", "magneticraft:solar_mirror", "magneticraft:container", "magneticraft:pumpjack", "magneticraft:solar_panel", "magneticraft:refinery", "magneticraft:oil_heater", "magneticraft:hydraulic_press", "magneticraft:multiblock_gap", "refinedstorage:*", "mcmultipart:*", "enderstorage:*", "betterstorage:*", "practicallogistics2:*", "wearablebackpacks:*", "rftools:screen", "rftools:creative_screen", "create:*", "magic_doorknob:*", "iceandfire:*", "ftbquests:*", "waystones:*", "contact:*", "framedblocks:*", "securitycraft:*", "forgemultipartcbe:*", "integrateddynamics:cable", "mekanismgenerators:wind_generator", "cookingforblockheads:cabinet", "cookingforblockheads:corner", "cookingforblockheads:counter", "cookingforblockheads:oven", "cookingforblockheads:toaster", "cookingforblockheads:milk_jar", "cookingforblockheads:cow_jar", "cookingforblockheads:fruit_basket", "cookingforblockheads:cooking_table", "cookingforblockheads:fridge", "cookingforblockheads:sink", "chipped:*", "irons_spellbooks:*", "create*:*", "simple_pipes:*", "libmultipart:*", "quark:tiny_potato", "ait:*", "vampirism:*", "extrastorage:*", "relics:researching_table", "sophisticatedstorage:*chest", "powah:*", "advancementtrophies:trophy", "mekanismgenerators:heat_generator", "mna:filler_block", "create_enchantment_industry:*", "graveyard:*", "immersivepetroleum:*", "tardis:interior_door", "cuffed:*", "littletiles:*", "butchersdelight:*", "irons_spellbooks:*", "extended_drawers:*", "functionalstorage:*", "sophisticatedstorage:*", "farmersdelight:*", "modern_industrialization:*_cable", "modern_industrialization:item_pipe", "modern_industrialization:*_item_pipe", "modern_industrialization:fluid_pipe", "modern_industrialization:*_fluid_pipe", "snowrealmagic:*"] forbiddenTiles = ["computercraft:*", "#forge:immovable", "#forge:relocation_not_supported", "#neoforge:immovable", "#neoforge:relocation_not_supported", "minecraft:end_portal", "minecraft:piston_head", "#c:relocation_not_supported", "minecraft:end_gateway", "minecraft:tall_grass", "minecraft:large_fern", "minecraft:peony", "minecraft:rose_bush", "minecraft:lilac", "minecraft:sunflower", "minecraft:*_bed", "minecraft:*_door", "minecraft:big_dripleaf_stem", "minecraft:waterlily", "minecraft:cake", "minecraft:nether_portal", "minecraft:tall_seagrass", "animania:block_trough", "animania:block_invisiblock", "colossalchests:*", "ic2:*", "bigreactors:*", "forestry:*", "tconstruct:*", "rustic:*", "botania:*", "astralsorcery:*", "quark:colored_bed_*", "immersiveengineering:*", "embers:block_furnace", "embers:ember_bore", "embers:ember_activator", "embers:mixer", "embers:heat_coil", "embers:large_tank", "embers:crystal_cell", "embers:alchemy_pedestal", "embers:boiler", "embers:combustor", "embers:catalzyer", "embers:field_chart", "embers:inferno_forge", "storagedrawers:framingtable", "skyresources:*", "lootbags:*", "exsartagine:*", "aquamunda:tank", "opencomputers:*", "malisisdoors:*", "industrialforegoing:*", "minecolonies:*", "thaumcraft:pillar*", "thaumcraft:infernal_furnace", "thaumcraft:placeholder*", "thaumcraft:infusion_matrix", "thaumcraft:golem_builder", "thaumcraft:thaumatorium*", "magneticraft:oil_heater", "magneticraft:solar_panel", "magneticraft:steam_engine", "magneticraft:shelving_unit", "magneticraft:grinder", "magneticraft:sieve", "magneticraft:solar_tower", "magneticraft:solar_mirror", "magneticraft:container", "magneticraft:pumpjack", "magneticraft:solar_panel", "magneticraft:refinery", "magneticraft:oil_heater", "magneticraft:hydraulic_press", "magneticraft:multiblock_gap", "refinedstorage:*", "mcmultipart:*", "enderstorage:*", "betterstorage:*", "practicallogistics2:*", "wearablebackpacks:*", "rftools:screen", "rftools:creative_screen", "create:*", "magic_doorknob:*", "iceandfire:*", "ftbquests:*", "waystones:*", "contact:*", "framedblocks:*", "securitycraft:*", "forgemultipartcbe:*", "integrateddynamics:cable", "mekanismgenerators:wind_generator", "cookingforblockheads:cabinet", "cookingforblockheads:corner", "cookingforblockheads:counter", "cookingforblockheads:oven", "cookingforblockheads:toaster", "cookingforblockheads:milk_jar", "cookingforblockheads:cow_jar", "cookingforblockheads:fruit_basket", "cookingforblockheads:cooking_table", "cookingforblockheads:fridge", "cookingforblockheads:sink", "chipped:*", "irons_spellbooks:*", "create*:*", "simple_pipes:*", "libmultipart:*", "quark:tiny_potato", "ait:*", "vampirism:*", "extrastorage:*", "relics:researching_table", "sophisticatedstorage:*chest", "powah:*", "advancementtrophies:trophy", "mekanismgenerators:heat_generator", "mna:filler_block", "create_enchantment_industry:*", "graveyard:*", "immersivepetroleum:*", "tardis:interior_door", "cuffed:*", "littletiles:*", "butchersdelight:*", "irons_spellbooks:*", "extended_drawers:*", "functionalstorage:*", "sophisticatedstorage:*", "farmersdelight:*", "modern_industrialization:*_cable", "modern_industrialization:item_pipe", "modern_industrialization:*_item_pipe", "modern_industrialization:fluid_pipe", "modern_industrialization:*_fluid_pipe", "snowrealmagic:*"]
#Entities that cannot be picked up #Entities that cannot be picked up
forbiddenEntities = ["#c:capturing_not_supported", "#c:teleporting_not_supported", "minecraft:end_crystal", "minecraft:ender_dragon", "minecraft:ghast", "minecraft:fireball", "minecraft:small_fireball", "minecraft:whither_skull", "minecraft:shulker", "minecraft:leash_knot", "minecraft:armor_stand", "minecraft:whither_skull_dangerous", "minecraft:dragon_fireball", "minecraft:item_frame", "minecraft:painting", "minecraft:shulker_bullet", "minecraft:evoker_fangs", "minecraft:glow_item_frame", "minecraft:tnt", "minecraft:trident", "minecraft:arrow", "minecraft:spectral_arrow", "minecraft:interaction", "minecraft:marker", "minecraft:block_display", "minecraft:item_display", "minecraft:text_display", "animania:hamster", "animania:ferret*", "animania:hedgehog*", "animania:cart", "animania:wagon", "mynko:*", "pixelmon:*", "mocreatures:*", "quark:totem", "vehicle:*", "securitycraft:*", "taterzens:npc", "easy_npc:*", "bodiesbodies:dead_body", "littletiles:*"] forbiddenEntities = ["#c:capturing_not_supported", "#c:teleporting_not_supported", "minecraft:end_crystal", "minecraft:ender_dragon", "minecraft:ghast", "minecraft:fireball", "minecraft:small_fireball", "minecraft:whither_skull", "minecraft:shulker", "minecraft:leash_knot", "minecraft:armor_stand", "minecraft:whither_skull_dangerous", "minecraft:dragon_fireball", "minecraft:item_frame", "minecraft:painting", "minecraft:shulker_bullet", "minecraft:evoker_fangs", "minecraft:glow_item_frame", "minecraft:tnt", "minecraft:trident", "minecraft:arrow", "minecraft:spectral_arrow", "minecraft:interaction", "minecraft:marker", "minecraft:block_display", "minecraft:item_display", "minecraft:text_display", "animania:hamster", "animania:ferret*", "animania:hedgehog*", "animania:cart", "animania:wagon", "mynko:*", "pixelmon:*", "mocreatures:*", "quark:totem", "vehicle:*", "securitycraft:*", "taterzens:npc", "easy_npc:*", "customnpcs:*", "bodiesbodies:dead_body", "littletiles:*"]
#Entities that cannot have other entities stacked on top of them #Entities that cannot have other entities stacked on top of them
forbiddenStacking = ["minecraft:horse"] forbiddenStacking = ["minecraft:horse"]
+1 -1
View File
@@ -1,5 +1,5 @@
#Allowed Values: ALL, LOADING, RELOADING, NONE #Allowed Values: ALL, LOADING, RELOADING, NONE
hideOverlays = "ALL" hideOverlays = "RELOADING"
#text.autoconfig.rrls.option.rgbProgress.@Tooltip #text.autoconfig.rrls.option.rgbProgress.@Tooltip
rgbProgress = false rgbProgress = false
#text.autoconfig.rrls.option.blockOverlay.@Tooltip #text.autoconfig.rrls.option.blockOverlay.@Tooltip
+97 -29
View File
@@ -50,7 +50,7 @@ hash = "c3cbcb17ade590daf230373d51457732bc8d9dd1039f7947b6bf564e38df1d9c"
[[files]] [[files]]
file = "config/carryon-common.toml" file = "config/carryon-common.toml"
hash = "64b3a9808f98d547bfc461f41e159cab6ef3c7525a98479e06adcbf65b027997" hash = "384a91e883212a633d39c8e7b91499298541c151aabe597bd3595a821d65f692"
[[files]] [[files]]
file = "config/chat_heads.json5" file = "config/chat_heads.json5"
@@ -172,13 +172,17 @@ hash = "059e6ce496843881834b3945373bbdf7e022c64f2e900f845603db3de16a9ea7"
file = "config/curios-server.toml" file = "config/curios-server.toml"
hash = "3c34cf9f7918c6a9ec15b14a87aa4570a751c1688f8ac01cb2e9acfb9392a734" hash = "3c34cf9f7918c6a9ec15b14a87aa4570a751c1688f8ac01cb2e9acfb9392a734"
[[files]]
file = "config/CustomNpcs.cfg"
hash = "2727c506472169739fc547b275d1dd484e8b11a20db01c6f08f973594aeae956"
[[files]] [[files]]
file = "config/cutthrough-client.toml" file = "config/cutthrough-client.toml"
hash = "16bc1f998738810cae793b1dc272122dde8b246bffa408f227357803e16ba692" hash = "16bc1f998738810cae793b1dc272122dde8b246bffa408f227357803e16ba692"
[[files]] [[files]]
file = "config/DistantHorizons.toml" file = "config/DistantHorizons.toml"
hash = "5595378793a6c500e675dfd74e03de88b7e5c36bae78f3fc78880a951af5458e" hash = "9bb187e00a7f21f06d2cca2451831dd3d62fe8aa02b5531cf7c6ed044e040d0c"
[[files]] [[files]]
file = "config/dynamic_fps.json" file = "config/dynamic_fps.json"
@@ -566,7 +570,7 @@ hash = "57fe579bf4cdbcab6c6702dc0dad2727b899f07f28fea686bca1e4b25b20bbfb"
[[files]] [[files]]
file = "config/rrls.toml" file = "config/rrls.toml"
hash = "88d9f88c8e370f113122770512c67e704a16c4ceed4f70755495c9ce5072cc92" hash = "f097471ad7fd4d3adccdc4d6f935b0cdcac68c0cbdec6ea3d752d307ec66d867"
[[files]] [[files]]
file = "config/sable-client.toml" file = "config/sable-client.toml"
@@ -804,6 +808,30 @@ hash = "d438aea41ca41e93697e059f523686935c0add482f6abe96b532bbf10c6ed80a"
file = "config/yacl.json5" file = "config/yacl.json5"
hash = "121b93764159be6fb7dab523b29a844e2bb78400ce8c48f52135a097e9b0006e" hash = "121b93764159be6fb7dab523b29a844e2bb78400ce8c48f52135a097e9b0006e"
[[files]]
file = "kubejs/assets/computercraft/textures/gui/credits.txt"
hash = "19b844245d03fcdd488a7a791e287447191a74acd0f14995209339d768c5e6ce"
[[files]]
file = "kubejs/assets/computercraft/textures/gui/term_font.png"
hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f"
[[files]]
file = "kubejs/client_scripts/createrp_plots.js"
hash = "2a4686d252bd289fd99bde461bdfe3e2215cf35640f36e0610737730016ca2a0"
[[files]]
file = "kubejs/client_scripts/createrp_ponder.js"
hash = "00aa4354ec8457245260ba25a2dba4b2605d1df108d7c2dbbbccf6c0449e382d"
[[files]]
file = "kubejs/client_scripts/createrp_survey.js"
hash = "5c170dc3cca31ab560eec9ca326116ee4f666ccd800a79a1c044c4b90f4f8288"
[[files]]
file = "kubejs/startup_scripts/createrp_items.js"
hash = "05f1daa03e00a7429c51a7d8239c8fde894f7faff64cbb6ca978956ca1810497"
[[files]] [[files]]
file = "mods/3dskinlayers.pw.toml" file = "mods/3dskinlayers.pw.toml"
hash = "82becc6910845ae1a68884e6f7a3dcdc861d79a087ae81b1d7e120e82884372d" hash = "82becc6910845ae1a68884e6f7a3dcdc861d79a087ae81b1d7e120e82884372d"
@@ -834,6 +862,11 @@ file = "mods/architectury-api.pw.toml"
hash = "ea336d25c3e21ef168aec20e1ea470c96949ad29632646ee8e8ab0d74b4bbfc9" hash = "ea336d25c3e21ef168aec20e1ea470c96949ad29632646ee8e8ab0d74b4bbfc9"
metafile = true metafile = true
[[files]]
file = "mods/ars-nouveau.pw.toml"
hash = "9645a2d42361e38b0747c43f5e82a7f74cd4f06940cad02d6591e7c81835f733"
metafile = true
[[files]] [[files]]
file = "mods/autoreconnectrf.pw.toml" file = "mods/autoreconnectrf.pw.toml"
hash = "627eab28e2c7985ac1484eb597d84492103eeeb0f481fd3f480078e4923ab9c9" hash = "627eab28e2c7985ac1484eb597d84492103eeeb0f481fd3f480078e4923ab9c9"
@@ -849,6 +882,11 @@ file = "mods/balm.pw.toml"
hash = "392901b7f79963442553456af846d06f48b4057a054a928adb8a76eea13c6383" hash = "392901b7f79963442553456af846d06f48b4057a054a928adb8a76eea13c6383"
metafile = true metafile = true
[[files]]
file = "mods/better-advanced-tooltips.pw.toml"
hash = "03084ff4f74cedc1b8ac6c85a98842f75956fb4fa811d285d8ca7caa8d54da5d"
metafile = true
[[files]] [[files]]
file = "mods/better-ping-display.pw.toml" file = "mods/better-ping-display.pw.toml"
hash = "cc2e6dda94a7a6f5487843cafe569d8044bf9482cbf03f062cf4595f1fb05281" hash = "cc2e6dda94a7a6f5487843cafe569d8044bf9482cbf03f062cf4595f1fb05281"
@@ -924,6 +962,11 @@ file = "mods/coroutil.pw.toml"
hash = "d901f874a1e09747b8d0d072c38c426eceead1f29c8ba36680f8f0082996b152" hash = "d901f874a1e09747b8d0d072c38c426eceead1f29c8ba36680f8f0082996b152"
metafile = true metafile = true
[[files]]
file = "mods/create-aeronautics-and-connected-fluid-vessel-compatability.pw.toml"
hash = "1b8faf01f728f9057496f0dbec4222b8d174854caaf67a5c03ce5e75f8964e20"
metafile = true
[[files]] [[files]]
file = "mods/create-aeronautics.pw.toml" file = "mods/create-aeronautics.pw.toml"
hash = "6ea6284b569b13f45bfe44f9790389de4a2f7cda92c8b3bb94511b600d64c486" hash = "6ea6284b569b13f45bfe44f9790389de4a2f7cda92c8b3bb94511b600d64c486"
@@ -934,6 +977,16 @@ file = "mods/create-avionics.pw.toml"
hash = "8cccda3a227b1a929d391f33fa33ec15582db2b6164a3e36bf89ce756f5c08fd" hash = "8cccda3a227b1a929d391f33fa33ec15582db2b6164a3e36bf89ce756f5c08fd"
metafile = true metafile = true
[[files]]
file = "mods/create-central-kitchen.pw.toml"
hash = "c8b2e60b789885854508c674ba0630cdc8dc2a880302d8475cdc5ae06c44f64a"
metafile = true
[[files]]
file = "mods/create-connected.pw.toml"
hash = "6ac362d60bc8b13e03a5b6b9cdf9c7676f65d3e89e87c66f18514e7ee164cdb0"
metafile = true
[[files]] [[files]]
file = "mods/create-dragons-plus.pw.toml" file = "mods/create-dragons-plus.pw.toml"
hash = "2ba3112a833d6e23aae1e0a38a7a324f89efb8a532ea101f355dc38490840b3b" hash = "2ba3112a833d6e23aae1e0a38a7a324f89efb8a532ea101f355dc38490840b3b"
@@ -949,11 +1002,26 @@ file = "mods/create-power-loader.pw.toml"
hash = "703c2d475167e08d77254c8944e2971899603cce61e4c87f870095386c725c74" hash = "703c2d475167e08d77254c8944e2971899603cce61e4c87f870095386c725c74"
metafile = true metafile = true
[[files]]
file = "mods/create-stuff-additions.pw.toml"
hash = "2244c6c580c41f432e02bc82a6f78af0b1777de42400d1e5b702208376c56c6f"
metafile = true
[[files]]
file = "mods/create-stuff-n-additions-x-sable-aeronautics-compat.pw.toml"
hash = "3124ff7b0beddb44ec981a35a149ced3e6a29f84b72a01a1d088932d61bdbdbb"
metafile = true
[[files]] [[files]]
file = "mods/create.pw.toml" file = "mods/create.pw.toml"
hash = "dcaf5f2e28db0b9a127d0167456832341045ddc9aec058c3d9fcf53f618d2404" hash = "dcaf5f2e28db0b9a127d0167456832341045ddc9aec058c3d9fcf53f618d2404"
metafile = true metafile = true
[[files]]
file = "mods/createbetterfps.pw.toml"
hash = "b6a535a801939a78f255203f7b28319773becca20cc88348f8764f4078816300"
metafile = true
[[files]] [[files]]
file = "mods/cubes-without-borders.pw.toml" file = "mods/cubes-without-borders.pw.toml"
hash = "8e5f6550359e71ecbea95705ec61fb03313550e6f481cabf48043929909aabae" hash = "8e5f6550359e71ecbea95705ec61fb03313550e6f481cabf48043929909aabae"
@@ -965,8 +1033,8 @@ hash = "36debf7653e95a855b4fedacc19027cf2e01960fc0b6d55ef2ffbffbcb455690"
metafile = true metafile = true
[[files]] [[files]]
file = "mods/dap-ur-homies.pw.toml" file = "mods/customnpcs-unofficial.pw.toml"
hash = "c82096b443ddc691eda44822604791653771b7c7da12eaac14fd9ba6bf96d647" hash = "ea6b6845387f8d990e607eaa98d027734f7d1a8823434ef901f81a5736d60aa9"
metafile = true metafile = true
[[files]] [[files]]
@@ -1014,11 +1082,6 @@ file = "mods/entityculling.pw.toml"
hash = "590437e0f344c87791842b791a400e95ffd4154f02a04c2d8d78b43a76c659ad" hash = "590437e0f344c87791842b791a400e95ffd4154f02a04c2d8d78b43a76c659ad"
metafile = true metafile = true
[[files]]
file = "mods/essential.pw.toml"
hash = "f34d77ca00200f470b5aa7012437ae285a9ebaa2e22ab3d5067cbd87582d51ac"
metafile = true
[[files]] [[files]]
file = "mods/exposure.pw.toml" file = "mods/exposure.pw.toml"
hash = "1dc09ef29e50db6aba5c6fbfaf892983444a0d4ca25f856f1d2838e0c6546166" hash = "1dc09ef29e50db6aba5c6fbfaf892983444a0d4ca25f856f1d2838e0c6546166"
@@ -1054,6 +1117,11 @@ file = "mods/fzzy-config.pw.toml"
hash = "f9c118b7a66238a7f9e052705e82402e57c7a5b753d62d679b94701ede479752" hash = "f9c118b7a66238a7f9e052705e82402e57c7a5b753d62d679b94701ede479752"
metafile = true metafile = true
[[files]]
file = "mods/geckolib.pw.toml"
hash = "35779b39ddc06059ec483b33de2ecfdc3adb95c0a49e69b6701fb0024827e2f5"
metafile = true
[[files]] [[files]]
file = "mods/gravestone-mod.pw.toml" file = "mods/gravestone-mod.pw.toml"
hash = "e88253c3633274c212b2c4628a26ba03ceba6afff561eb6f9488689fad4cad06" hash = "e88253c3633274c212b2c4628a26ba03ceba6afff561eb6f9488689fad4cad06"
@@ -1114,6 +1182,11 @@ file = "mods/kotlin-for-forge.pw.toml"
hash = "27302b0087cf53570cd7a3b4eb550a208cbb6f6ba07210c604176155f39e0078" hash = "27302b0087cf53570cd7a3b4eb550a208cbb6f6ba07210c604176155f39e0078"
metafile = true metafile = true
[[files]]
file = "mods/kubejs.pw.toml"
hash = "7e0eca275f27b6543f06c36dec433851a956960cbedd2be57d19e159d636bfc1"
metafile = true
[[files]] [[files]]
file = "mods/longer-chat-history.pw.toml" file = "mods/longer-chat-history.pw.toml"
hash = "12e4601519ca5fb940e9658b71f2218f2a06c41847b714978e1568435688858d" hash = "12e4601519ca5fb940e9658b71f2218f2a06c41847b714978e1568435688858d"
@@ -1174,6 +1247,11 @@ file = "mods/oceans-delight.pw.toml"
hash = "7bf7c8369bd28212a1e294c60310ccb72f1eb773630970e6ab106ae666766cd3" hash = "7bf7c8369bd28212a1e294c60310ccb72f1eb773630970e6ab106ae666766cd3"
metafile = true metafile = true
[[files]]
file = "mods/open-parties-and-claims.pw.toml"
hash = "97660396e7f075f4c9ca8447878ec3da58ebea9ed464cdb494d4db1d62989936"
metafile = true
[[files]] [[files]]
file = "mods/particle-rain.pw.toml" file = "mods/particle-rain.pw.toml"
hash = "6f24e7f5ecef862b1bdb61031637e27b093f185c3219023bea94d2d954ec4180" hash = "6f24e7f5ecef862b1bdb61031637e27b093f185c3219023bea94d2d954ec4180"
@@ -1195,13 +1273,13 @@ hash = "650330109d21831664d2ff597c7a90200eda69a1efaca4e9b0b6b6297ac3c364"
metafile = true metafile = true
[[files]] [[files]]
file = "mods/player-animation-library.pw.toml" file = "mods/polytone.pw.toml"
hash = "252547b364471df931005a57234082388e74eed949387ef39d17ce5fc56e190d" hash = "636f08c84e9a1e1793850aa4f2390e5ece8fc25abee1d5d83679f3813e113802"
metafile = true metafile = true
[[files]] [[files]]
file = "mods/polytone.pw.toml" file = "mods/ponder.pw.toml"
hash = "636f08c84e9a1e1793850aa4f2390e5ece8fc25abee1d5d83679f3813e113802" hash = "5ead8d8bc26cdbe1a17dc055f7f0fe762a08254d0199d6ea8fcc58839ab274f2"
metafile = true metafile = true
[[files]] [[files]]
@@ -1214,6 +1292,11 @@ file = "mods/reeses-sodium-options.pw.toml"
hash = "09306b955060349986ccf6a6d2a67f1e019fa172a7dc690dd6007f81c966309a" hash = "09306b955060349986ccf6a6d2a67f1e019fa172a7dc690dd6007f81c966309a"
metafile = true metafile = true
[[files]]
file = "mods/rhino.pw.toml"
hash = "673de9cae75d2ad02796368939384de0d7238cf5c782975d71848a2187f753e7"
metafile = true
[[files]] [[files]]
file = "mods/rrls.pw.toml" file = "mods/rrls.pw.toml"
hash = "b78044fd79ce21750d05dc61b6aede33c4b87cdc16a26f5aff472d4f73ab623c" hash = "b78044fd79ce21750d05dc61b6aede33c4b87cdc16a26f5aff472d4f73ab623c"
@@ -1239,21 +1322,11 @@ file = "mods/slice-and-dice.pw.toml"
hash = "18ca1d438084a8578f4b75f12233db58ca1deec55f117fb875afa21f2c021559" hash = "18ca1d438084a8578f4b75f12233db58ca1deec55f117fb875afa21f2c021559"
metafile = true metafile = true
[[files]]
file = "mods/sodium-dynamic-lights.pw.toml"
hash = "c1e526d3d17cb3563e596d45c7567ed1fe60c31bdc3457f7a747ef8150bd3c1b"
metafile = true
[[files]] [[files]]
file = "mods/sodium-extra.pw.toml" file = "mods/sodium-extra.pw.toml"
hash = "a1fb713df668ed21dda0602e99cb23b991c8faff841e130d7aae46258c3d6a45" hash = "a1fb713df668ed21dda0602e99cb23b991c8faff841e130d7aae46258c3d6a45"
metafile = true metafile = true
[[files]]
file = "mods/sodium-options-api.pw.toml"
hash = "d193173f0f5dfb4a921d44e29e8d5cee656dd3a40872939069715bb482b66fc9"
metafile = true
[[files]] [[files]]
file = "mods/sodium.pw.toml" file = "mods/sodium.pw.toml"
hash = "347cac2ed12c9bc0561b6a59eeb4c121b10e5f3f71d54e9bf8d1343af57ef5b8" hash = "347cac2ed12c9bc0561b6a59eeb4c121b10e5f3f71d54e9bf8d1343af57ef5b8"
@@ -1314,11 +1387,6 @@ file = "mods/what-are-they-up-to.pw.toml"
hash = "9ce52d07c0c3d146a2a44f8bc187138ce7a5558a4e3ab540c86234702b6de274" hash = "9ce52d07c0c3d146a2a44f8bc187138ce7a5558a4e3ab540c86234702b6de274"
metafile = true metafile = true
[[files]]
file = "mods/x+-autofish.pw.toml"
hash = "29d142218e15fbd26a4e17e1a65dab7a5a0dd81e6806130a474c1d27fa1be53d"
metafile = true
[[files]] [[files]]
file = "mods/yacl.pw.toml" file = "mods/yacl.pw.toml"
hash = "539f362e9e192cf3b2813e0dfdfc51a5e6814129c6e82a9733842529beea6242" hash = "539f362e9e192cf3b2813e0dfdfc51a5e6814129c6e82a9733842529beea6242"
@@ -0,0 +1,2 @@
term_font.png — "CCCyrillic" by sashafiesta (MIT), https://modrinth.com/resourcepack/cccyrillic
Windows-1251 Cyrillic glyphs for the CC:Tweaked terminal font. The server's terminal programs write text in 1251.
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

+104
View File
@@ -0,0 +1,104 @@
// Create RP — межі ділянок рамками в стилі Create.
// Показуються, поки в руці «Довідник громадянина» (усі ділянки поблизу), і кілька секунд після входу на ділянку
// (лише вона). Дані приходять із сервера каналом createrp_plots; малює Outliner, яким Create малює виділення.
// Rhino: без const/let усередині циклів і try — лише var.
const RpOutliner = Java.loadClass('net.createmod.catnip.outliner.Outliner')
const RpAABB = Java.loadClass('net.minecraft.world.phys.AABB')
const RpTextures = Java.loadClass('com.simibubi.create.AllSpecialTextures')
// своя — блакитна, вільна (лот) — зелена, чужа — сіра, аукціон — жовта, заморожена — фіолетова;
// державна: резерв — червона, дорога — помаранчева (не збудована) і синя (збудована), шахта — коричнева
const PLOT_COLOR = { mine: 0x4FC3F7, free: 0x66DD66, auction: 0xFFD54F, taken: 0xB0B0B0, frozen: 0x9C27B0,
reserved: 0xE53935, road: 0xFF9800, road_built: 0x2F6BFF, state_mine: 0x8D6E63, state: 0xE53935 }
const SHOW_TICKS = 100 // 5 секунд після входу на ділянку
const WALL_BOTTOM = -64 // стіна межі стоїть на всю висоту світу й не рухається разом із гравцем
const WALL_TOP = 320
const WALL_HALF = 1 / 16 // пів товщини стіни: у плоскої рамки Create не малює площину
let rpPlots = [] // { id, kind, walls: [[x1, z1, x2, z2], …] }
let rpByChunk = {} // "cx,cz" -> індекс у rpPlots
// державну землю при вході не підсвічуємо — її видно лише з довідником у руці
const RP_QUIET = { reserved: true, road: true, road_built: true, state_mine: true, state: true }
let rpHere = ''
let rpShowUntil = 0
let rpTick = 0
// стіни по зовнішній межі ділянки; сусідні відрізки на одній лінії зливаються в один
function rpWalls (cells) {
var has = {}
var i
for (i = 0; i < cells.length; i++) has[cells[i][0] + ',' + cells[i][1]] = true
var lines = {} // "x|<fixed x>" або "z|<fixed z>" -> початки відрізків по 16 блоків
var add = function (key, start) { if (!lines[key]) lines[key] = []; lines[key].push(start) }
for (i = 0; i < cells.length; i++) {
var cx = cells[i][0]; var cz = cells[i][1]
if (!has[(cx - 1) + ',' + cz]) add('x|' + (cx * 16), cz * 16)
if (!has[(cx + 1) + ',' + cz]) add('x|' + (cx * 16 + 16), cz * 16)
if (!has[cx + ',' + (cz - 1)]) add('z|' + (cz * 16), cx * 16)
if (!has[cx + ',' + (cz + 1)]) add('z|' + (cz * 16 + 16), cx * 16)
}
var walls = []
for (var key in lines) {
var parts = key.split('|'); var fixed = Number(parts[1])
var starts = lines[key].sort(function (a, b) { return a - b })
var from = starts[0]; var to = starts[0] + 16
for (var k = 1; k <= starts.length; k++) {
if (k < starts.length && starts[k] === to) { to += 16; continue }
walls.push(parts[0] === 'x' ? [fixed, from, fixed, to] : [from, fixed, to, fixed])
if (k < starts.length) { from = starts[k]; to = starts[k] + 16 }
}
}
return walls
}
NetworkEvents.dataReceived('createrp_plots', event => {
var text = String(event.data.getString('plots'))
var plots = []; var byChunk = {}
var rows = text.length ? text.split('\n') : []
for (var r = 0; r < rows.length; r++) {
var f = rows[r].split('\t')
if (f.length < 4) continue
var cells = []
var pairs = f[3].split(' ')
for (var p = 0; p < pairs.length; p++) {
var xz = pairs[p].split(',')
cells.push([Number(xz[0]), Number(xz[1])])
byChunk[Number(xz[0]) + ',' + Number(xz[1])] = plots.length
}
plots.push({ id: f[0], kind: f[1], cells: cells, walls: rpWalls(cells) })
}
rpPlots = plots; rpByChunk = byChunk
})
let rpBroken = false
function rpDraw () {
var player = Client.player
if (!player) return
rpTick++
var cx = Math.floor(player.x / 16); var cz = Math.floor(player.z / 16)
var here = ''
for (var n = 0; n < rpPlots.length && here === ''; n++) {
var cells = rpPlots[n].cells
if (RP_QUIET[rpPlots[n].kind]) continue
for (var k = 0; k < cells.length; k++) if (cells[k][0] == cx && cells[k][1] == cz) { here = rpPlots[n].id; break }
}
if (here !== rpHere) { rpHere = here; if (here !== '') rpShowUntil = rpTick + SHOW_TICKS }
var holding = String(player.mainHandItem.id) === 'kubejs:citizen_guide' || String(player.offHandItem.id) === 'kubejs:citizen_guide'
if (!holding && rpTick >= rpShowUntil) return
var outliner = RpOutliner.getInstance()
for (var i = 0; i < rpPlots.length; i++) {
var plot = rpPlots[i]
if (!holding && plot.id !== rpHere) continue
var colour = PLOT_COLOR[plot.kind] || PLOT_COLOR.taken
for (var w = 0; w < plot.walls.length; w++) {
var wall = plot.walls[w]
outliner.showAABB('createrp_plot_' + plot.id + '_' + w, new RpAABB(wall[0] - WALL_HALF, WALL_BOTTOM, wall[1] - WALL_HALF, wall[2] + WALL_HALF, WALL_TOP, wall[3] + WALL_HALF)).colored(colour).lineWidth(1 / 16).withFaceTexture(RpTextures.CHECKERED)
}
}
}
ClientEvents.tick(event => {
if (rpBroken) return
try { rpDraw() } catch (e) { rpBroken = true; console.error('[createrp] plot outlines switched off: ' + e) }
})
+621
View File
@@ -0,0 +1,621 @@
// Create RP — туторіал у стилі Create (Ponder): наведи на предмет і затисни W.
// Потрібні PonderJS (мод «Ponder for KubeJS») і startup_scripts/createrp_items.js (предмет kubejs:citizen_guide).
// Більшість сцен — на стандартній плиті 5x5 (y=0 — плита, блоки з y=1); продаж і покупки — на схематиці Create з ланцюгами.
// Підписи — як у Create: одне коротке речення на крок.
const PACKAGE = 'create:cardboard_package_10x12'
// Справжні посилки на ланцюгах — тими ж викликами, що й у сценах самого Create (FrogAndConveyorScenes).
// Якщо KubeJS не дасть доступу до класів — сцени все одно покажуть мережу й текст, лише без руху посилок.
let CreateScene = null, Frogport = null, ChainConveyor = null, PackageItem = null, PackageStyles = null
try {
CreateScene = Java.loadClass('com.simibubi.create.foundation.ponder.CreateSceneBuilder')
Frogport = Java.loadClass('com.simibubi.create.content.logistics.packagePort.frogport.FrogportBlockEntity')
ChainConveyor = Java.loadClass('com.simibubi.create.content.kinetics.chainConveyor.ChainConveyorBlockEntity')
PackageItem = Java.loadClass('com.simibubi.create.content.logistics.box.PackageItem')
PackageStyles = Java.loadClass('com.simibubi.create.content.logistics.box.PackageStyles')
} catch (e) {
console.warn('[createrp] Create classes unavailable for Ponder animations: ' + e)
}
// один крок: підпис біля точки й пауза, поки його читають
function say(scene, ticks, text, pos, colour, keyframe) {
const t = scene.text(ticks, text, pos).placeNearTarget()
if (colour) t.colored(colour)
if (keyframe) t.attachKeyFrame()
scene.idle(ticks + 10)
}
// Create's own kinetic helper. In KubeJS `world` is a property, not a method; and Rhino rejects a
// const/let declared inside try on a second call, so there are no declarations in the try at all.
function kineticWorld(scene) {
var builder = new CreateScene(scene)
return typeof builder.world === 'function' ? builder.world() : builder.world
}
function setSpeed(scene, sel, speed) {
if (!CreateScene) return
try {
kineticWorld(scene).setKineticSpeed(sel, speed)
} catch (e) {
console.warn('[createrp] setKineticSpeed: ' + e)
}
}
// ---- мережа ланцюгів (схематика Create «Transporting packages between Frogports», 9x9) --------
const FROG_STRUCTURE = 'create:high_logistics/package_frogport'
const CONV1 = [1, 4, 7], CONV2 = [7, 4, 7]
const FROM_FROG = [5, 2, 2], TO_FROG = [2, 2, 5]
function addressedBox(address) {
const box = PackageStyles.getDefaultBox().copy()
PackageItem.addAddress(box, address)
return box
}
// посилки, що крутяться на одному вузлі ланцюга, їдуть до іншого (Create: boxTransfer)
function chainTransfer(scene, util, to, from) {
scene.world.modifyBlockEntity(util.grid.at(from[0], from[1], from[2]), ChainConveyor, be => {
var it = be.getLoopingPackages().iterator()
while (it.hasNext()) {
var p = it.next()
p.chainPosition = 0
be.addTravellingPackage(p, util.grid.at(to[0] - from[0], to[1] - from[1], to[2] - from[2]))
it.remove()
}
})
}
// посилка з адресою їде ланцюгами від пакужаби (5,2,2) до пакужаби (2,2,5)
function shipOnChains(scene, util, address) {
if (!Frogport) {
scene.overlay.showBigLine(PonderPalette.OUTPUT, [5.5, 3, 2.5], [2.5, 3, 5.5], 140)
scene.idle(150)
return
}
const box = addressedBox(address)
scene.world.modifyBlockEntity(util.grid.at(FROM_FROG[0], FROM_FROG[1], FROM_FROG[2]), Frogport, be => be.startAnimation(box, true))
scene.idle(95)
chainTransfer(scene, util, CONV1, CONV2)
scene.idle(45)
scene.world.modifyBlockEntity(util.grid.at(CONV1[0], CONV1[1], CONV1[2]), ChainConveyor, be => be.getLoopingPackages().clear())
scene.world.modifyBlockEntity(util.grid.at(TO_FROG[0], TO_FROG[1], TO_FROG[2]), Frogport, be => be.startAnimation(box, false))
scene.idle(15)
}
// мережа з'являється так само, як у Create
function showChainNetwork(scene, util) {
scene.configureBasePlate(0, 0, 9)
scene.scaleSceneView(0.75)
scene.setSceneOffsetY(-1)
scene.world.showSection(util.select.layer(0).substract(util.select.position(9, 0, 1)), Direction.UP)
scene.idle(10)
scene.world.showSection(util.select.position(2, 1, 8), Direction.SOUTH)
scene.idle(2)
scene.world.showSection(util.select.fromTo(1, 1, 7, 1, 3, 7), Direction.DOWN)
scene.idle(2)
scene.world.showSection(util.select.fromTo(7, 1, 7, 7, 3, 7), Direction.DOWN)
scene.idle(2)
scene.world.showSection(util.select.fromTo(7, 1, 1, 7, 3, 1), Direction.DOWN)
scene.idle(5)
scene.world.showSection(util.select.position(1, 4, 7), Direction.DOWN)
scene.world.showSection(util.select.position(7, 4, 7), Direction.DOWN)
scene.world.showSection(util.select.position(7, 4, 1), Direction.DOWN)
scene.idle(20)
}
function showRightSide(scene, util) { // пакувальник, сховище й пакужаба праворуч (5..7, z=2)
scene.world.showSection(util.select.fromTo(7, 1, 2, 5, 1, 2), Direction.DOWN)
scene.world.showSection(util.select.position(5, 1, 3), Direction.DOWN)
scene.idle(5)
scene.world.showSection(util.select.position(5, 2, 2), Direction.DOWN)
scene.idle(15)
}
function showLeftSide(scene, util) { // пакужаба з пакувальником ліворуч (2, z=5)
scene.world.showSection(util.select.position(2, 1, 5), Direction.SOUTH)
scene.world.showSection(util.select.fromTo(2, 1, 4, 0, 1, 4), Direction.DOWN)
scene.world.showSection(util.select.position(3, 1, 5), Direction.DOWN)
scene.idle(5)
scene.world.showSection(util.select.position(2, 2, 5), Direction.DOWN)
scene.idle(15)
}
// ---------------------------------------------------------------------------------------------
// 1. Термінал держави
function terminalScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([2, 1, 2], 'computercraft:computer_advanced')
scene.world.setBlocks([1, 1, 3, 3, 2, 3], 'computercraft:monitor_advanced')
scene.idle(10)
scene.world.showSection([2, 1, 2], Direction.DOWN)
scene.idle(15)
scene.showControls(60, [2.5, 2, 2.5], 'down').rightClick()
say(scene, 70, 'Будь-який комп\'ютер — термінал держави', [2.5, 1.5, 2.5], null, true)
say(scene, 60, 'Набери rp і натисни Enter', [2.5, 1.5, 2.5])
say(scene, 70, 'Увійди: свій нік і пароль', [2.5, 1.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Першого разу термінал попросить створити пароль', [2.5, 1.5, 2.5])
say(scene, 60, 'Стій поруч — здалеку не пустить', [2.5, 1.5, 2.5], PonderPalette.RED)
say(scene, 80, 'Тут усе: рахунок, бізнес, ціни, магазин, земля, робота, банк', [2.5, 1.5, 2.5], null, true)
say(scene, 70, 'Назву кирилицею пиши в чат гри', [2.5, 1.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Термінал забере цей рядок собі', [2.5, 1.5, 2.5])
scene.world.showSection([1, 1, 3, 3, 2, 3], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Додай монітор — і набери prices metal', [2, 2.5, 3], PonderPalette.BLUE, true)
say(scene, 60, 'Вийде табло цін держави', [2, 2.5, 3])
}
// ---------------------------------------------------------------------------------------------
// 2. Продаж державі
function sellScene(scene, util) {
showChainNetwork(scene, util)
say(scene, 70, 'Держава купує все, що ти добуваєш і виробляєш', [4, 4.5, 4], null, true)
say(scene, 70, 'Товар їде до неї посилками по ланцюгах', [4, 4.5, 7])
showRightSide(scene, util)
scene.world.showSection(util.select.position(4, 1, 2), Direction.EAST)
scene.idle(10)
say(scene, 70, 'Твій бізнес: сховище, пакувальник і пакужаба', [5.5, 2.5, 2.5], null, true)
say(scene, 80, 'На пакувальник — табличка з адресою gov-…', [4.5, 1.5, 2.5], PonderPalette.BLUE)
say(scene, 70, 'Адресу дає термінал: Бізнес → Адреса продажу', [4.5, 1.5, 2.5])
showLeftSide(scene, util)
say(scene, 80, 'Це державна пакужаба — вона приймає всі адреси gov-…', [2.5, 2.5, 5.5], PonderPalette.BLUE, true)
scene.text(60, 'Посилка їде ланцюгами…', [6.78, 4.37, 3.5]).placeNearTarget()
shipOnChains(scene, util, 'gov-a1b2c3')
say(scene, 70, '…і гроші приходять на рахунок бізнесу', [2.5, 2.5, 5.5], PonderPalette.GREEN, true)
say(scene, 70, 'Багато однакового товару — ціна падає', [4, 4.5, 4], PonderPalette.RED)
say(scene, 60, 'Дефіцит — ціна росте', [4, 4.5, 4], PonderPalette.GREEN)
say(scene, 60, 'Ціни дивись на табло або в терміналі', [4, 4.5, 4])
}
// ---------------------------------------------------------------------------------------------
// 3. Покупки в держави
function buyScene(scene, util) {
showChainNetwork(scene, util)
showRightSide(scene, util)
say(scene, 70, 'Це державний склад', [5.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 80, 'Держава продає імпорт: алмази, незерит, елітри, ліцензії', [5.5, 2.5, 2.5])
say(scene, 60, 'Купуй у терміналі: Магазин держави', [4, 4.5, 4])
showLeftSide(scene, util)
say(scene, 70, 'Це твоя пакужаба, напр. «Склад Олі»', [2.5, 2.5, 5.5], null, true)
say(scene, 70, 'Цю назву впиши як адресу доставки', [2.5, 2.5, 5.5], PonderPalette.BLUE)
shipOnChains(scene, util, 'Склад Олі')
say(scene, 70, 'Посилка приїжджає сама', [2.5, 2.5, 5.5], PonderPalette.GREEN, true)
say(scene, 70, 'Пакувальник розпакує її у скриню', [3.5, 1.5, 5.5])
say(scene, 70, 'Не доїхала — гроші повернуться самі', [4, 4.5, 4], PonderPalette.RED)
}
// ---------------------------------------------------------------------------------------------
// 4. Гроші й банк
function moneyScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([2, 1, 2], 'computercraft:computer_advanced')
scene.world.showSection([2, 1, 2], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Твої гроші лежать на рахунку в банку', [2.5, 1.5, 2.5], null, true)
say(scene, 60, 'Баланс і перекази — у терміналі', [2.5, 1.5, 2.5])
const coins = ['numismatics:spur', 'numismatics:bevel', 'numismatics:sprocket', 'numismatics:cog']
for (let i = 0; i < coins.length; i++) {
scene.world.createItemEntity([1 + i, 3, 1], [0, 0.1, 0], coins[i])
scene.idle(5)
}
scene.idle(10)
say(scene, 70, 'Монети — це готівка', [2.5, 2, 1.5], PonderPalette.GREEN, true)
say(scene, 70, 'Зняти: /cash withdraw <сума>', [2.5, 2, 1.5])
say(scene, 70, 'Покласти: монети в руку і /cash deposit', [2.5, 2, 1.5])
say(scene, 70, 'Банк дає кредити бізнесу', [2.5, 1.5, 2.5], PonderPalette.BLUE, true)
say(scene, 60, 'А вклад щодня приносить відсоток', [2.5, 1.5, 2.5])
say(scene, 80, 'Пропустив 3 платежі по кредиту — рахунок заморожено', [2.5, 1.5, 2.5], PonderPalette.RED)
}
// ---------------------------------------------------------------------------------------------
// 5. Земля й надра
function landScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([0, 1, 0, 4, 1, 4], 'minecraft:grass_block')
scene.world.setBlocks([2, 2, 2], 'computercraft:computer_advanced')
scene.idle(10)
scene.world.showSection([0, 1, 0, 4, 2, 4], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Уся земля належить державі', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Будь-який вільний чанк можна орендувати чи купити', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'Окрім державних: будівлі, дороги, шахта', [2.5, 2.5, 2.5], PonderPalette.RED)
scene.showControls(50, [2.5, 3, 2.5], 'down').rightClick()
say(scene, 70, 'Постав на чанку комп\'ютер і набери rp', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Земля → Ціна цього чанка', [2.5, 2.5, 2.5])
say(scene, 70, 'Береш на себе або на свій бізнес', [2.5, 2.5, 2.5])
scene.showControls(60, [2.5, 2.5, 0.5], 'down').rightClick().withItem('kubejs:land_survey')
say(scene, 70, 'Або планшетом землеміра: ПКМ — перший кут', [2.5, 2.5, 0.5], PonderPalette.BLUE, true)
say(scene, 70, 'ПКМ ще раз — другий кут, рамка покаже територію', [2.5, 2.5, 4.5])
say(scene, 70, 'Третій ПКМ — кнопки оренди й купівлі в чаті', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'До 16 чанків за раз. Shift+ПКМ — скинути', [2.5, 2.5, 2.5])
say(scene, 70, 'Планшет дає реєстратор у ратуші', [2.5, 2.5, 2.5])
say(scene, 70, 'Біля спавну земля втричі дорожча', [2.5, 2.5, 2.5], PonderPalette.RED, true)
say(scene, 70, 'Біля готової дороги — теж дорожча', [2.5, 2.5, 2.5])
say(scene, 70, 'Біля шахти — дешевша', [2.5, 2.5, 2.5], PonderPalette.GREEN)
scene.world.setBlocks([1, 2, 1, 1, 3, 1], 'minecraft:bricks')
scene.idle(10)
say(scene, 70, 'Забудував чанк — це вже житло, воно дорожче', [1.5, 3, 1.5], null, true)
say(scene, 80, 'Оренду платиш наперед, за куплену землю — податок щодня', [2.5, 2.5, 2.5])
say(scene, 70, 'Не платив 3 дні — землю забирають', [2.5, 2.5, 2.5], PonderPalette.RED)
scene.world.setBlocks([3, 1, 3], 'minecraft:iron_ore')
scene.idle(10)
say(scene, 70, 'Руду копають лише з дозволом на видобуток', [3.5, 2, 3.5], PonderPalette.BLUE, true)
say(scene, 70, 'Дозвіл робить твою ділянку приватною шахтою', [3.5, 2, 3.5])
say(scene, 70, 'Будь-яка руда, без ліміту', [3.5, 2, 3.5], PonderPalette.GREEN)
say(scene, 70, 'Біля спавну й доріг дозволу не дають', [3.5, 2, 3.5], PonderPalette.RED)
say(scene, 70, 'Бури Create теж копають лише з дозволом', [3.5, 2, 3.5])
say(scene, 70, 'Візьми довідник у руку — побачиш межі ділянок', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Блакитна межа — твоя, сіра — чужа, червона — державна', [2.5, 2.5, 2.5])
say(scene, 70, 'Дорога: помаранчева — ще будується, синя — готова', [2.5, 2.5, 2.5])
}
// ---------------------------------------------------------------------------------------------
// 6. Робота: ринок праці й пошта
function jobsScene(scene, util) {
scene.showBasePlate()
scene.idle(10)
scene.world.createEntity('minecraft:villager', [1, 1, 2.5])
scene.idle(10)
say(scene, 70, 'Немає роботи? Стань на ринок праці', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Держава щодня платить допомогу, якщо ти грав', [2.5, 2.5, 2.5])
scene.showControls(60, [1, 2.3, 2.5], 'down').rightClick()
say(scene, 70, 'Хочеш більше — працюй поштарем', [1, 2.5, 2.5], PonderPalette.BLUE, true)
scene.world.createItemEntity([1.5, 2, 2.5], [0.05, 0.25, 0], PACKAGE)
scene.world.createItemEntity([1.5, 2, 2.5], [0.03, 0.3, 0.03], 'minecraft:compass')
scene.idle(20)
say(scene, 70, 'NPC пошти дасть посилку й компас', [2, 1.5, 2.5], null, true)
say(scene, 70, 'Компас веде до адресата', [2, 1.5, 2.5])
say(scene, 70, 'ПКМ компасом — мітка на місці', [2, 1.5, 2.5], PonderPalette.BLUE)
scene.world.createEntity('minecraft:villager', [4, 1, 2.5])
scene.overlay.showBigLine(PonderPalette.OUTPUT, [1.5, 1.2, 2.5], [4, 1.2, 2.5], 100)
say(scene, 70, 'Віддай посилку адресату — і отримаєш гроші', [4, 2.5, 2.5], PonderPalette.GREEN, true)
say(scene, 60, 'Що далі везти — то більше платять', [4, 2.5, 2.5])
say(scene, 60, 'На доставку — 2 ігрові дні', [2.5, 2.5, 2.5], PonderPalette.RED)
say(scene, 80, 'Або наймися в бізнес: термінал → Бізнес', [2.5, 2.5, 2.5], null, true)
}
// ---------------------------------------------------------------------------------------------
// 8. Вантажник
function cargoScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([0, 1, 3, 4, 1, 3], 'minecraft:rail[shape=east_west]')
scene.idle(10)
scene.world.createEntity('minecraft:villager', [1, 1, 1])
scene.idle(10)
say(scene, 70, 'Вантажник возить будматеріали на будови', [1, 2.5, 1], null, true)
scene.showControls(50, [1, 2.3, 1], 'down').rightClick()
scene.idle(20)
for (let i = 0; i < 5; i++) {
scene.world.createItemEntity([1.5, 2, 1.5], [0.04 * (i - 2), 0.25, 0.06], PACKAGE)
scene.idle(4)
}
scene.idle(10)
say(scene, 70, 'Диспетчер вантажів дасть від 4 до 8 ящиків', [1.5, 1.5, 1.5], PonderPalette.BLUE, true)
say(scene, 70, 'Ящики важкі: з ними ти ледве йдеш', [1.5, 1.5, 1.5], PonderPalette.RED)
scene.world.showSection([0, 1, 3, 4, 1, 3], Direction.DOWN)
scene.world.createEntity('minecraft:minecart', [1.5, 1, 3.5])
scene.idle(15)
say(scene, 70, 'Візьми візок, поїзд чи інший транспорт', [1.5, 1.5, 3.5], null, true)
scene.world.createEntity('minecraft:villager', [4, 1, 1])
scene.overlay.showBigLine(PonderPalette.OUTPUT, [1.5, 1.2, 3.5], [4, 1.2, 1.5], 100)
say(scene, 70, 'Компас веде до прораба на будові', [4, 2.5, 1], null, true)
say(scene, 70, 'Віддай йому всі ящики — і отримаєш гроші', [4, 2.5, 1], PonderPalette.GREEN)
say(scene, 70, 'Платять більше, ніж на пошті: за відстань і кожен ящик', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 60, 'На доставку — 3 ігрові дні', [2.5, 2.5, 2.5], PonderPalette.RED)
}
// ---------------------------------------------------------------------------------------------
// 9. Дорожник
function roadsScene(scene, util) {
const CORRIDOR = util.select.fromTo(0, 0, 1, 4, 0, 3)
scene.showBasePlate()
scene.idle(10)
scene.overlay.showOutline(PonderPalette.BLUE, 'corridor', CORRIDOR, 200)
say(scene, 70, 'Це транспортний коридор держави', [2.5, 1, 2], PonderPalette.BLUE, true)
say(scene, 70, 'Будувати й ламати тут може лише дорожник', [2.5, 1, 2], PonderPalette.RED)
scene.world.createEntity('minecraft:villager', [0.5, 1, 0.5])
scene.idle(10)
scene.showControls(50, [0.5, 2.3, 0.5], 'down').rightClick()
say(scene, 70, 'Стань дорожником: дорожній майстер або термінал → Робота', [0.5, 2.5, 0.5], null, true)
for (let x = 0; x < 5; x++) {
scene.world.setBlocks([x, 1, 2], 'minecraft:stone_bricks')
scene.world.showSection([x, 1, 2], Direction.DOWN)
if (x === 0) scene.showControls(40, [0.5, 1.5, 2.5], 'down').rightClick().withItem('minecraft:stone_bricks')
scene.idle(8)
}
scene.idle(10)
say(scene, 70, 'Кожен новий блок дороги — 0,3 ¤', [2.5, 1.5, 2.5], PonderPalette.GREEN, true)
say(scene, 80, 'Покриття: кам\'яна цегла, гладкий камінь, андезит, плитка Create', [2.5, 1.5, 2.5])
say(scene, 70, 'Недобудовані дороги видно з довідником у руці', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Помаранчева межа — тут ще треба мостити', [2.5, 2.5, 2.5])
say(scene, 80, 'Гроші за всі твої блоки — коли дорогу приймуть', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'Готова дорога стає синьою', [2.5, 2.5, 2.5])
}
// ---------------------------------------------------------------------------------------------
// 10. Шахтар
function minerScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([1, 1, 1, 3, 2, 3], 'minecraft:stone')
scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore')
scene.world.setBlocks([1, 2, 1], 'minecraft:coal_ore')
scene.world.setBlocks([3, 1, 1], 'minecraft:copper_ore')
scene.world.setBlocks([2, 2, 1], 'minecraft:stone')
scene.idle(10)
scene.world.showSection([1, 1, 1, 3, 2, 3], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Це державна шахта', [2.5, 2.5, 1], PonderPalette.BLUE, true)
say(scene, 70, 'Копати тут можуть лише шахтарі', [2.5, 2.5, 1], PonderPalette.RED)
say(scene, 70, 'Найнятися: бригадир шахти або термінал → Робота', [2.5, 2.5, 1])
scene.showControls(40, [2.5, 1.5, 1], 'right').leftClick().withItem('minecraft:iron_pickaxe')
scene.idle(30)
scene.world.destroyBlock([2, 1, 1])
scene.idle(15)
say(scene, 70, 'Руда одразу йде державі — без дропу', [2.5, 1.5, 1], null, true)
scene.world.createItemEntity([2.5, 2, 0.8], [0, 0.2, 0], 'numismatics:spur')
say(scene, 70, 'Тобі — оплата за кожен блок', [2.5, 1.5, 1], PonderPalette.GREEN)
say(scene, 70, 'Алмази й золото дорожчі за вугілля', [2.5, 1.5, 1])
say(scene, 70, 'Гроші — в кінці ігрового дня, до 200 блоків на день', [2.5, 2.5, 2])
scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore')
scene.idle(10)
say(scene, 70, 'Викопана руда згодом виростає знову', [2.5, 1.5, 1], PonderPalette.BLUE, true)
}
// ---------------------------------------------------------------------------------------------
// 11. Оператор заводу
function operatorScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([1, 1, 2], 'minecraft:blast_furnace')
scene.world.setBlocks([2, 1, 2], 'create:andesite_casing')
scene.world.setBlocks([3, 1, 2], 'create:mechanical_press')
scene.idle(10)
scene.world.showSection([1, 1, 2, 3, 1, 2], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Це державний завод', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Оператор стежить, щоб він не зупинявся', [2.5, 2.5, 2.5])
say(scene, 70, 'Найнятися: майстер заводу або термінал → Робота', [2.5, 2.5, 2.5])
scene.overlay.showOutline(PonderPalette.RED, 'broken', util.select.position(1, 1, 2), 220)
say(scene, 70, 'Точка задиміла — щось зламалось', [1.5, 2, 2.5], PonderPalette.RED, true)
scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('minecraft:coal')
say(scene, 70, 'Немає палива — клацни з вугіллям у руці', [1.5, 2, 2.5])
scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick()
say(scene, 70, 'Затор — прочисть порожньою рукою', [1.5, 2, 2.5])
scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('create:wrench')
say(scene, 70, 'Розхиталась деталь — підтягни ключем', [1.5, 2, 2.5])
scene.world.createItemEntity([1.5, 2.2, 2.5], [0, 0.2, 0], 'numismatics:spur')
say(scene, 70, 'Кожен ремонт — 2 ¤ у кінці ігрового дня', [2.5, 2.5, 2.5], PonderPalette.GREEN, true)
say(scene, 70, 'Поломки стаються, лише поки ти на зміні поруч', [2.5, 2.5, 2.5])
}
// ---------------------------------------------------------------------------------------------
// 12. Державні службовці
function officialsScene(scene, util) {
scene.showBasePlate()
scene.idle(10)
scene.world.createEntity('minecraft:villager', [2.5, 1, 2.5])
scene.idle(10)
scene.showControls(50, [2.5, 2.3, 2.5], 'down').rightClick()
say(scene, 70, 'Державні службовці відповідають на запитання', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Клацни по службовцю й обери репліку', [2.5, 2.5, 2.5])
say(scene, 70, 'Провідник на спавні пояснить, з чого почати', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Він же дасть перше завдання з підйомними', [2.5, 2.5, 2.5], PonderPalette.GREEN)
scene.world.createEntity('minecraft:villager', [0.5, 1, 0.5])
scene.world.createEntity('minecraft:villager', [4.5, 1, 0.5])
scene.world.createEntity('minecraft:villager', [0.5, 1, 4.5])
scene.world.createEntity('minecraft:villager', [4.5, 1, 4.5])
scene.idle(15)
say(scene, 70, 'Ратуша: бізнес, ділянки, аукціони', [0.5, 2.5, 0.5], null, true)
say(scene, 70, 'Міністерство: тендери й частки ринку', [4.5, 2.5, 0.5])
say(scene, 70, 'Банк: рахунок, кредити, вклад', [0.5, 2.5, 4.5])
say(scene, 70, 'Центр зайнятості: робота й допомога', [4.5, 2.5, 4.5])
say(scene, 80, 'Службовець відповідає в тій самій розмові', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 80, 'Щоб щось оформити — іди до термінала', [2.5, 2.5, 2.5])
}
// ---------------------------------------------------------------------------------------------
// 7. Продаж енергії державі: державна підстанція
function energyScene(scene, util) {
const STATE = util.select.fromTo(3, 1, 0, 4, 1, 4)
const BUSINESS = util.select.fromTo(0, 1, 2, 1, 1, 2)
const ALL = util.select.fromTo(0, 1, 0, 4, 1, 4)
scene.showBasePlate()
// генератор бізнесу → вал → лічильник → коробка передач підстанції → три вентилятори держави
scene.world.setBlocks([0, 1, 2], 'create:water_wheel[facing=east]')
scene.world.setBlocks([1, 1, 2], 'create:shaft[axis=x]')
scene.world.setBlocks([2, 1, 2], 'create:stressometer[facing=south,axis_along_first=true]')
scene.world.setBlocks([3, 1, 2], 'create:gearbox')
scene.world.setBlocks([4, 1, 2], 'create:encased_fan[facing=east]')
scene.world.setBlocks([3, 1, 1], 'create:shaft[axis=z]')
scene.world.setBlocks([3, 1, 3], 'create:shaft[axis=z]')
scene.world.setBlocks([3, 1, 0], 'create:encased_fan[facing=north]')
scene.world.setBlocks([3, 1, 4], 'create:encased_fan[facing=south]')
scene.idle(10)
scene.world.showSection(STATE, Direction.DOWN)
scene.idle(15)
scene.overlay.showOutline(PonderPalette.BLUE, 'state', STATE, 90)
say(scene, 80, 'Це державна підстанція: її машинам потрібна сила', [3.5, 2.5, 2.5], PonderPalette.BLUE, true)
scene.world.showSection([2, 1, 2], Direction.DOWN)
scene.idle(10)
say(scene, 70, 'На вході стоїть лічильник — стресометр', [2.5, 1.8, 2.5], null, true)
say(scene, 70, 'Держава закріплює його за твоїм бізнесом', [2.5, 1.8, 2.5])
scene.world.showSection(BUSINESS, Direction.EAST)
scene.idle(15)
scene.overlay.showOutline(PonderPalette.GREEN, 'biz', BUSINESS, 90)
say(scene, 70, 'Підведи вал від свого генератора', [0.5, 1.5, 2.5], PonderPalette.GREEN, true)
setSpeed(scene, ALL, 32)
scene.idle(10)
say(scene, 70, 'Машини держави закрутились', [3.5, 2.5, 2.5])
for (let i = 0; i < 3; i++) {
scene.world.createItemEntity([2.5, 2.2, 2.5], [0, 0.2, 0], 'numismatics:spur')
scene.idle(12)
}
say(scene, 70, 'Щохвилини держава платить твоєму бізнесу', [2.5, 2.5, 2.5], PonderPalette.GREEN, true)
say(scene, 70, 'Платить лише за силу, яку забирають її машини', [2.5, 2.5, 2.5])
say(scene, 70, 'Приклад: 2048 SU — приблизно 1 ¤ за хвилину', [2.5, 2.5, 2.5], PonderPalette.BLUE)
setSpeed(scene, ALL, 0)
scene.idle(10)
say(scene, 70, 'Сили не вистачає — машини стоять, грошей немає', [1.5, 1.5, 2.5], PonderPalette.RED, true)
setSpeed(scene, ALL, 32)
say(scene, 80, 'Хочеш продавати енергію — знайди підстанцію й підключись', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Держава оголошує й тендери на енергію', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Переможцю платять дорожче за звичайний тариф', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'Не дав обіцяної сили — штраф', [2.5, 2.5, 2.5], PonderPalette.RED)
}
// ---------------------------------------------------------------------------------------------
// ---------------------------------------------------------------------------------------------
// 13. Ефір: дві школи магії в державі
function arcaneScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([2, 1, 2], 'minecraft:budding_amethyst')
scene.world.setBlocks([2, 2, 2], 'minecraft:amethyst_cluster')
scene.world.setBlocks([0, 1, 3], 'ars_nouveau:source_jar')
scene.world.setBlocks([4, 1, 3], 'hexcasting:slate')
scene.idle(10)
scene.world.showSection([2, 1, 2, 2, 2, 2], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'В аметистових жилах накопичується ефір', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Держава вважає ефір ресурсом надр', [2.5, 2.5, 2.5])
say(scene, 70, 'Його вивчає Ефірна палата', [2.5, 2.5, 2.5])
scene.world.showSection([0, 1, 3, 0, 1, 3], Direction.DOWN)
scene.idle(15)
scene.showControls(50, [0.5, 2, 3.5], 'down').withItem('ars_nouveau:novice_spell_book')
say(scene, 70, 'Плетільники збирають ефір у джерело', [0.5, 2, 3.5], PonderPalette.GREEN, true)
say(scene, 70, 'Заклинання складають у книзі', [0.5, 2, 3.5])
scene.world.showSection([4, 1, 3, 4, 1, 3], Direction.DOWN)
scene.idle(15)
scene.showControls(50, [4.5, 1.5, 3.5], 'down').withItem('hexcasting:staff/oak')
say(scene, 70, 'Гексографи креслять візерунки посохом', [4.5, 1.5, 3.5], PonderPalette.GREEN, true)
say(scene, 70, 'Їхнє паливо — аметистовий пил', [4.5, 1.5, 3.5])
scene.world.createItemEntity([2.5, 3.5, 2.5], [0, 0.1, 0], 'ars_nouveau:source_gem')
scene.idle(10)
say(scene, 70, 'Держава купує джерело, пил і аметист', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Ціни — на табло, категорія «Ефір»', [2.5, 2.5, 2.5])
say(scene, 80, 'Торгуєш ефірним — купи ліцензію в магазині', [2.5, 2.5, 2.5], PonderPalette.RED)
say(scene, 70, 'Закон той самий, що й для машин', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Руду без концесії заклинання не візьме', [2.5, 2.5, 2.5], PonderPalette.RED)
say(scene, 70, 'Посилки й вантажі не телепортують', [2.5, 2.5, 2.5], PonderPalette.RED)
say(scene, 80, 'Решту розкаже магістр Ефірної палати', [2.5, 2.5, 2.5], PonderPalette.BLUE)
}
// ---------------------------------------------------------------------------------------------
// 14. Дошки оголошень
function boardScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([2, 1, 2], 'computercraft:computer_advanced')
scene.world.setBlocks([1, 1, 3, 3, 3, 3], 'computercraft:monitor_advanced')
scene.idle(10)
scene.world.showSection([1, 1, 2, 3, 3, 3], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Це дошка оголошень держави', [2.5, 3, 3], PonderPalette.BLUE, true)
say(scene, 70, 'Розділи змінюються самі', [2.5, 3, 3])
say(scene, 70, 'Тендери: що держава замовляє і до якої ціни', [2.5, 3, 3], null, true)
say(scene, 70, 'Земля: як узяти чанк і що впливає на ціну', [2.5, 3, 3])
say(scene, 70, 'Аукціони: ставки й день закриття', [2.5, 3, 3])
say(scene, 70, 'Робота: державні роботи й вакансії бізнесів', [2.5, 3, 3], PonderPalette.GREEN, true)
say(scene, 80, 'Власник бізнесу вивішує вакансію в терміналі', [2.5, 1.5, 2.5])
scene.showControls(50, [2.5, 2, 2.5], 'down').rightClick()
say(scene, 80, 'Свою дошку запускає програма board', [2.5, 1.5, 2.5], PonderPalette.BLUE, true)
}
Ponder.tags(event => {
event.createTag('kubejs:createrp', 'kubejs:citizen_guide', 'Держава Create RP',
'Як жити й заробляти в державній економіці',
['kubejs:citizen_guide', 'create:package_frogport', 'computercraft:computer_advanced', 'computercraft:computer_normal', 'computercraft:monitor_advanced', 'create:stressometer', 'kubejs:land_survey', 'ars_nouveau:source_gem', 'hexcasting:amethyst_dust'])
})
Ponder.registry(event => {
event.create('kubejs:citizen_guide')
.scene('guide_officials', 'Державні службовці', officialsScene)
.scene('guide_terminal', 'Термінал держави', terminalScene)
.scene('guide_board', 'Дошки оголошень', boardScene)
.scene('guide_sell', 'Продаж державі', FROG_STRUCTURE, sellScene)
.scene('guide_buy', 'Покупки в держави', FROG_STRUCTURE, buyScene)
.scene('guide_energy', 'Продаж енергії державі', energyScene)
.scene('guide_money', 'Гроші й банк', moneyScene)
.scene('guide_land', 'Земля й надра', landScene)
.scene('guide_jobs', 'Робота: ринок праці й пошта', jobsScene)
.scene('guide_cargo', 'Робота: вантажник', cargoScene)
.scene('guide_roads', 'Робота: дорожник', roadsScene)
.scene('guide_miner', 'Робота: шахтар', minerScene)
.scene('guide_operator', 'Робота: оператор заводу', operatorScene)
.scene('guide_arcane', 'Ефір і магія', arcaneScene)
event.create('create:package_frogport')
.scene('frogport_sell', 'Create RP: продаж державі', FROG_STRUCTURE, sellScene)
.scene('frogport_buy', 'Create RP: покупки в держави', FROG_STRUCTURE, buyScene)
event.create(['ars_nouveau:source_gem', 'ars_nouveau:novice_spell_book', 'hexcasting:amethyst_dust', 'minecraft:amethyst_shard'])
.scene('arcane_law', 'Create RP: ефір і магія', arcaneScene)
event.create('create:stressometer')
.scene('stressometer_energy', 'Create RP: продаж енергії державі', energyScene)
event.create(['computercraft:computer_advanced', 'computercraft:computer_normal'])
.scene('computer_terminal', 'Create RP: термінал держави', terminalScene)
event.create('computercraft:monitor_advanced')
.scene('monitor_terminal', 'Create RP: термінал і табло цін', terminalScene)
.scene('monitor_board', 'Create RP: дошки оголошень', boardScene)
})
+90
View File
@@ -0,0 +1,90 @@
// Create RP — «Планшет землеміра»: реєстрація території так, як «Креслення і перо» у Create обводить споруду.
// ПКМ — перший кут (чанк під прицілом), ПКМ ще раз — другий кут, третій ПКМ — кнопки оформлення в чаті.
// Shift+ПКМ — скинути. Поки обрано лише перший кут, рамка тягнеться за прицілом.
// Рамку малює той самий Outliner, що й виділення Create. Територія — цілі чанки на всю висоту світу.
// Rhino: без const/let усередині циклів і try — лише var.
const SvOutliner = Java.loadClass('net.createmod.catnip.outliner.Outliner')
const SvAABB = Java.loadClass('net.minecraft.world.phys.AABB')
const SvTextures = Java.loadClass('com.simibubi.create.AllSpecialTextures')
const SV_ITEM = 'kubejs:land_survey'
const SV_MAX = 16 // чанків за одну реєстрацію (те саме обмеження на сервері)
const SV_MAX_ADMIN = 256 // адміністратор відводить державну землю більшими шматками
const SV_REACH = 96 // як далеко бере приціл
let svA = null // [cx, cz] першого кута
let svB = null // [cx, cz] другого кута
let svBroken = false
function svHolding (player) {
return String(player.mainHandItem.id) === SV_ITEM || String(player.offHandItem.id) === SV_ITEM
}
// чанк під прицілом; якщо приціл у небо — чанк, де стоїть гравець
function svAim (player) {
var hit = null
try { hit = player.rayTrace(SV_REACH) } catch (e) { hit = null }
if (hit && hit.block) return [Math.floor(hit.block.x / 16), Math.floor(hit.block.z / 16)]
return [Math.floor(player.x / 16), Math.floor(player.z / 16)]
}
function svMax (player) { return player.hasPermissions(3) ? SV_MAX_ADMIN : SV_MAX }
function svCount (a, b) { return (Math.abs(a[0] - b[0]) + 1) * (Math.abs(a[1] - b[1]) + 1) }
function svSend (op) {
Client.player.sendData('createrp_survey', { op: op, x1: svA[0], z1: svA[1], x2: svB[0], z2: svB[1] })
}
ItemEvents.rightClicked(SV_ITEM, event => {
var player = event.player
if (player.shiftKeyDown || player.crouching) {
svA = null; svB = null
player.setStatusMessage(Text.gray('Обведення скинуто'))
return
}
var c = svAim(player)
if (!svA) {
svA = c
player.setStatusMessage(Text.yellow('Перший кут: чанк ' + c[0] + ' ' + c[1] + '. Наведи на другий кут і ПКМ'))
} else if (!svB) {
if (svCount(svA, c) > svMax(player)) {
player.setStatusMessage(Text.red('Забагато: ' + svCount(svA, c) + ' чанків, можна до ' + svMax(player)))
return
}
svB = c
player.setStatusMessage(Text.green('Обрано ' + svCount(svA, svB) + ' чанк. Ціна — в чаті. ПКМ ще раз — оформити'))
svSend('price')
} else {
svSend('menu')
}
})
function svDraw () {
var player = Client.player
if (!player || !svA) return
if (!svHolding(player)) return
var b = svB || svAim(player)
var x1 = Math.min(svA[0], b[0]) * 16; var x2 = (Math.max(svA[0], b[0]) + 1) * 16
var z1 = Math.min(svA[1], b[1]) * 16; var z2 = (Math.max(svA[1], b[1]) + 1) * 16
var tooBig = svCount(svA, b) > svMax(player)
var colour = tooBig ? 0xE05050 : svB ? 0x6FE7A0 : 0xFFFFFF
SvOutliner.getInstance().showAABB('createrp_survey', new SvAABB(x1, -64, z1, x2, 320, z2))
.colored(colour).lineWidth(1 / 8).withFaceTexture(SvTextures.CHECKERED)
if (!svB && player.tickCount % 10 === 0) {
player.setStatusMessage(Text.of((tooBig ? '§c' : '§f') + svCount(svA, b) + ' чанк. (' + (Math.abs(svA[0] - b[0]) + 1) + '×' + (Math.abs(svA[1] - b[1]) + 1) + ')' + (tooBig ? ' — забагато' : ' · ПКМ — другий кут')))
}
}
ClientEvents.tick(event => {
if (svBroken) return
try { svDraw() } catch (e) { svBroken = true; console.error('[createrp] land survey outline switched off: ' + e) }
})
// щойно сервер показав на цьому місці ділянку — територію зареєстровано, обведення більше не потрібне
NetworkEvents.dataReceived('createrp_plots', event => {
if (!svA || !svB) return
var text = String(event.data.getString('plots'))
if (text.indexOf(svA[0] + ',' + svA[1]) >= 0 && text.indexOf(svB[0] + ',' + svB[1]) >= 0) { svA = null; svB = null }
})
+20
View File
@@ -0,0 +1,20 @@
// Create RP — предмети збірки. Цей файл має бути ОДНАКОВИМ у серверній і клієнтській збірках:
// реєстр предметів сервера й клієнта мусить збігатися.
StartupEvents.registry('item', event => {
// «Довідник громадянина»: навести в інвентарі й затиснути W — туторіал Ponder (клієнтський client_scripts/createrp_ponder.js)
event.create('citizen_guide')
.displayName('Довідник громадянина')
.texture('minecraft:item/knowledge_book')
.maxStackSize(1)
.glow(true)
.tooltip('§7Наведи в інвентарі й затисни §fW§7 — як у Create')
// «Планшет землеміра»: обвести територію по чанках і зареєструвати її (client_scripts/createrp_survey.js)
event.create('land_survey')
.displayName('Планшет землеміра')
.texture('create:item/schematic_and_quill')
.maxStackSize(1)
.tooltip('§7ПКМ по землі — кут території, ще раз — другий кут')
.tooltip('§7Третій ПКМ — оформити · Shift+ПКМ — скинути')
})
+13
View File
@@ -0,0 +1,13 @@
name = "Ars Nouveau"
filename = "ars_nouveau-1.21.1-5.13.3.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/TKB6INcv/versions/yWDnir1o/ars_nouveau-1.21.1-5.13.3.jar"
hash-format = "sha512"
hash = "30f188cfc932bd58c95740488732df7e92d98e7345e271b1a223e41a43fc3dd52284d0ff07fc3e8a95e914082f899394eff3a0f37c174d317e6e37fb68b083df"
[update]
[update.modrinth]
mod-id = "TKB6INcv"
version = "yWDnir1o"
+13
View File
@@ -0,0 +1,13 @@
name = "Better Advanced Tooltips"
filename = "better-advanced-tooltips-2101.1.0-build.5.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/iHLDc0eo/versions/uPFbnD32/better-advanced-tooltips-2101.1.0-build.5.jar"
hash-format = "sha512"
hash = "05b5cdad948d1735eab7a67a16aaf32814678c392014ec2ada61b8341c0ed1c1ac181cab1de9da3f2c4632592f4a1a5db254bd0543e6778897c8ccd260894142"
[update]
[update.modrinth]
mod-id = "iHLDc0eo"
version = "uPFbnD32"
@@ -0,0 +1,13 @@
name = "Create Aeronautics and Connected Fluid Vessel Compatability"
filename = "aeroconnectedfluidvessel-1.0.0.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/59EBKVqI/versions/IAyRzWB7/aeroconnectedfluidvessel-1.0.0.jar"
hash-format = "sha512"
hash = "c3e509644350e7028d5c6be057925f793cea5a16086d8896d21fc2fabe20a851286ee40dbf02503466fc5c8a17fb01b445e28f7dea006a22f6e8b1dd495b9ae7"
[update]
[update.modrinth]
mod-id = "59EBKVqI"
version = "IAyRzWB7"
+13
View File
@@ -0,0 +1,13 @@
name = "Create: Central Kitchen"
filename = "create-central-kitchen-2.4.0.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/btq68HMO/versions/TUJIHmUh/create-central-kitchen-2.4.0.jar"
hash-format = "sha512"
hash = "adcdb5a85b2dd727fa2b0563aa9e73d26b58ee3ae57192e049f0c2a1e4a878dc9d07fe20589f6e52e6f4be2ba1bb5ab3a64f5fcf5f1f9a42b9518e7c2380fd23"
[update]
[update.modrinth]
mod-id = "btq68HMO"
version = "TUJIHmUh"
+13
View File
@@ -0,0 +1,13 @@
name = "Create: Connected"
filename = "create_connected-1.3.3-mc1.21.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/Vg5TIO6d/versions/Xe7EqzfQ/create_connected-1.3.3-mc1.21.1.jar"
hash-format = "sha512"
hash = "485675693980a266611669857fa9cd348e2a29140b87bf0a8ab3e13c3591422cceaa36b7a2eb90084d35ec1868c8eec9f924383bb4dada2dddcb72e9f09361b0"
[update]
[update.modrinth]
mod-id = "Vg5TIO6d"
version = "Xe7EqzfQ"
+13
View File
@@ -0,0 +1,13 @@
name = "Create Stuff 'N Additions"
filename = "create-stuff-additions1.21.1_v2.1.4b.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/aq9qUUQG/versions/gMWQ1LX9/create-stuff-additions1.21.1_v2.1.4b.jar"
hash-format = "sha512"
hash = "75cd8a0a2f898b3599cb267c26c02691e53f8ca8f6c6c4f16d1a82db8fea4494988f163559cc3a8b471683d5b52353ba065def8846a7ff2073bddf42e68b5e7d"
[update]
[update.modrinth]
mod-id = "aq9qUUQG"
version = "gMWQ1LX9"
@@ -0,0 +1,13 @@
name = "Create Stuff 'N Additions x Sable & Aeronautics Compat"
filename = "SableStuffAdditionsCompat v1.0.3-1.21.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/gsAqDfOu/versions/oOYLBz7M/SableStuffAdditionsCompat%20v1.0.3-1.21.1.jar"
hash-format = "sha512"
hash = "f3ab35c1dc840bb42f05ba7d4170169e8db141f67e6e5a5e0b33b0e692c5b86c96ba0593443436bd254598596a27c1643fad39e476329bcc676e768a9ca9ce18"
[update]
[update.modrinth]
mod-id = "gsAqDfOu"
version = "oOYLBz7M"
+13
View File
@@ -0,0 +1,13 @@
name = "CreateBetterFps"
filename = "createbetterfps-1.21.1-1.1.5.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/lMYIHZNH/versions/dxmPYimo/createbetterfps-1.21.1-1.1.5.jar"
hash-format = "sha512"
hash = "d98deec79eefb8e0c8ddda7def8a46f4c66402a213da5242f8ff029f43b844e68914fa31af3c8aed646d131ee9bfac3a63032df399b1f76cc99b5c312f32df24"
[update]
[update.modrinth]
mod-id = "lMYIHZNH"
version = "dxmPYimo"
+13
View File
@@ -0,0 +1,13 @@
name = "CustomNPCs-Unofficial"
filename = "CustomNPCs-Unofficial-NeoForge-1.21.1.20241226.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/vFAmwl6B/versions/5gdSEvLv/CustomNPCs-Unofficial-NeoForge-1.21.1.20241226.jar"
hash-format = "sha512"
hash = "b310a567d938480ed82b285da26e8b5e6925b2450fbcb4fb2ce4bc654465b4f2bee953bfcb32ac0a8e5a0b626bbe2ac13d89c10e59d3d04b8ef996465c78a8bf"
[update]
[update.modrinth]
mod-id = "vFAmwl6B"
version = "5gdSEvLv"
-13
View File
@@ -1,13 +0,0 @@
name = "DAP ur Homies!"
filename = "DAP ur HOMIE (Bully ur Homie).jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/V3QHTHDA/versions/W02uSI93/DAP%20ur%20HOMIE%20%28Bully%20ur%20Homie%29.jar"
hash-format = "sha512"
hash = "e4e519e7d8f67e7e5e3ac506224e2e51258e788fdd374d508132bf867dd11025e756d548ceb103ed90caaac6f668886174fff84314fb3e8c011821c3978d86e5"
[update]
[update.modrinth]
mod-id = "V3QHTHDA"
version = "W02uSI93"
-13
View File
@@ -1,13 +0,0 @@
name = "Essential Mod"
filename = "Essential_1-3-10-8_neoforge_1-21-1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/k2ZPuTBm/versions/L1fxDroJ/Essential_1-3-10-8_neoforge_1-21-1.jar"
hash-format = "sha512"
hash = "a1ada47c3361e89b19ddbc7ef8def13fd0f3f946ece87299c8146f5b6cf930808c24b3387d9b1e483f4f0c2b0ae161b467fc01005c985fad3bcd5578c70df33a"
[update]
[update.modrinth]
mod-id = "k2ZPuTBm"
version = "L1fxDroJ"
+13
View File
@@ -0,0 +1,13 @@
name = "Geckolib"
filename = "geckolib-neoforge-1.21.1-4.9.3.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/8BmcQJ2H/versions/Grwn5rUB/geckolib-neoforge-1.21.1-4.9.3.jar"
hash-format = "sha512"
hash = "8dfa5f8c57224a5e34e5098367ea9819ca6dc9c11357cd3062c16da3455c8bd1a483098af7383debc4b9ce8e4d7ab3fdc799b415644eb829da83eb72a7335dfd"
[update]
[update.modrinth]
mod-id = "8BmcQJ2H"
version = "Grwn5rUB"
+13
View File
@@ -0,0 +1,13 @@
name = "KubeJS"
filename = "kubejs-neoforge-2101.7.2-build.377.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/umyGl7zF/versions/THIGFPwf/kubejs-neoforge-2101.7.2-build.377.jar"
hash-format = "sha512"
hash = "fcdbee8790f8f39c106ab4bf606808c9c5bf0f13a41e216207a6fe4d15bf4a5722ce57078781e3a1823e7fdd2928e8e042d104d8ae255a36db8f12a9f46d8089"
[update]
[update.modrinth]
mod-id = "umyGl7zF"
version = "THIGFPwf"
+13
View File
@@ -0,0 +1,13 @@
name = "Open Parties and Claims"
filename = "open-parties-and-claims-neoforge-1.21.1-0.31.6.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/gF3BGWvG/versions/3i48dTzz/open-parties-and-claims-neoforge-1.21.1-0.31.6.jar"
hash-format = "sha512"
hash = "6f8f2d570b6f674a9180576524b3ba507a3ad046ff319353cee50738644bf46c03ca460fb7c6880eed76f07eb2a26a983166d2510951202af86b3e120b743181"
[update]
[update.modrinth]
mod-id = "gF3BGWvG"
version = "3i48dTzz"
-13
View File
@@ -1,13 +0,0 @@
name = "Player Animation Library"
filename = "PlayerAnimationLibNeoforge-1.1.4+mc.1.21.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/ha1mEyJS/versions/X11AqKQb/PlayerAnimationLibNeoforge-1.1.4%2Bmc.1.21.1.jar"
hash-format = "sha512"
hash = "d3a07aef209ee113a1df14ef74a9f9adecd4f98d506f7ef801e68ff3557864847bf8e2f46e329e54c2223b4160e4976a5e10f39d2aec4087b9110788b6ff3be8"
[update]
[update.modrinth]
mod-id = "ha1mEyJS"
version = "X11AqKQb"
+13
View File
@@ -0,0 +1,13 @@
name = "Ponder for KubeJS"
filename = "ponderjs-neoforge-1.21.1-2.4.0.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/5A34Stj8/versions/BqhDf7W8/ponderjs-neoforge-1.21.1-2.4.0.jar"
hash-format = "sha512"
hash = "6390c4bf631561c29a76b8b29a496d4b984bf847572940b28e551f2c2e3da4a8fb04b6a82cf98a7935792a7d3485cdc45c76f2bdf7f93799210262ba5f184955"
[update]
[update.modrinth]
mod-id = "5A34Stj8"
version = "BqhDf7W8"
+13
View File
@@ -0,0 +1,13 @@
name = "Rhino"
filename = "rhino-2101.2.8-build.91.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/sk9knFPE/versions/SqkDvOLG/rhino-2101.2.8-build.91.jar"
hash-format = "sha512"
hash = "e3d92f663bc07872a83b0a6474b30a75230e9f92a2844fd98da1842ec9a79712bcb7d8e76574cc11ae3aeceb47f2933c60ddd6cf41f3ad7027bd573623730945"
[update]
[update.modrinth]
mod-id = "sk9knFPE"
version = "SqkDvOLG"
-13
View File
@@ -1,13 +0,0 @@
name = "Sodium Dynamic Lights"
filename = "sodiumdynamiclights-neoforge-1.0.10-1.21.1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/PxQSWIcD/versions/XI0WLXdn/sodiumdynamiclights-neoforge-1.0.10-1.21.1.jar"
hash-format = "sha512"
hash = "ec19a81cf2dfde255990a457d8f6d7375df53cb94190dce71c4bfe5d5263f4862027ce4aa0af20cb11d56c7c031d5e149b3bdf95bec6343e5bd4552450b14c0a"
[update]
[update.modrinth]
mod-id = "PxQSWIcD"
version = "XI0WLXdn"
-13
View File
@@ -1,13 +0,0 @@
name = "Sodium Options API"
filename = "sodiumoptionsapi-neoforge-1.0.10-1.21.1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/Es5v4eyq/versions/lrsX3TMS/sodiumoptionsapi-neoforge-1.0.10-1.21.1.jar"
hash-format = "sha512"
hash = "f2f022183f300961d7d0503461daa59e3e606c32f189f1cb3307edaf765986c541929205b7bf6f40c4c88319696e9d863c1bf711bd441dc9b7081c198ddb445b"
[update]
[update.modrinth]
mod-id = "Es5v4eyq"
version = "lrsX3TMS"
-13
View File
@@ -1,13 +0,0 @@
name = "XPlus Autofish (Fabric / Forge / NeoForge)"
filename = "xplus-autofish-1.3.3-neoforged-mc1.21.1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/2H1rLgy4/versions/nC2iqgow/xplus-autofish-1.3.3-neoforged-mc1.21.1.jar"
hash-format = "sha512"
hash = "e1680e37749e0229972be0feede3d88141c59e04f6bdc66a61238aad950134e132b366f70361a0cf703e132a8bb2b15dc5befa5989caded852e67a2b829ae6f0"
[update]
[update.modrinth]
mod-id = "2H1rLgy4"
version = "nC2iqgow"
+2 -2
View File
@@ -1,12 +1,12 @@
name = "Create RP" name = "Create RP"
author = "Pinecraft-CreateRP" author = "Pinecraft-CreateRP"
version = "0.1.0" version = "0.13.4"
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 = "82d2822700967bcd03c3e01038401304546e4a1c690ad35d680e38a55742001d" hash = "81f8695f40529f73499f65f424662fe73d17725fc8c3b9df85fb7ec367d0d903"
[versions] [versions]
minecraft = "1.21.1" minecraft = "1.21.1"
+46
View File
@@ -0,0 +1,46 @@
// Adds a Modrinth mod (and its required dependencies, recursively) to this packwiz pack.
// node tools/add-mod.mjs <slug-or-id> [...] → latest NeoForge 1.21.1 version
// node tools/add-mod.mjs <slug>@<version_number> → that exact version
// Writes mods/<slug>.pw.toml, then run: node tools/reindex.mjs
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
const UA = { 'User-Agent': 'Pinecraft-CreateRP/add-mod' };
const api = p => fetch('https://api.modrinth.com/v2' + p, { headers: UA }).then(r => {
if (!r.ok) throw new Error(`${p}: HTTP ${r.status}`);
return r.json();
});
const q = s => JSON.stringify(s);
const existing = new Set(fs.readdirSync(path.join(root, 'mods')).filter(f => f.endsWith('.pw.toml')).map(f => {
const t = fs.readFileSync(path.join(root, 'mods', f), 'utf8');
return (t.match(/^mod-id = "([^"]+)"/m) || [])[1];
}).filter(Boolean));
const sideOf = p => p.server_side === 'unsupported' ? 'client' : p.client_side === 'unsupported' ? 'server' : 'both';
async function add(spec, depth = 0) {
const [ref, wanted] = spec.split('@');
const project = await api(`/project/${ref}`);
const pad = ' '.repeat(depth);
if (existing.has(project.id)) { console.log(`${pad}= ${project.title} — already in the pack`); return; }
const versions = await api(`/project/${project.id}/version?loaders=${encodeURIComponent('["neoforge"]')}&game_versions=${encodeURIComponent('["1.21.1"]')}`);
const v = wanted ? versions.find(x => x.version_number === wanted) : versions[0];
if (!v) throw new Error(`${project.title}: no NeoForge 1.21.1 version${wanted ? ' ' + wanted : ''}`);
const f = v.files.find(x => x.primary) || v.files[0];
const toml = [
`name = ${q(project.title)}`, `filename = ${q(f.filename)}`, `side = ${q(sideOf(project))}`, '',
'[download]', `url = ${q(f.url)}`, 'hash-format = "sha512"', `hash = ${q(f.hashes.sha512)}`, '',
'[update]', '[update.modrinth]', `mod-id = ${q(project.id)}`, `version = ${q(v.id)}`, ''
].join('\n');
fs.writeFileSync(path.join(root, 'mods', `${project.slug}.pw.toml`), toml);
existing.add(project.id);
console.log(`${pad}+ ${project.title} ${v.version_number} (${sideOf(project)})`);
for (const d of v.dependencies.filter(d => d.dependency_type === 'required' && d.project_id)) {
await add(d.project_id, depth + 1);
}
}
for (const spec of process.argv.slice(2)) await add(spec);
+3 -1
View File
@@ -1,7 +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);
// config/ goes 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';
import { execFileSync } from 'child_process'; import { execFileSync } from 'child_process';
@@ -60,6 +60,8 @@ fs.rmSync(stage, { recursive: true, force: true });
fs.mkdirSync(path.join(stage, 'overrides'), { recursive: true }); fs.mkdirSync(path.join(stage, 'overrides'), { recursive: true });
fs.writeFileSync(path.join(stage, 'modrinth.index.json'), JSON.stringify(index, null, 2)); 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 }); fs.cpSync(path.join(root, 'config'), path.join(stage, 'overrides', 'config'), { 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 });
const out = path.join(root, 'dist', `CreateRP-${packVersion}.mrpack`); const out = path.join(root, 'dist', `CreateRP-${packVersion}.mrpack`);
fs.rmSync(out, { force: true }); fs.rmSync(out, { force: true });