From 5825131b363d2386a35c0342f55b45cced973abe Mon Sep 17 00:00:00 2001 From: Hexugory Date: Tue, 4 Jun 2024 19:42:10 -0500 Subject: [PATCH] tweaks --- index.toml | 8 ++++++++ kubejs/server_scripts/rebalance.js | 5 +++++ kubejs/startup_scripts/rebalance.js | 9 +++++++++ pack.toml | 2 +- 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 kubejs/server_scripts/rebalance.js create mode 100644 kubejs/startup_scripts/rebalance.js diff --git a/index.toml b/index.toml index d192700..144e86d 100644 --- a/index.toml +++ b/index.toml @@ -412,6 +412,10 @@ hash = "debea0c083d7cfd5821a45c2f5e8e2842258afd3ac549adfef172eb91633c313" file = "kubejs/config/common.properties" hash = "f17bdb6d5bd776179bc29b15b19dcccfe5b8a731ff81a28abfd4cfe02db4ee62" +[[files]] +file = "kubejs/server_scripts/rebalance.js" +hash = "c88201f1d7910007da630c9420ff48c7300229d5aabde883b1d6b111578b9932" + [[files]] file = "kubejs/server_scripts/tinkerban.js" hash = "5c081cc05d652810a05e63bb0729a69abd3e1d440e6a448ede63b2acd02f919e" @@ -420,6 +424,10 @@ hash = "5c081cc05d652810a05e63bb0729a69abd3e1d440e6a448ede63b2acd02f919e" file = "kubejs/server_scripts/tinkerhooks.js" hash = "533058559f25ad96f1c58658b36f2eb9bef5a4b2e4ad09ce32dd7ef81b0afe86" +[[files]] +file = "kubejs/startup_scripts/rebalance.js" +hash = "10a5c24728a07e6795cc1c3744cffd3b084e1677053f3ab163460fdd13a84210" + [[files]] file = "kubejs/startup_scripts/tinkermode.js" hash = "e36f278847bca8ce8115a39e7ded7838fc8e003fccc9016a2c18fb14ac7bcf1d" diff --git a/kubejs/server_scripts/rebalance.js b/kubejs/server_scripts/rebalance.js new file mode 100644 index 0000000..8c25b44 --- /dev/null +++ b/kubejs/server_scripts/rebalance.js @@ -0,0 +1,5 @@ +ServerEvents.recipes(event => { + event.shapeless('minecraft:phantom_membrane' + ['minecraft:leather', 'minecraft:glowstone_dust'] + ); +}); diff --git a/kubejs/startup_scripts/rebalance.js b/kubejs/startup_scripts/rebalance.js new file mode 100644 index 0000000..2a62098 --- /dev/null +++ b/kubejs/startup_scripts/rebalance.js @@ -0,0 +1,9 @@ +ItemEvents.modification(event => { + event.modify('pamhc2foodcore:freshwateritem', item => { + item.foodProperties = food => { + food.hunger(2); + food.saturation(1); + food.fastToEat(false); + }; + }); +}); \ No newline at end of file diff --git a/pack.toml b/pack.toml index 9b6c9f9..9875c2c 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "7d4c6006df38f9b7f863e09b5565357da3fd0792e8bfcdf2abf71961ee9fb99f" +hash = "dc62855db5773af1346534e0c10133de8a91581d92a47a9507bed29d830e3418" [versions] forge = "43.3.13"