
[Crash]: open the backpack then crashed | 'boolean net.minecraft.world.item.Item.isBookEnchantable(net.minecraft.world.item.ItemStack, net.minecraft.world.item.ItemStack)'
Closed this issue · 5 comments
Steps to Reproduce the Crash
1.open the backpack(press down the E)
Mod Pack URL (Optional)
No response
Mod Pack Version (Optional)
No response
Extra Notes (Optional)
java.lang.NoSuchMethodError: 'boolean net.minecraft.world.item.Item.isBookEnchantable(net.minecraft.world.item.ItemStack, net.minecraft.world.item.ItemStack)'
at TRANSFORMER/[email protected]/mezz.jei.neoforge.platform.ItemStackHelper.isBookEnchantable(ItemStackHelper.java:45) ~[%5BJEI物品管理器%5D%20jei-1.21.5-neoforge-21.3.0.14.jar%23220!/:21.3.0.14] {re:classloading}
at TRANSFORMER/[email protected]/mezz.jei.library.plugins.vanilla.anvil.AnvilRecipeMaker$EnchantmentData.lambda$getEnchantedBooks$0(AnvilRecipeMaker.java:72) ~[%5BJEI物品管理器%5D%20jei-1.21.5-neoforge-21.3.0.14.jar%23220!/:21.3.0.14]
Crash Report
https://gist.github.com/DeliciousBread481/88f69f8ba2786b28c811dd6b0c8e5001
I get this too every time i open an inventory.
Versions:
Neoforge 21.5.73 and above (21.5.72 and lower works fine)
JEI 21.3.0.17 for NeoForge 1.21.5
Crash Report:
<script src="https://gist.github.com/bitberlin/aa99a355faadff02613cd6e4d9216833.js"></script>
Supposedly happens because of neoforged/NeoForge#2260 presented in NeoForge 21.5.73
Thanks for the report!
This is a duplicate of #4003
It was caused by a breaking change in the NeoForge beta here: neoforged/NeoForge#2260
It has been fixed in JEI version 21.3.1