Compare commits

..
14 Commits
Author SHA1 Message Date
FulldroperandClaude Opus 5.5 caeca58256 0.14.0: Joy of Painting, Armourer's Workshop, Immersive Paintings; NeoForge 21.1.259
Joy of Painting 2.0.1 needs NeoForge 21.1.242 or newer, so the loader moves from 21.1.228
to 21.1.259 together with the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:51:04 +03:00
FulldroperandClaude Opus 5.5 17aade96ad Tutorial: street kiosks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 12:54:45 +03:00
FulldroperandClaude Opus 5.5 25a4bc0162 Tutorial: the mine shift — foreman, order, state ore, pay on delivery
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 09:52:05 +03:00
FulldroperandClaude Opus 5.5 01039392b4 Tutorial: factory parts come off and are put back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 09:00:01 +03:00
FulldroperandClaude Opus 5.5 de07864e26 Tutorial: passers-by on the streets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 08:20:21 +03:00
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
13 changed files with 276 additions and 43 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
# Create RP — клієнт # Create RP — клієнт
Клієнтська збірка для сервера **Create RP** (`create.fulldroper.ks.ua`): Minecraft **1.21.1**, NeoForge **21.1.228**, 114 модів. Клієнтська збірка для сервера **Create RP** (`create.fulldroper.ks.ua`): Minecraft **1.21.1**, NeoForge **21.1.259**, 116 модів.
## Встановлення ## Встановлення
**Modrinth App (найпростіше):** завантажити `CreateRP-<версія>.mrpack` з [релізів](../client/releases) → **Modrinth App (найпростіше):** завантажити `CreateRP-<версія>.mrpack` з [релізів](../client/releases) →
Modrinth App → «+» → «Import from file». Збірка сама підтягне NeoForge 21.1.228 і всі моди. Modrinth App → «+» → «Import from file». Збірка сама підтягне NeoForge 21.1.259 і всі моди.
**Prism Launcher / packwiz-installer (автооновлення):** профіль NeoForge 1.21.1 / 21.1.228, у pre-launch команді **Prism Launcher / packwiz-installer (автооновлення):** профіль NeoForge 1.21.1 / 21.1.259, у pre-launch команді
``` ```
"$INST_JAVA" -jar packwiz-installer-bootstrap.jar https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/raw/branch/main/pack.toml "$INST_JAVA" -jar packwiz-installer-bootstrap.jar https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/raw/branch/main/pack.toml
+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]
# #
+27 -9
View File
@@ -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"
@@ -814,15 +818,19 @@ hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f"
[[files]] [[files]]
file = "kubejs/client_scripts/createrp_plots.js" file = "kubejs/client_scripts/createrp_plots.js"
hash = "8597716263518bdea8748e7f8b2bb54475207462f653a7a93a353b74a8aa8aa0" hash = "2a4686d252bd289fd99bde461bdfe3e2215cf35640f36e0610737730016ca2a0"
[[files]] [[files]]
file = "kubejs/client_scripts/createrp_ponder.js" file = "kubejs/client_scripts/createrp_ponder.js"
hash = "c5e0eea010e47d5f5d9ef617c85953229df94180081a6a53c024658d03a01c52" hash = "3bde91bbaaa243ebe556357eb68e0e0f21f48dff67f80a7e7d638b59c2d02f28"
[[files]]
file = "kubejs/client_scripts/createrp_survey.js"
hash = "5c170dc3cca31ab560eec9ca326116ee4f666ccd800a79a1c044c4b90f4f8288"
[[files]] [[files]]
file = "kubejs/startup_scripts/createrp_items.js" file = "kubejs/startup_scripts/createrp_items.js"
hash = "58100f02cf749b138c2a91567df37afce4b2ef494738268963e8443a3e603036" hash = "05f1daa03e00a7429c51a7d8239c8fde894f7faff64cbb6ca978956ca1810497"
[[files]] [[files]]
file = "mods/3dskinlayers.pw.toml" file = "mods/3dskinlayers.pw.toml"
@@ -854,6 +862,11 @@ file = "mods/architectury-api.pw.toml"
hash = "ea336d25c3e21ef168aec20e1ea470c96949ad29632646ee8e8ab0d74b4bbfc9" hash = "ea336d25c3e21ef168aec20e1ea470c96949ad29632646ee8e8ab0d74b4bbfc9"
metafile = true metafile = true
[[files]]
file = "mods/armourers-workshop.pw.toml"
hash = "9fde3fc37e25b17f175145590130aa284439296578fc2b599cbc71f603451d65"
metafile = true
[[files]] [[files]]
file = "mods/ars-nouveau.pw.toml" file = "mods/ars-nouveau.pw.toml"
hash = "9645a2d42361e38b0747c43f5e82a7f74cd4f06940cad02d6591e7c81835f733" hash = "9645a2d42361e38b0747c43f5e82a7f74cd4f06940cad02d6591e7c81835f733"
@@ -1134,6 +1147,11 @@ file = "mods/immediatelyfast.pw.toml"
hash = "3d47b1d933d04934a606be1cbb67481860c3d68c9ed4efc387c7745d23b732a7" hash = "3d47b1d933d04934a606be1cbb67481860c3d68c9ed4efc387c7745d23b732a7"
metafile = true metafile = true
[[files]]
file = "mods/immersive-paintings.pw.toml"
hash = "f4f4f93fd59e6a43e7484b44c667875cc8a5d8e5621d98b61e8944c9e0838d61"
metafile = true
[[files]] [[files]]
file = "mods/inventory-essentials.pw.toml" file = "mods/inventory-essentials.pw.toml"
hash = "702a028e2d428d352b4d664a21b0fb6182c20a930888a6c962f557aeba05871f" hash = "702a028e2d428d352b4d664a21b0fb6182c20a930888a6c962f557aeba05871f"
@@ -1159,6 +1177,11 @@ file = "mods/jei.pw.toml"
hash = "5367193d3f87b7bc5a81bcd64a5b96a843e76d4df7a83c8bb7e1911aa82dd52e" hash = "5367193d3f87b7bc5a81bcd64a5b96a843e76d4df7a83c8bb7e1911aa82dd52e"
metafile = true metafile = true
[[files]]
file = "mods/joy-of-painting.pw.toml"
hash = "5b21ffe8e89b5b31876365b950b2e44fe6d51f8e3d6d3f8c639174ed4f9f8c9c"
metafile = true
[[files]] [[files]]
file = "mods/just-enough-resources-jer.pw.toml" file = "mods/just-enough-resources-jer.pw.toml"
hash = "7905c08f37d8ebde50a5330a7dd10029de6259b0cb8adbde1170d93ea20218a7" hash = "7905c08f37d8ebde50a5330a7dd10029de6259b0cb8adbde1170d93ea20218a7"
@@ -1319,11 +1342,6 @@ 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"
+14 -4
View File
@@ -7,7 +7,10 @@ const RpOutliner = Java.loadClass('net.createmod.catnip.outliner.Outliner')
const RpAABB = Java.loadClass('net.minecraft.world.phys.AABB') const RpAABB = Java.loadClass('net.minecraft.world.phys.AABB')
const RpTextures = Java.loadClass('com.simibubi.create.AllSpecialTextures') const RpTextures = Java.loadClass('com.simibubi.create.AllSpecialTextures')
const PLOT_COLOR = { mine: 0x4FC3F7, free: 0x66DD66, auction: 0xFFD54F, taken: 0xB0B0B0, frozen: 0xE05050, state: 0xFF9800 } // своя — блакитна, вільна (лот) — зелена, чужа — сіра, аукціон — жовта, заморожена — фіолетова;
// державна: резерв — червона, дорога — помаранчева (не збудована) і синя (збудована), шахта — коричнева
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 SHOW_TICKS = 100 // 5 секунд після входу на ділянку
const WALL_BOTTOM = -64 // стіна межі стоїть на всю висоту світу й не рухається разом із гравцем const WALL_BOTTOM = -64 // стіна межі стоїть на всю висоту світу й не рухається разом із гравцем
const WALL_TOP = 320 const WALL_TOP = 320
@@ -15,6 +18,8 @@ const WALL_HALF = 1 / 16 // пів товщини стіни: у пло
let rpPlots = [] // { id, kind, walls: [[x1, z1, x2, z2], …] } let rpPlots = [] // { id, kind, walls: [[x1, z1, x2, z2], …] }
let rpByChunk = {} // "cx,cz" -> індекс у rpPlots let rpByChunk = {} // "cx,cz" -> індекс у rpPlots
// державну землю при вході не підсвічуємо — її видно лише з довідником у руці
const RP_QUIET = { reserved: true, road: true, road_built: true, state_mine: true, state: true }
let rpHere = '' let rpHere = ''
let rpShowUntil = 0 let rpShowUntil = 0
let rpTick = 0 let rpTick = 0
@@ -61,7 +66,7 @@ NetworkEvents.dataReceived('createrp_plots', event => {
cells.push([Number(xz[0]), Number(xz[1])]) cells.push([Number(xz[0]), Number(xz[1])])
byChunk[Number(xz[0]) + ',' + Number(xz[1])] = plots.length byChunk[Number(xz[0]) + ',' + Number(xz[1])] = plots.length
} }
plots.push({ id: f[0], kind: f[1], walls: rpWalls(cells) }) plots.push({ id: f[0], kind: f[1], cells: cells, walls: rpWalls(cells) })
} }
rpPlots = plots; rpByChunk = byChunk rpPlots = plots; rpByChunk = byChunk
}) })
@@ -71,8 +76,13 @@ function rpDraw () {
var player = Client.player var player = Client.player
if (!player) return if (!player) return
rpTick++ rpTick++
var idx = rpByChunk[Math.floor(player.x / 16) + ',' + Math.floor(player.z / 16)] var cx = Math.floor(player.x / 16); var cz = Math.floor(player.z / 16)
var here = idx === undefined ? '' : rpPlots[idx].id 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 } 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' var holding = String(player.mainHandItem.id) === 'kubejs:citizen_guide' || String(player.offHandItem.id) === 'kubejs:citizen_guide'
if (!holding && rpTick >= rpShowUntil) return if (!holding && rpTick >= rpShowUntil) return
+28 -10
View File
@@ -241,6 +241,12 @@ function landScene(scene, util) {
say(scene, 70, 'Постав на чанку комп\'ютер і набери rp', [2.5, 2.5, 2.5], null, true) 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])
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], PonderPalette.RED, true)
say(scene, 70, 'Біля готової дороги — теж дорожча', [2.5, 2.5, 2.5]) say(scene, 70, 'Біля готової дороги — теж дорожча', [2.5, 2.5, 2.5])
@@ -260,7 +266,8 @@ function landScene(scene, util) {
say(scene, 70, 'Бури Create теж копають лише з дозволом', [3.5, 2, 3.5]) 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], PonderPalette.BLUE, true)
say(scene, 70, 'Блакитна рамка — твоя, сіра — чужа, помаранчева — державна', [2.5, 2.5, 2.5]) say(scene, 70, 'Блакитна межа — твоя, сіра — чужа, червона — державна', [2.5, 2.5, 2.5])
say(scene, 70, 'Дорога: помаранчева — ще будується, синя — готова', [2.5, 2.5, 2.5])
} }
// --------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------
@@ -351,9 +358,11 @@ function roadsScene(scene, util) {
} }
scene.idle(10) scene.idle(10)
say(scene, 70, 'Кожен новий блок дороги — 0,3 ¤', [2.5, 1.5, 2.5], PonderPalette.GREEN, true) say(scene, 70, 'Кожен новий блок дороги — 0,3 ¤', [2.5, 1.5, 2.5], PonderPalette.GREEN, true)
say(scene, 70, 'Гроші — в кінці ігрового дня, до 300 блоків на день', [2.5, 1.5, 2.5])
say(scene, 70, 'Перекласти той самий блок вдруге — не оплачується', [2.5, 1.5, 2.5], PonderPalette.RED)
say(scene, 80, 'Покриття: кам\'яна цегла, гладкий камінь, андезит, плитка Create', [2.5, 1.5, 2.5]) 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])
} }
// --------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------
@@ -371,18 +380,22 @@ function minerScene(scene, util) {
scene.idle(15) scene.idle(15)
say(scene, 70, 'Це державна шахта', [2.5, 2.5, 1], PonderPalette.BLUE, true) 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], PonderPalette.RED)
say(scene, 70, 'Найнятися: бригадир шахти або термінал → Робота', [2.5, 2.5, 1]) say(scene, 80, 'Бригадир шахти наймає, починає зміну й видає кайло, робу та світло', [2.5, 2.5, 1])
say(scene, 80, 'Він же дає наряд: скільки якої руди принести', [2.5, 2.5, 1], PonderPalette.BLUE)
scene.showControls(40, [2.5, 1.5, 1], 'right').leftClick().withItem('minecraft:iron_pickaxe') scene.showControls(40, [2.5, 1.5, 1], 'right').leftClick().withItem('minecraft:iron_pickaxe')
scene.idle(30) scene.idle(30)
scene.world.destroyBlock([2, 1, 1]) scene.world.destroyBlock([2, 1, 1])
scene.idle(15) scene.idle(15)
say(scene, 70, 'Руда одразу йде державі — без дропу', [2.5, 1.5, 1], null, true) say(scene, 80, 'Руда падає одразу в торбу — це державна руда', [2.5, 1.5, 1], null, true)
say(scene, 80, 'Порода нічого не дає. Рубати можна лише породу й руду', [2.5, 1.5, 1])
scene.world.createItemEntity([2.5, 2, 0.8], [0, 0.2, 0], 'numismatics:spur') 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, 80, 'Принеси руду бригадирові — він платить одразу', [2.5, 1.5, 1], PonderPalette.GREEN)
say(scene, 70, 'Алмази й золото дорожчі за вугілля', [2.5, 1.5, 1]) say(scene, 70, 'Алмази й золото дорожчі за вугілля', [2.5, 1.5, 1])
say(scene, 70, 'Гроші — в кінці ігрового дня, до 200 блоків на день', [2.5, 2.5, 2]) say(scene, 80, 'Виконав увесь наряд — премія 25%. Платять до 256 руди на день', [2.5, 2.5, 2])
say(scene, 90, 'Казенне спорядження й руду за межі шахти не винести — вони зникнуть', [2.5, 2.5, 2], PonderPalette.RED)
say(scene, 90, 'Усе вирубане за 10 хвилин заростає — шахта не закінчується', [2.5, 2.5, 2])
scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore') scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore')
scene.idle(10) scene.idle(10)
@@ -413,6 +426,9 @@ function operatorScene(scene, util) {
say(scene, 70, 'Затор — прочисть порожньою рукою', [1.5, 2, 2.5]) say(scene, 70, 'Затор — прочисть порожньою рукою', [1.5, 2, 2.5])
scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('create:wrench') scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('create:wrench')
say(scene, 70, 'Розхиталась деталь — підтягни ключем', [1.5, 2, 2.5]) say(scene, 70, 'Розхиталась деталь — підтягни ключем', [1.5, 2, 2.5])
scene.showControls(60, [3.5, 2, 2.5], 'down').rightClick().withItem('create:cogwheel')
say(scene, 80, 'Злетіла шестерня чи лопнув вал — деталь падає на підлогу', [3.5, 2, 2.5], PonderPalette.RED, true)
say(scene, 80, 'Підніми її й клацни по зламаному місцю з деталлю в руці', [3.5, 2, 2.5])
scene.world.createItemEntity([1.5, 2.2, 2.5], [0, 0.2, 0], 'numismatics:spur') 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 ¤ у кінці ігрового дня', [2.5, 2.5, 2.5], PonderPalette.GREEN, true)
@@ -432,6 +448,8 @@ function officialsScene(scene, util) {
say(scene, 70, 'Клацни по службовцю й обери репліку', [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.BLUE, 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.GREEN)
say(scene, 80, 'На вулицях трапляються перехожі: з ними теж можна побалакати про міські новини', [2.5, 2.5, 2.5])
say(scene, 90, 'У ларьках продають найнеобхідніше: їжу, інструмент, дошки, КПК. Дорого, зате одразу в руки', [2.5, 2.5, 2.5], PonderPalette.GREEN)
scene.world.createEntity('minecraft:villager', [0.5, 1, 0.5]) 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', [4.5, 1, 0.5])
@@ -442,7 +460,7 @@ function officialsScene(scene, util) {
say(scene, 70, 'Міністерство: тендери й частки ринку', [4.5, 2.5, 0.5]) say(scene, 70, 'Міністерство: тендери й частки ринку', [4.5, 2.5, 0.5])
say(scene, 70, 'Банк: рахунок, кредити, вклад', [0.5, 2.5, 4.5]) say(scene, 70, 'Банк: рахунок, кредити, вклад', [0.5, 2.5, 4.5])
say(scene, 70, 'Центр зайнятості: робота й допомога', [4.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], PonderPalette.BLUE, true)
say(scene, 80, 'Щоб щось оформити — іди до термінала', [2.5, 2.5, 2.5]) say(scene, 80, 'Щоб щось оформити — іди до термінала', [2.5, 2.5, 2.5])
} }
@@ -573,7 +591,7 @@ function boardScene(scene, util) {
Ponder.tags(event => { Ponder.tags(event => {
event.createTag('kubejs:createrp', 'kubejs:citizen_guide', 'Держава Create RP', 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', 'ars_nouveau:source_gem', 'hexcasting:amethyst_dust']) ['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 => { Ponder.registry(event => {
+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 }
})
+8
View File
@@ -9,4 +9,12 @@ StartupEvents.registry('item', event => {
.maxStackSize(1) .maxStackSize(1)
.glow(true) .glow(true)
.tooltip('§7Наведи в інвентарі й затисни §fW§7 — як у Create') .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 = "Armourer's Workshop"
filename = "armourersworkshop-forge-1.21.1-3.4.0-beta.3.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/y4JF3gXL/versions/aXfzs8l3/armourersworkshop-forge-1.21.1-3.4.0-beta.3.jar"
hash-format = "sha512"
hash = "236d3ba7426d51d93047cc7df371351c2f2b67d26badc75e180e5eff9572ac0e34bebcce67262d1da70ad1ceb2547b9e60bf8e8c880dbe299d0d92c3a07862fc"
[update]
[update.modrinth]
mod-id = "y4JF3gXL"
version = "aXfzs8l3"
+13
View File
@@ -0,0 +1,13 @@
name = "Immersive Paintings"
filename = "immersive_paintings-neoforge-1.21.1-0.7.9.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/6txNkua3/versions/ItQ1UJGH/immersive_paintings-neoforge-1.21.1-0.7.9.jar"
hash-format = "sha512"
hash = "de3e06f3c9f8ce6f041daff5c2b835ec0f386ccdab7ea7fe2cfec57f808ed25675fe056ff062d5f435f5248aa7f0eb3816ae7d4748da8e53beae2419008cb031"
[update]
[update.modrinth]
mod-id = "6txNkua3"
version = "ItQ1UJGH"
+13
View File
@@ -0,0 +1,13 @@
name = "Joy of Painting"
filename = "xercapaint-neoforge-1.21.1-2.0.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/YOs4tZea/versions/73U02HbA/xercapaint-neoforge-1.21.1-2.0.1.jar"
hash-format = "sha512"
hash = "a79e8f5af0a744492a09e1be417a76f4d4a03786b80d9b9fad298480c09a443a2a1ac54826d42fa8d6b5d1c4b4edc8dc227ba2aa642e7ffb3993bbfbf99c971a"
[update]
[update.modrinth]
mod-id = "YOs4tZea"
version = "73U02HbA"
-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"
+3 -3
View File
@@ -1,13 +1,13 @@
name = "Create RP" name = "Create RP"
author = "Pinecraft-CreateRP" author = "Pinecraft-CreateRP"
version = "0.12.6" version = "0.14.0"
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 = "102ae6c50b4f369c8fc066bca23fc92413ebbd0999aaf5a0a676775703d9c4c0" hash = "72430bb5e5eb2314ea356938ef1df42244645ccc1380c2502839c6c651a6cec3"
[versions] [versions]
minecraft = "1.21.1" minecraft = "1.21.1"
neoforge = "21.1.228" neoforge = "21.1.259"