From d2d5f7799007bcf11ddeb69819d451bca82c382a Mon Sep 17 00:00:00 2001 From: Fulldroper <40297614+Fulldroper@users.noreply.github.com> Date: Sat, 10 Oct 2026 07:53:05 +0300 Subject: [PATCH] 0.11.0: remove DAP ur Homies and Player Animation Library; tutorial: energy scene works in Rhino Co-Authored-By: Claude Opus 5.5 --- index.toml | 12 +----------- kubejs/client_scripts/createrp_ponder.js | 16 ++++++++++------ mods/dap-ur-homies.pw.toml | 13 ------------- mods/player-animation-library.pw.toml | 13 ------------- pack.toml | 4 ++-- 5 files changed, 13 insertions(+), 45 deletions(-) delete mode 100644 mods/dap-ur-homies.pw.toml delete mode 100644 mods/player-animation-library.pw.toml diff --git a/index.toml b/index.toml index 4178bda..2bffe39 100644 --- a/index.toml +++ b/index.toml @@ -814,7 +814,7 @@ hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f" [[files]] file = "kubejs/client_scripts/createrp_ponder.js" -hash = "496e03456cfb28a4d28da492bfad68e9f9fa6ed2f3595b98bf8f222613d4d18d" +hash = "0460960a15e53f5599765ec2e880bb980f81b3ce241dd441e28467aa33d072d6" [[files]] file = "kubejs/startup_scripts/createrp_items.js" @@ -990,11 +990,6 @@ file = "mods/customnpcs-unofficial.pw.toml" hash = "ea6b6845387f8d990e607eaa98d027734f7d1a8823434ef901f81a5736d60aa9" metafile = true -[[files]] -file = "mods/dap-ur-homies.pw.toml" -hash = "c82096b443ddc691eda44822604791653771b7c7da12eaac14fd9ba6bf96d647" -metafile = true - [[files]] file = "mods/distanthorizons.pw.toml" hash = "a98dd7f86518a0de7bb3451bee7c8e1d7cec1b7fe00d97504ce7afd7e715ae2d" @@ -1230,11 +1225,6 @@ file = "mods/ping-wheel.pw.toml" hash = "650330109d21831664d2ff597c7a90200eda69a1efaca4e9b0b6b6297ac3c364" metafile = true -[[files]] -file = "mods/player-animation-library.pw.toml" -hash = "252547b364471df931005a57234082388e74eed949387ef39d17ce5fc56e190d" -metafile = true - [[files]] file = "mods/polytone.pw.toml" hash = "636f08c84e9a1e1793850aa4f2390e5ece8fc25abee1d5d83679f3813e113802" diff --git a/kubejs/client_scripts/createrp_ponder.js b/kubejs/client_scripts/createrp_ponder.js index 6bb5d95..32801c6 100644 --- a/kubejs/client_scripts/createrp_ponder.js +++ b/kubejs/client_scripts/createrp_ponder.js @@ -26,13 +26,17 @@ function say(scene, ticks, text, pos, colour, keyframe) { scene.idle(ticks + 10) } -// Create's own kinetic helper; in KubeJS `world` is a property, not a method +// 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 { - const cs = new CreateScene(scene) - const w = typeof cs.world === 'function' ? cs.world() : cs.world - w.setKineticSpeed(sel, speed) + kineticWorld(scene).setKineticSpeed(sel, speed) } catch (e) { console.warn('[createrp] setKineticSpeed: ' + e) } @@ -53,9 +57,9 @@ function addressedBox(address) { // посилки, що крутяться на одному вузлі ланцюга, їдуть до іншого (Create: boxTransfer) function chainTransfer(scene, util, to, from) { scene.world.modifyBlockEntity(util.grid.at(from[0], from[1], from[2]), ChainConveyor, be => { - const it = be.getLoopingPackages().iterator() + var it = be.getLoopingPackages().iterator() while (it.hasNext()) { - const p = it.next() + 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() diff --git a/mods/dap-ur-homies.pw.toml b/mods/dap-ur-homies.pw.toml deleted file mode 100644 index 7fbbce8..0000000 --- a/mods/dap-ur-homies.pw.toml +++ /dev/null @@ -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" diff --git a/mods/player-animation-library.pw.toml b/mods/player-animation-library.pw.toml deleted file mode 100644 index 1add208..0000000 --- a/mods/player-animation-library.pw.toml +++ /dev/null @@ -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" diff --git a/pack.toml b/pack.toml index 529e51b..449284e 100644 --- a/pack.toml +++ b/pack.toml @@ -1,12 +1,12 @@ name = "Create RP" author = "Pinecraft-CreateRP" -version = "0.10.0" +version = "0.11.0" pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "a6eeec9cd1888e54844aa413fce1534c0905d63f80bf7032659aeb674896eb57" +hash = "a47556a8e63d7996830e3462d1cf4565dc7db6b2c5a730466620027ab8cfe146" [versions] minecraft = "1.21.1"