#remove items from loot table

9 messages · Page 1 of 1 (latest)

small crane
#

how can I remove a specific item from both all chest loot tables and from a specific chest loot table using lootjs?

fast impBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

remote salmon
#

If you want specific loot, you'd need the recouce loaction of that loot table

event.addLootTableModifier("...").removeLoot(Ingredient.of("..."))
small crane
#

so
event.addLootTableModifier("chests/nether_bridge").removeLoot(Ingredient.of("minecraft:gold_ingot"))

#

would remove gold from only fortress chests?

remote salmon
#

I think so

small crane
#

i would use the wikis but they only show examples not like proper documentation unless im blind

#

both worked ty