Issue with Cavernous datapack [1.20.1]
scyleaf opened this issue · 3 comments
EMI loot issue with Cavernous- 'Data pack validation failed'
Base: * Minecraft 1.20.1 * Quilt loader 0.19.2-beta.4 Loaded mods: * EMI 1.0.5+1.20.1+fabric * EMI Loot 0.6.4+1.20.1 * Quilted Fabric API 7.0.4+0.84.0-1.20.1 Datapacks: * cavernous-r-v0-0
Relevant logs: https://paste.ee/p/eX8SC
There seems to be a strange issue with the datapack, where they have a LootCondition in place of a LootTable. I would raise an issue with them and see what they might know:
java.util.concurrent.CompletionException: java.lang.ClassCastException: class net.minecraft.loot.condition.AnyOfLootCondition cannot be cast to class net.minecraft.loot.LootTable (net.minecraft.loot.condition.AnyOfLootCondition and net.minecraft.loot.LootTable are in unnamed module of loader org.quiltmc.loader.impl.launch.knot.KnotClassLoader @239963d8)
Ah, I see. This is because predicates and modifiers can be put into the loot_tables folder. This may be on me to resolve... I'll have to look into how these predicates are supposed to be used.