Adventurer's Toolbox

Adventurer's Toolbox

125k Downloads

Latest Better with Mods versions break HCEnchanting Compat with NoSuchMethod Error, causes JEI to fail to register vanilla recipes

jhallman opened this issue ยท 2 comments

commented

Using the latest versions of Adventurers Toolbox (0.2.9) and Better with Mods (1.12-2.1.15) causes an error with the BwM compat, which result in JEI failing to load the vanilla plugin.

Better with mods recently updated the HCEnchanting module to use EnumEnchantmentType and changed the canEnchantSteel() method. I'm guessing you'd need to update the various tools in your mod to reference the new method.

Relevant Commits
https://github.com/BetterWithMods/BetterWithMods/commit/9875275f232c6eb0ad9759fa4a1554c5e6061ba9#diff-f5fb003d2e6f20d09ec5eda7a5e8bcef

508ce95

Versions
MC: 1.12.2
Forge: 14.23.3.2678
Adventurer's Toolbox: 0.2.9
Better with Mods: 1.12-2.1.15

commented

I can confirm this. After doing some digging this is easily fixed by putting the enchantment as a parameter at the canEnchantSteel method.

commented

Fixed in 0.2.10