Skip to content

Commit

Permalink
lootjs and npcs
Browse files Browse the repository at this point in the history
Signed-off-by: IThundxr <[email protected]>
  • Loading branch information
IThundxr committed Jun 19, 2024
1 parent 0ed048d commit e81948d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
11 changes: 10 additions & 1 deletion index.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -1421,7 +1430,7 @@ metafile = true

[[files]]
file = "mods/taterzens.pw.toml"
hash = "a9130456bfeb0256291677f12b0f732ec776fea865c9d9a8254980f02ae512e5"
hash = "28143eb8e3d0b5c4a0e06dd78c25cdeb32196cc1c67766064527a27932f39b5b"
metafile = true

[[files]]
Expand Down
4 changes: 4 additions & 0 deletions kubejs/server_scripts/loot_modifications.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
onEvent("lootjs", (event) => {
// disable totems
event.addBlockLootModifier(/.*/).removeLoot("minecraft:totem");
});
13 changes: 13 additions & 0 deletions mods/lootjs.pw.toml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion mods/taterzens.pw.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e81948d

Please sign in to comment.