tweaks
This commit is contained in:
parent
8320790925
commit
5825131b36
@ -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"
|
||||
|
5
kubejs/server_scripts/rebalance.js
Normal file
5
kubejs/server_scripts/rebalance.js
Normal file
@ -0,0 +1,5 @@
|
||||
ServerEvents.recipes(event => {
|
||||
event.shapeless('minecraft:phantom_membrane'
|
||||
['minecraft:leather', 'minecraft:glowstone_dust']
|
||||
);
|
||||
});
|
9
kubejs/startup_scripts/rebalance.js
Normal file
9
kubejs/startup_scripts/rebalance.js
Normal file
@ -0,0 +1,9 @@
|
||||
ItemEvents.modification(event => {
|
||||
event.modify('pamhc2foodcore:freshwateritem', item => {
|
||||
item.foodProperties = food => {
|
||||
food.hunger(2);
|
||||
food.saturation(1);
|
||||
food.fastToEat(false);
|
||||
};
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user