diff --git a/index.toml b/index.toml index 094fd44e..65d7fc62 100644 --- a/index.toml +++ b/index.toml @@ -330,6 +330,10 @@ hash = "b2a9f8a2abb9d646e59174085c0a13acea9abead7c28c071cd9ba0b059b6ac19" file = "kubejs/server_scripts/easter_eggs.js" hash = "17f9f724dab3a3499a8ac933bb12a77740e02e45b3a6c403d3fa018cd077b457" +[[files]] +file = "kubejs/server_scripts/loot_modifications.js" +hash = "deb1f3dab08ebb4269ccd4bc7187bf280db84e094f7892f00d76ff12c4aa4c4f" + [[files]] file = "kubejs/server_scripts/misc_recipes.js" hash = "d6e013d21b3014bda7d7b5f74f53b3e16807c30476dc89d78d980a29cc3b4060" @@ -1041,6 +1045,11 @@ file = "mods/log-begone.pw.toml" hash = "86ce30ccc9a035c6249d8140abf8d0fae7f828472913409b3febf46394bbc34d" metafile = true +[[files]] +file = "mods/lootjs.pw.toml" +hash = "33315b872164da7d6ecb69cb3996dc2ac6d126a33eb8b7e90425874f257aa93a" +metafile = true + [[files]] file = "mods/lootr.pw.toml" hash = "996bf4e23ceb3ebe203859eda250fddf210babc15b5683fe585159a9398e4d70" @@ -1421,7 +1430,7 @@ metafile = true [[files]] file = "mods/taterzens.pw.toml" -hash = "a9130456bfeb0256291677f12b0f732ec776fea865c9d9a8254980f02ae512e5" +hash = "28143eb8e3d0b5c4a0e06dd78c25cdeb32196cc1c67766064527a27932f39b5b" metafile = true [[files]] diff --git a/kubejs/server_scripts/loot_modifications.js b/kubejs/server_scripts/loot_modifications.js new file mode 100644 index 00000000..9772d0d7 --- /dev/null +++ b/kubejs/server_scripts/loot_modifications.js @@ -0,0 +1,4 @@ +onEvent("lootjs", (event) => { + // disable totems + event.addBlockLootModifier(/.*/).removeLoot("minecraft:totem"); +}); diff --git a/mods/lootjs.pw.toml b/mods/lootjs.pw.toml new file mode 100644 index 00000000..035ae381 --- /dev/null +++ b/mods/lootjs.pw.toml @@ -0,0 +1,13 @@ +name = "LootJS: KubeJS Addon" +filename = "lootjs-fabric-1.20.1-2.12.0.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/fJFETWDN/versions/4bA9z4Qr/lootjs-fabric-1.20.1-2.12.0.jar" +hash-format = "sha1" +hash = "adf7c51350801872af155343381a0d39418c129f" + +[update] +[update.modrinth] +mod-id = "fJFETWDN" +version = "4bA9z4Qr" diff --git a/mods/taterzens.pw.toml b/mods/taterzens.pw.toml index b42e16cb..2dbdb339 100644 --- a/mods/taterzens.pw.toml +++ b/mods/taterzens.pw.toml @@ -1,6 +1,6 @@ name = "Taterzen NPCs" filename = "taterzens-fabric-1.20.1-1.11.7.jar" -side = "both" +side = "server" [download] url = "https://cdn.modrinth.com/data/vE972Kux/versions/UN6eZfbk/taterzens-fabric-1.20.1-1.11.7.jar" diff --git a/pack.toml b/pack.toml index e0c4248b..295c1ee0 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 = "e69d0e1a61035744097d9eed3a28907ee676ba3ee70a07c22b688464d40796f1" +hash = "d83d483f1f1118eb5fcf3170fae14626b36d1606737741c9d095fe9242a979d7" [versions] fabric = "0.15.11"