FabricMC / fabric

Essential hooks for modding with Fabric.
Apache License 2.0
2.2k stars 388 forks source link

Impossible to add enchanted loot when modifying loot tables after 1.21 #3846

Open dayofpi opened 3 weeks ago

dayofpi commented 3 weeks ago

The EnchantRandomlyLootFunction expects a RegistryEntryList<Enchantment> or a WrapperLookup, neither of which can be obtained with the current modify event.

apple502j commented 3 weeks ago

Ugh. Valid issue, guess I should fix it. The clock is ticking (almost 24h before release), however it should not be impossible. We'll pass the DRM, which functions as the wrapper.