Version 5.4
This commit is contained in:
16
minecraft/kubejs/server_scripts/Tweaks/disable_loot_table.js
Normal file
16
minecraft/kubejs/server_scripts/Tweaks/disable_loot_table.js
Normal file
@@ -0,0 +1,16 @@
|
||||
ServerEvents.generateData('after_mods', allthemods => {
|
||||
|
||||
let ids = JsonIO.read("kubejs/server_scripts/Tweaks/disable_loot_table_ids.json").ids
|
||||
|
||||
for (let id of ids) {
|
||||
allthemods.json(`${id}.json`,
|
||||
{
|
||||
"neoforge:conditions": [
|
||||
{
|
||||
"type": "neoforge:false"
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user