1 Commits
5 changed files with 13 additions and 45 deletions
+1 -11
View File
@@ -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"
+10 -6
View File
@@ -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()
-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 = "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"
+2 -2
View File
@@ -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"