Datagen: there should be a way to exclude blocks for strict loot table validation
Technici4n opened this issue ยท 0 comments
It doesn't make sense for some blocks like modern_industrialization:pipe
to have a loot table, so I have to choose between the following 3 options atm:
- No strict validation. But then I lose automatic item model generation from block models (see #2240).
- Generate an empty loot table file. A bit annoying, generates a useless file that could mislead users who look at the jar.
- Override
FabricBlockLootTableProvider#accept
to remove the strict validation check. Requires an extra access widener onBlockLootTableGenerator.lootTables
.