LootTableTweaker

LootTableTweaker

11M Downloads

Removing items from all loot tables ?

Thyriel opened this issue ยท 1 comments

commented

Hi,

i'm just trying to get behind on how to tweak my loottables, works great so far.
But there's one thing i'm not sure if there would be an easier way of doing it.
For example i want to remove all minecraft:iron_sword from ALL loottables. Is there any way to define the table i'm altering to be all loot tables or is the only way by calling every single loottable and removing it seperatly from each table ?

commented

This snip should work for you.

mods.ltt.LootTable.removeGlobalItem("itemid");