From 3cb153af98f407eca0f320e54af6f490454b35ab Mon Sep 17 00:00:00 2001 From: endigma Date: Sun, 1 May 2022 19:13:01 -0300 Subject: [PATCH] remove stick --- index.toml | 4 ++++ pack.toml | 2 +- scripts/remove-unbalanced.js | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 scripts/remove-unbalanced.js diff --git a/index.toml b/index.toml index c1a45e9..78c72ab 100644 --- a/index.toml +++ b/index.toml @@ -1116,3 +1116,7 @@ metafile = true [[files]] file = "resourcepacks/Better-Leaves-6.2-1.13+.zip" hash = "583ba4e4328a27b7c81353edf9aa1943143d12780f41316038aa7071a744865f" + +[[files]] +file = "scripts/remove-unbalanced.js" +hash = "0fcb62e8c988ab0ca6e661a1e84260d9141df5bc19728e2593952d37ff05d6ac" diff --git a/pack.toml b/pack.toml index 144eeea..0ac001f 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.0.0" [index] file = "index.toml" hash-format = "sha256" -hash = "8e58af49c8531c30df46ccda6d80381db38ccde46c8a8dc0296f2eabc923656b" +hash = "00c0a43762f6e9d297a4f5e7e900a50e97e19ea6ab4b975aa7efd1af338617c9" [versions] fabric = "0.13.3" diff --git a/scripts/remove-unbalanced.js b/scripts/remove-unbalanced.js new file mode 100644 index 0000000..c7c0a11 --- /dev/null +++ b/scripts/remove-unbalanced.js @@ -0,0 +1,3 @@ +onEvent('recipes', event => { + event.remove({output: 'minecraft:stick'}) +}) \ No newline at end of file