ServerEvents.recipes(event => {
event.remove({ mod: 'endrem' })
})
ServerEvents.blockLootTables(event => {
// Remove any eye from End Remastered structure chests
event.removeLoot({ mod: 'endrem' });
});```
Ive been trying to find a method on how to modify loot on kubejs 6.5 1.20.1 and this doesnt work. Im trying to avoid external mods because all im gonna do with loot tables is disable this loot and also add eyes of ender that drop from the wither (add to the pool, 100% chance) but i dont know how to do that with the native implementation
#loot table modification
16 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
p.s is there a way I can create an eye item to put into the end portal
you need to use jsonIO if you want to do it without any other mods
or use the data folder in kubeJs and do it like a vanilla datapack
Is there any way on how to add a loot table/loot modifier to a entity/block in native kubejs? Like i want to make the eye of ender drop 100% from the wither, how do i do this, or is it not possible w/o lootjs or i have to use a dp
The data folder of kubejs acts like a datapack
You have to use that or JsonIO if you don't want to use lootJS iirc
What is JsonIO and what do you think would be best for me