CustomCrafting
CustomCrafting copied to clipboard
Brewing stand recipe for EI item fails to craft
What happened?
I recently updated my server from 1.20.2 to 1.21.4 and haven't tested out the crafting for all my custom items yet. I found that the brewing stand recipe for one of my custom Executable Items doesn't brew. This recipe takes in a custom Executable Item as its ingredient, and gives out another Executable Item as its output. When I put in the custom ei as an ingredient, it doesn't start brewing or anything; it just behaves as though it's an invalid ingredient.
How can the bug be reproduced?
- Have a brewing stand recipe that takes 3 of a custom Executable Item (Item A) as an ingredient, and returns a custom Executable Item (Item B), and can be used on awkward potions.
- Put three awkward potions in a brewing stand, charge it with blaze powder, and put 3 of Item A in the ingredients slot.
- Nothing happens.
- Go into survival and open the brewing stand again.
- Left-click Item A.
- The items are stuck in the ingredients slot and cannot be picked up.
Expected Behaviour?
I would expect the brewing stand to trigger brewing once I've put the three item A's into the ingredients slot, and to return Item B.
Plugin version
Custom Crafting 4.16.11.0, WolfyUtilities 4.17.0.0
Server software
Purpur 1.21.4
Relevant log output
[21:48:01 WARN]: [CustomCrafting] Task #4004944 for CustomCrafting v4.16.11 generated an exception
java.lang.NoClassDefFoundError: Could not initialize class com.wolfyscript.lib.nbt.nbtapi.NBTReflectionUtil
at wolfyutils-spigot-4.17-beta.7.jar/com.wolfyscript.lib.nbt.nbtapi.NBTCompound.getInteger(NBTCompound.java:226) ~[wolfyutils-spigot-4.17-beta.7.jar:?]
at customcrafting-spigot-4.16.11.jar/me.wolfyscript.customcrafting.listeners.BrewingStandListener.lambda$onInv$4(BrewingStandListener.java:120) ~[customcrafting-spigot-4.16.11.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1705) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1575) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1291) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:313) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException [in thread "Server thread"]
at java.base/java.util.ImmutableCollections$MapN.probe(Unknown Source) ~[?:?]
at java.base/java.util.ImmutableCollections$MapN.get(Unknown Source) ~[?:?]
at java.base/java.util.ImmutableCollections$AbstractImmutableMap.getOrDefault(Unknown Source) ~[?:?]
at io.papermc.paper.pluginremap.reflect.PaperReflection.mapDeclaredFieldName(PaperReflection.java:79) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.getDeclaredField(AbstractDefaultRulesReflectionProxy.java:90) ~[reflection-rewriter-runtime-0.0.3.jar:?]
at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.getDeclaredField(Unknown Source) ~[purpur-1.21.4.jar:1.21.4-2408-5d1df70]
at wolfyutils-spigot-4.17-beta.7.jar/com.wolfyscript.lib.nbt.nbtapi.NBTReflectionUtil.<clinit>(NBTReflectionUtil.java:59) ~[wolfyutils-spigot-4.17-beta.7.jar:?]
... 9 more
Submit issue
- [x] read the Wiki and especially the FaQ, and made sure there is no fix to your issue,
- [x] searched for and ensured there isn't already an open issue regarding this,
- [x] are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).