fzzyhmstrs / EMI_loot

12 stars 10 forks source link

Issue with Cavernous datapack [1.20.1] #33

Closed scyleaf closed 1 year ago

scyleaf commented 1 year ago

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

fzzyhmstrs commented 1 year ago

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)

fzzyhmstrs commented 1 year ago

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.

fzzyhmstrs commented 1 year ago

Fixe in 0.6.4.1, tested with cavernous-r-v0-2 in-game