The EnchantRandomlyLootFunction expects a RegistryEntryList<Enchantment> or a WrapperLookup, neither of which can be obtained with the current modify event.
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.
The EnchantRandomlyLootFunction expects a
RegistryEntryList<Enchantment>
or aWrapperLookup
, neither of which can be obtained with the current modify event.