diff --git a/index.toml b/index.toml index 88a84428..793008db 100644 --- a/index.toml +++ b/index.toml @@ -416,7 +416,7 @@ hash = "74e30b1d2dadd419b04dcecc8c690ff9b8b06dcc1badffc45fe33ec127694035" [[files]] file = "kubejs/server_scripts/tags.js" -hash = "513d30faad111c24ea1c41155cf68e8858000827a645b99ac0bdf0f3ab9cb966" +hash = "8eafb91a8a114e411374074fc8661014163a86c161756f8bf087af76bf0abc6c" [[files]] file = "mods/3dskinlayers.pw.toml" diff --git a/kubejs/server_scripts/tags.js b/kubejs/server_scripts/tags.js index 711b346c..94511108 100644 --- a/kubejs/server_scripts/tags.js +++ b/kubejs/server_scripts/tags.js @@ -1,3 +1,29 @@ +let better_end_chests = [ + "betterend:mossy_glowshroom_chest", + "betterend:end_lotus_chest", + "betterend:pythadendron_chest", + "betterend:lacugrove_chest", + "betterend:dragon_tree_chest", + "betterend:tenanea_chest", + "betterend:helix_tree_chest", + "betterend:umbrella_tree_chest", + "betterend:jellyshroom_chest", + "betterend:lucernia_chest" +] + +let better_end_barrels = [ + "betterend:mossy_glowshroom_barrel", + "betterend:end_lotus_barrel", + "betterend:pythadendron_barrel", + "betterend:lacugrove_barrel", + "betterend:dragon_tree_barrel", + "betterend:tenanea_barrel", + "betterend:helix_tree_barrel", + "betterend:umbrella_tree_barrel", + "betterend:jellyshroom_barrel", + "betterend:lucernia_barrel" +] + let non_movable = [ "armourers_workshop:skin-library-creative", "create:creative_motor", @@ -13,6 +39,13 @@ let bottomless_allow = [ ] ServerEvents.tags("block", (event) => { + better_end_chests.forEach((id) => { + event.add("lootr:convert_chests", id); + }) + better_end_barrels.forEach((id) => { + event.add("lootr:convert_barrels", id); + }) + non_movable.forEach((id) => { event.add("create:non_movable", id); }) diff --git a/pack.toml b/pack.toml index c09304ad..c626960d 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 = "74d77934a62d9aa7b237343f930a988be69bb5852dcecfc966f631a70b91cbbb" +hash = "35de9b0f28fa88892ce9a27f97189b216b7fd2f25edeb45e7f9d1784bd70e2df" [versions] fabric = "0.16.5"