A config/other way to remove items from chest loot tables
notWaterGuy12 opened this issue ยท 5 comments
Version
1.16
What Should Be Added or Changed?
An option to remove crystal/heart drops from chest loot tables
Why Should This Be Done?
From messing around with loot tables, I cannot find a way to remove this mod's items from chest loot tables. It would be nice to have a easy way to disable it or a method to remove them from chest loot in general. I am currently using a very janky method and would like to streamline the process a bit.
Yeah that is "normal", I am waiting for a Forge PR to be able to do this cleanly.
One option is to put the added loot entries into their own loot tables and "inject" them into the existing ones. The injection tables can be customized normally with data packs, or even disabled with a config. Silent Gear does this, although it doesn't have any config options, just the loot tables: https://github.com/SilentChaos512/Silent-Gear/blob/1.16.x/src/main/java/net/silentchaos512/gear/init/LootInjector.java
(I think I adapted the idea from Quark or Botania, can't remember.)