i have decided to kill infinite minecraft food glitch

This commit is contained in:
Hexugory 2024-06-05 11:16:14 -05:00
parent 5accbad0d9
commit 029611314a
3 changed files with 3 additions and 7 deletions

View File

@ -406,7 +406,7 @@ hash = "533058559f25ad96f1c58658b36f2eb9bef5a4b2e4ad09ce32dd7ef81b0afe86"
[[files]]
file = "kubejs/startup_scripts/rebalance.js"
hash = "5dafbcb697279d5a0475d7a883e6dbbb3f47a32c37452fbdfdd39f20bb200a38"
hash = "6349657e630ddfa767f01dfe5f67ea3ffb2c6a522594bf87bb4c0282417b849a"
[[files]]
file = "kubejs/startup_scripts/tinkermode.js"

View File

@ -1,9 +1,5 @@
ItemEvents.modification(event => {
event.modify('pamhc2foodcore:freshwateritem', item => {
item.foodProperties = food => {
food.hunger(0.5);
food.saturation(0.5);
food.fastToEat(false);
};
item.foodProperties = null;
});
});

View File

@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "2a2a85081a909a239ddc920442f481db314cdb8f6376800845448b63608ed1f1"
hash = "937105726eeb5c582b40d0c608f9fc9f284795b1d2b6e4a1034682c7ea1bb963"
[versions]
forge = "43.3.13"