Code Monkey home page Code Monkey logo

customcrafting-wiki's Introduction

Hi my name is Gunnar,

aka. Wolfy, WolfyScript

WolfyScripts GitHub Stats

I'm a Computer Science Student and Java Developer.
I first started working on Minecraft mods/plugins in 2015.
Since then I develop mostly Spigot plugins and other side-projects in my freetime.

Social





⚙️ Projects

Minecraft plugins/mods:

Plugins/Mods designed to extend customizability and make content creation easier.

  • CustomCrafting - Makes it easier to create complex custom recipes for Minecraft.
  • WolfyUtils - API that makes it easier to create in-game GUIs, and provides common utilities.
Other Projects:
  • HOCON Dataformat Jackson - HOCON dataformat support for the Jackson JSON library

💻 Setup

Check out my partner!

customcrafting-wiki's People

Contributors

wolfyscript avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

customcrafting-wiki's Issues

Recipe Book Crashing The Plugin

I don't use it anyway, so any way of getting rid of it totally without the plugin remaking it??
I tried removing everything related to it and it worked but it broke again when

Random Results don't work in Cauldron recipes

Describe the bug
When I shift+right add many results to Cauldron recipe, I found the result to be the same unless I reload the plugin.

Server (please complete the following information):

  • purpur-1.17.1-1308
  • Minecraft version 1.17.1
  • Java 16

Disabled vanilla crafts are enabling after server restart

Describe the bug
When i restart my server, disabled vanilla crafts are enabling.

To Reproduce
Steps to reproduce the behavior:

  1. Disable vanilla craft in /cc > Recipe List > minecraft
  2. Restart the server
  3. Craft is enabled

Expected behavior

Disabled minecraft crafts should be disabled after restart

  • Server Software: Paper
  • Minecraft version: 1.17.1
  • Java version: 16

Error loading [CC]

Error Could not load 'plugins\customcrafting.jar' in folder 'plugins'

org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: me/wolfyscript/utilities/util/Keyed
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[patched_1.16.5.jar:git-Paper-465]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397) ~[patched_1.16.5.jar:git-Paper-465]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:305) ~[patched_1.16.5.jar:git-Paper-465]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:388) ~[patched_1.16.5.jar:git-Paper-465]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:206) ~[patched_1.16.5.jar:git-Paper-465]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:936) ~[patched_1.16.5.jar:git-Paper-465]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:174) ~[patched_1.16.5.jar:git-Paper-465]
at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.NoClassDefFoundError: me/wolfyscript/utilities/util/Keyed
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:468) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:79) ~[patched_1.16.5.jar:git-Paper-465]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.5.jar:git-Paper-465]
... 7 more
Caused by: java.lang.ClassNotFoundException: me.wolfyscript.utilities.util.Keyed
at java.net.URLClassLoader.findClass(URLClassLoader.java:435) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:182) ~[patched_1.16.5.jar:git-Paper-465]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.5.jar:git-Paper-465]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:468) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:79) ~[patched_1.16.5.jar:git-Paper-465]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.5.jar:git-Paper-465]
... 7 more

CustomCrafting version - 1.6.5.0
WolfyUtilities Version - 1.6.3.6
Server Version - Paper version git-Paper-465 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

Trouble putting items in crafting table

I have a plugin called "magic" by elmakers.
In that plugin you can create magic wands with spells on it etc.
I have some recipes that involves some of those wands.
Whenever I try to put the wands in the crafting table, I need to keep trying tens of times before it finally puts on the crafting table. Any other item that isn't a wand does not do that.

spam to the console

[00:01:58 WARN]: [CustomCrafting] Task #276 for CustomCrafting v1.6.6.0.1 generated an exception
java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData cannot be cast to class org.bukkit.block.data.Levelled (org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData and org.bukkit.block.data.Levelled are in unnamed module of loader 'app')
at me.wolfyscript.customcrafting.data.cauldron.Cauldrons.lambda$new$5(Cauldrons.java:54) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1837) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at me.wolfyscript.customcrafting.data.cauldron.Cauldrons.lambda$new$6(Cauldrons.java:50) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-46]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1488) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:477) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1404) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1180) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-46]
at java.lang.Thread.run(Thread.java:831) [?:?]

I can just hide it, but suddenly it's something bad...

(Bug) Some recipes don't work, don't know why.

[ERROR] .... [CustomCrafting] -------- WHAT HAPPENED? Please report! --------
[WARNING] .... java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.MinecraftKey.getNamespace()" because "minecraft" is null
[WARNING] .... at org.bukkit.craftbukkit.v1_17_R1.util.CraftNamespacedKey.fromMinecraft(CraftNamespacedKey.java:24)
[WARNING] .... at org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock.biomeBaseToBiome(CraftBlock.java:518)
[WARNING] .... at org.bukkit.craftbukkit.v1_17_R1.CraftWorld.getBiome(CraftWorld.java:1118)
[WARNING] .... at org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock.getBiome(CraftBlock.java:505)
[WARNING] .... at me.wolfyscript.customcrafting.recipes.conditions.WorldBiomeCondition.check(WorldBiomeCondition.java:31)
[WARNING] .... at me.wolfyscript.customcrafting.recipes.Conditions.checkConditions(Conditions.java:52)
[WARNING] .... at me.wolfyscript.customcrafting.recipes.types.ICustomRecipe.checkConditions(ICustomRecipe.java:90)
[WARNING] .... at me.wolfyscript.customcrafting.utils.CraftManager.checkRecipe(CraftManager.java:74)
[WARNING] .... at me.wolfyscript.customcrafting.utils.CraftManager.lambda$preCheckRecipe$0(CraftManager.java:59)
[WARNING] .... at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
[WARNING] .... at java.base/java.util.stream.SortedOps$RefSortingSink.end(Unknown Source)
[WARNING] .... at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source)
[WARNING] .... at java.base/java.util.stream.Sink$ChainedReference.end(Unknown Source)
[WARNING] .... at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
[WARNING] .... at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
[WARNING] .... at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
[WARNING] .... at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
[WARNING] .... at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
[WARNING] .... at java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)
[WARNING] .... at me.wolfyscript.customcrafting.utils.CraftManager.preCheckRecipe(CraftManager.java:59)
[WARNING] .... at me.wolfyscript.customcrafting.listeners.CraftListener.onPreCraft(CraftListener.java:85)
[WARNING] .... at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor563.execute(Unknown Source)
[WARNING] .... at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[WARNING] .... at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[WARNING] .... at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[WARNING] .... at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624)
[WARNING] .... at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:1302)
[WARNING] .... at net.minecraft.world.inventory.ContainerWorkbench.a(ContainerWorkbench.java:87)
[WARNING] .... at net.minecraft.world.inventory.ContainerWorkbench.lambda$slotsChanged$0(ContainerWorkbench.java:98)
[WARNING] .... at net.minecraft.world.inventory.ContainerAccess.lambda$execute$0(ContainerAccess.java:61)
[WARNING] .... at net.minecraft.world.inventory.ContainerAccess$2.a(ContainerAccess.java:48)
[WARNING] .... at net.minecraft.world.inventory.ContainerAccess.a(ContainerAccess.java:60)
[WARNING] .... at net.minecraft.world.inventory.ContainerWorkbench.a(ContainerWorkbench.java:97)
[WARNING] .... at net.minecraft.world.inventory.InventoryCrafting.setItem(InventoryCrafting.java:141)
[WARNING] .... at net.minecraft.world.inventory.Slot.set(Slot.java:61)
[WARNING] .... at org.bukkit.craftbukkit.v1_17_R1.inventory.CraftInventoryView.setItem(CraftInventoryView.java:53)
[WARNING] .... at net.minecraft.world.inventory.Container.b(Container.java:444)
[WARNING] .... at net.minecraft.world.inventory.Container.a(Container.java:339)
[WARNING] .... at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2678)
[WARNING] .... at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:50)
[WARNING] .... at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:11)
[WARNING] .... at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:36)
[WARNING] .... at net.minecraft.server.TickTask.run(TickTask.java:18)
[WARNING] .... at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149)
[WARNING] .... at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23)
[WARNING] .... at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1340)
[WARNING] .... at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:193)
[WARNING] .... at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122)
[WARNING] .... at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1319)
[WARNING] .... at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1312)
[WARNING] .... at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132)
[WARNING] .... at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1273)
[WARNING] .... at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1184)
[WARNING] .... at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[WARNING] .... at java.base/java.lang.Thread.run(Unknown Source)
[ERROR] .... [CustomCrafting] -------- WHAT HAPPENED? Please report! --------

Yeaahhh, I don't know what happened.

error in save recepture name

[16:27:43] [Async Chat Thread - #494/WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.Util.getInstance(Util.java:408)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1182)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1177)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4037)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4006)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.utilities.api.utils.sql.SQLDataBase.getPreparedStatement(SQLDataBase.java:95)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.getRecipeData(DataBaseHandler.java:163)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.hasRecipe(DataBaseHandler.java:153)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.updateRecipe(DataBaseHandler.java:248)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.recipes.types.RecipeConfig.saveConfig(RecipeConfig.java:91)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.gui.recipe_creator.recipe_creators.WorkbenchCreator.lambda$null$3(WorkbenchCreator.java:53)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.utilities.api.inventory.InventoryAPI.onPreChat(InventoryAPI.java:292)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor609.execute(Unknown Source)
[16:27:43] [Async Chat Thread - #494/WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[16:27:43] [Async Chat Thread - #494/WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[16:27:43] [Async Chat Thread - #494/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[16:27:43] [Async Chat Thread - #494/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559)
[16:27:43] [Async Chat Thread - #494/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.chat(PlayerConnection.java:1734)
[16:27:43] [Async Chat Thread - #494/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1649)
[16:27:43] [Async Chat Thread - #494/WARN]: at net.minecraft.server.v1_15_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
[16:27:43] [Async Chat Thread - #494/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 344,489,263 milliseconds ago. The last packet sent successfully to the server was 344,489,263 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3706)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2506)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1912)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2020)
[16:27:43] [Async Chat Thread - #494/WARN]: at me.wolfyscript.customcrafting.handlers.DataBaseHandler.getRecipeData(DataBaseHandler.java:166)
[16:27:43] [Async Chat Thread - #494/WARN]: ... 18 more
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
[16:27:43] [Async Chat Thread - #494/WARN]: at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
[16:27:43] [Async Chat Thread - #494/WARN]: at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3688)
[16:27:43] [Async Chat Thread - #494/WARN]: ... 24 more
[16:27:43] [Async Chat Thread - #494/ERROR]: Could not pass event AsyncPlayerChatEvent to CustomCrafting v1.5.3.0
java.lang.NullPointerException: null
at me.wolfyscript.customcrafting.handlers.DataBaseHandler.hasRecipe(DataBaseHandler.java:154) ~[?:?]
at me.wolfyscript.customcrafting.handlers.DataBaseHandler.updateRecipe(DataBaseHandler.java:248) ~[?:?]
at me.wolfyscript.customcrafting.recipes.types.RecipeConfig.saveConfig(RecipeConfig.java:91) ~[?:?]
at me.wolfyscript.customcrafting.gui.recipe_creator.recipe_creators.WorkbenchCreator.lambda$null$3(WorkbenchCreator.java:53) ~[?:?]
at me.wolfyscript.utilities.api.inventory.InventoryAPI.onPreChat(InventoryAPI.java:292) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor609.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.15.2.jar:git-Paper-118]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.15.2.jar:git-Paper-118]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.15.2.jar:git-Paper-118]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) ~[patched_1.15.2.jar:git-Paper-118]
at net.minecraft.server.v1_15_R1.PlayerConnection.chat(PlayerConnection.java:1734) ~[?:git-Paper-118]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1649) ~[?:git-Paper-118]
at net.minecraft.server.v1_15_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41) ~[patched_1.15.2.jar:git-Paper-118]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

Console Spam error 529

Describe the bug
Constant console spam

To Reproduce
Unfortunately no idea how to reproduce

Expected behavior
For there to not be console spam

Log
https://mcpaste.io/dd5112ab3c6070ea

Server (please complete the following information):

  • Paper 1.17.1
  • Latest version of CC and WU
  • Java 16

Additional context
Plugin seemingly randomly started flooding console with the error

Recipe Book bug could not open

Hey i got a error with the CC-Book.
When i will open the book the console say me this everytime when i will open the CC Book.

Server Version: 1.16.4

[21:02:35 ERROR]: Could not pass event PlayerInteractEvent to CustomCrafting v1.7.1.1
java.lang.NullPointerException: Cannot invoke "me.wolfyscript.customcrafting.configs.custom_data.RecipeBookData.isEnabled()" because "knowledgeBook" is null
at me.wolfyscript.customcrafting.listeners.PlayerListener.onClick(PlayerListener.java:56) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor677.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-782]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-782]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-782]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-782]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:549) ~[patched_1.16.5.jar:git-Paper-782]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:512) ~[patched_1.16.5.jar:git-Paper-782]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:507) ~[patched_1.16.5.jar:git-Paper-782]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:503) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1766) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:32) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:9) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:35) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1266) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1259) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1333) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1130) ~[patched_1.16.5.jar:git-Paper-782]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-782]
at java.lang.Thread.run(Unknown Source) [?:?]
[21:02:35 ERROR]: Tag not valid: {PublicBukkitValues:{"wolfyutilities:custom_item":"customcrafting:customcrafting/knowledge_book"},Enchantments:[{id:"minecraft:unbreaking",lvl:5s}],display:{Name:'{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gold","text":"Knowledge Book"}],"text":""}',Lore:['{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"Contains some interesting recipes..."}],"text":""}']},HideFlags:1}

when entering the name of the craft

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at me.wolfyscript.customcrafting.utils.ChatUtils.getInternalNamespacedKey(ChatUtils.java:52) ~[?:?]
at me.wolfyscript.customcrafting.gui.RecipeCreatorCluster.lambda$registerSaveButtons$10(RecipeCreatorCluster.java:161) ~[?:?]
at me.wolfyscript.utilities.api.inventory.gui.GuiHandler.onChat(GuiHandler.java:392) ~[?:?]
at me.wolfyscript.utilities.main.commands.InputCommand.lambda$onCommand$1(InputCommand.java:27) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-46]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1488) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:477) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1404) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1180) ~[patched_1.17.jar:git-Paper-46]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-46]
at java.lang.Thread.run(Thread.java:831) [?:?]

This server is running Paper version git-Paper-46 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT) (Git: 9e07703)
You are running the latest version

CustomCrafting version 1.6.6.0.1

Items from MMOItems can't be used as material.

Describe the bug
As the title says.. I can make custom recipes for MMOItems items without any issues. They work exactly as they should. But when I try to make recipes which use MMOItems items as material. It simply doesn't work. I don't know why. MetaData for the items are exactly the same (I checked that like 4 or 5 times). There is also strange thing happening, that immediately after saving recipe. It's working without any issues (Not everytime though.). But after 1-2 succesful crafts it breaks again.

Expected behavior
Using MMOItems items as material exactly like any other items.

Server (please complete the following information):

  • Server software - Purpur
  • Minecraft version 1.16.5
  • Java 16

Additional Context
API-Reference for MMOItems is disabled in WolfyUtilities so it saves whole item not just item's MMOItems ID. (I have to have it disabled, because I am using plugin for custom enchantments which is not directly compatible with MMOItems so I have to manually add enchantments via /enchant XX YY command
Disable-crafting is set to false for those MMOItems items which can be used in custom recipes. So that shouldn't cause any issues.

[CustomCrafting] Task #142 for CustomCrafting v1.6.6.0.1

Describe the bug
The below error section spams the console so long as a cauldron is above a campfire.
[16:56:01] [Server thread/WARN]: [CustomCrafting] Task #142 for CustomCrafting v1.6.6.0.1 generated an exception
java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData cannot be cast to class org.bukkit.block.data.Levelled (org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData and org.bukkit.block.data.Levelled are in unnamed module of loader 'app')
at me.wolfyscript.customcrafting.data.cauldron.Cauldrons.lambda$new$5(Cauldrons.java:54) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1837) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at me.wolfyscript.customcrafting.data.cauldron.Cauldrons.lambda$new$6(Cauldrons.java:50) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Purpur-1260]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.1.jar:git-Purpur-1260]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[patched_1.17.1.jar:git-Purpur-1260]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:492) ~[patched_1.17.1.jar:git-Purpur-1260]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1480) ~[patched_1.17.1.jar:git-Purpur-1260]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1270) ~[patched_1.17.1.jar:git-Purpur-1260]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Purpur-1260]
at java.lang.Thread.run(Thread.java:831) [?:?]

To Reproduce
Place a cauldron over a campfire

Expected behavior
No error flooding console and recipes to work that require cauldron.

Screenshots
NA

Server (please complete the following information):

  • Purpur
  • Minecraft version: 1.17.1
  • Java version: 16]

Additional context
Plugins:
AdvancedChests, AdvancedClaimGuardian, AdvancedEnchantments, AntiCurse, Armo|
redElytra, AureliumSkills, Bank, BigDoors, BlockParticles, ChestLockGui, Chunky, Citizens, CleanroomGenerat|
or, CMI, CMIEInjector*, CMILib, ConsoleSpamFix, Core, CoreProtect, CustomCrafting, CustomEnderChest, Displa|
yShops, dtlTradersPlus, DyedBackpacks, EpicFarming, EpicFurnaces, EpicHoppers, EpicSpawners, ExoticGarden, |
ExtraGear, ExtraTools, HeadDatabase, HolographicDisplays, HorseOverhaul, ImageOnMap, InfoBook, Item-Chest-S|
orter, Jobs, LimitPillagers, Lootin, LuckPerms, LWC, Multiverse-Core, NBTAPI, NetheriteShield, NoPlugins, P|
erWorldInventory, PlaceholderAPI, ProtocolLib, PublicCrafters, Sentinel, Slimefun, spark, SuperLuckyBlock, |
SurvivalInvisiframes, Terra, UltimateCatcher, UltimateFishing, UltimateRepairing, UltimateStacker, Ultimate|
Timber, VanillaTweaks, Vault, WolfyUtilities, WorldEdit

WolfyUtilities Version
WolfyUtilities | Core plugin API [1.15 - 1.17] 1.7.2.0

Full Log upon request.

Stonecutter and furnaces recipes breaks with clocks

Describe the bug
Im using clocks with custom model data for almost all of my custom items created with mmoitems plugin, when i create a stonecutter recipe using this custom items weird things happen.

in my server when you break an iron ore block or a gold ore block without silk touch instead of the ore block you get as loot raw gold and raw iron (like 1.17 version) both of this items are clocks with custom model data created on mmoitems, you can put those items on a regular furnace to get ingots or on the stonecutter to create 2 of iron dust or gold dust this dust items are also custom clock, then you can use this dust on the blast furnace to get ingots of both of the minerals.

The problem is, at the begining the recipes to smelt raw gold and raw iron into ingots randomly breaks and doesn't work anymore breaking the progression of the game, (the blast furnace recipes to smelt gold dust and iron dust to ingots seems to not be affected).

Now another big problem if i put raw gold on the stonecutter in the possible results it show me Gold dust (this is correct) but also iron dust (this is wrong) this seems to be a visual error at the beginning because if you try to get iron dust from raw gold the item is removed from your inventory and you must chose the correct option but after some time it breaks and you can't get any of the results (both of the items are removed from your inventory every time you try to get them) the same happen with the raw iron to iron dust recipe.

So my actual hotfix was add raw iron to dust and raw gold to dust recipes to the crafting table and gift a blast furnace on first enter to the server to don't break the game progression until an actual fix can be found.

To Reproduce
Steps to reproduce the behavior:

  1. Create 4 custom items with mmoitems using clocks as material
  2. create a recipe to smelt 2 of the items in ingots the regular furnace
  3. create a recipe to convert those same custom items in another 2 custom items in the stonecutter (only 1 result per recipe).

Expected behavior
stonecutter only must show the correct results, don't randomly break and also the furnace.

Server (please complete the following information):

  • Server Software purpur 1.16.5
  • Minecraft version 1.16.5
  • Java version 16

Custom item's localized name not working

Describe the bug
You can't set a localized name to a custom item: the name doesn't change.

To Reproduce
Steps to reproduce the behavior:

  1. Get any item (e. g. a diamond)
  2. Execute /cc, then go to the Item Creator
  3. Put the item in the item slot
  4. Click on "Localized Name", then "Set Localized Name:"
  5. Type any localization key in chat, like minecraft.item.cookie.

Expected behavior
The edited object should have the localized name.

Screenshots
Setting the localized name
setting the localized name

The name is not correct
the name is not correct

The saved item in the inventory
the saved object

Server (please complete the following information):

  • Server Software : Spigot (CraftBukkit version 3173-Spigot-610a8c0-b5d7883)
  • Minecraft version : 1.17.1
  • Java version : 16.0.1

Additional context
The generated item has this display tag:
display: {LocName: '{"extra":[{"clickEvent":"action":"open_url","value":"http://item.minecraft.cookie"},"text":"item.minecraft.cookie"}],"text":""}'}.
However, the LocName tag seems to be deprecated. The translate tag should used instead.
You can give yourself an item with the correct name with this command:
/give @s diamond{display:{Name:'{"translate":"item.minecraft.cookie"}'}} 1

a localized diamond

/cc command stuck

Hello, I've installed your plugin on a aternos server and it doesn't give me any error (1.12.2)
but when i try in game to do /cc it keeps saying /cc over and over, i've tried to submit the labels that were in the docs but it doesn't work, it just keeps saying /cc

Can't get cauldron recipe to work

Hello !

First, amazing plugin ! !

Been trying to craft stuff using the cauldron but to no avail.
Is there a special trick to it, or is the feature not fully usable ?

Here is the json to my test recipe
test.json.txt

Fresh Install. CC isn't loaded correctly?

Version before overhaul worked fine. This one does not load.


04.02 14:04:33 [Server] Server thread/ERROR Could not load 'plugins/customcrafting-1.6.5.0.jar' in folder 'plugins'
04.02 14:04:33 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: me/wolfyscript/utilities/util/Keyed
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:332) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:383) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:185) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:809) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
04.02 14:04:33 [Server] INFO Caused by: java.lang.NoClassDefFoundError: me/wolfyscript/utilities/util/Keyed
04.02 14:04:33 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO ... 7 more
04.02 14:04:33 [Server] INFO Caused by: java.lang.ClassNotFoundException: me.wolfyscript.utilities.util.Keyed
04.02 14:04:33 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:167) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:96) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_275]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[custom.jar:2997-Spigot-89d6047-c3e684e]
04.02 14:04:33 [Server] INFO ... 7 more
04.02 14:04:33 [Server] Server thread/WARN Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
04.02 14:04:35 [Server] Server thread/WARN Legacy plugin ActionHealth v3.5.2 does not specify an api-version.

Dupe Items Glitch with Elite Crafting Table

Describe the bug
You can dupe any items with Elite Crafting Table

To Reproduce
Steps to reproduce the behavior:

  1. Fill items in Elite Crafting Table
  2. Take all items out of crafting table
  3. You can get items but there will be some items in crafting table

Video
https://youtu.be/hIUlsJWMvlI

Server (please complete the following information):

  • Server Software [Paper-753 (MC: 1.16.5)]
  • Minecraft version [MC 1.16.5]
  • Java version [Java16]
  • CustomCrafting version [1.7.1.3]
  • WolfyUtilities version [1.7.3.0]

Console Error with CustomCrafting v2.16.0.0-beta3 on Paper 1.17.1

Describe the bug
A console error appears when I run /CustomCrafting. This started occurring after I created a furnace recipe that used a custom Ore block from ItemsAdder and an MMOItems material item as the result. I then opened /CustomCrafting again and viewed the recipe list because I wanted to edit the recipe's tick length to 180 instead of 20. After that point is when the error started occurring.

To Reproduce
Steps to reproduce the behavior:

  1. Have ItemsAdder & MMOItems on a Paper 1.17.1 server.
  2. Create a furnace recipe using a custom ore block as your ingredient and an MMOItems material item as your result. The tick length should be 20 and exp is 1. Do Save As. My namespace & key were: material ruby
  3. Open /CustomCrafting again and view either Recipe List or the one below it (I forget which I chose).
  4. Close it.
  5. Run command again. Error occurs.

Expected behavior
The console error to not appear and allow me to open the GUI.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Server Software: Paper version git-Paper-202 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 2406634)
  • Minecraft version ^
  • Java version Java 16

Additional context
Console Error: https://pastebin.com/855HFwCB
Server Log: https://pastebin.com/PPwNuZGs

item creator bug

item creator doesn't allow any items to be placed into its slot. when using /cc reload, all tabs are replaced with black stained panes.

issue persists after server restart

using the latest free wolfyscript & customcrafting for spigot 1.17.1
image

/cc not working

So um I have wolfy api and custom crafting the command isnt working please help

Furnace AIR crafting ERROR

Describe the bug
Error spam in the console

To Reproduce
Steps to reproduce the behavior:
Put a furnace down
Add 1 coal and 1 log in the furnace
When the log is done smelting, the error below pop up in the console

Server

  • Paper 1.16.5 git-Paper-"809466f2e"
  • Java 8
  • wolfyutilities v.1.6.3.25
  • custom crafting v.1.6.5.1.3

Additional context
04.05 13:12:20 [Server] ERROR Could not pass event FurnaceSmeltEvent to CustomCrafting v1.6.5.1.3 04.05 13:12:20 [Server] INFO java.lang.IllegalArgumentException: Recipe must have non-AIR result. 04.05 13:12:20 [Server] INFO at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.inventory.ShapedRecipe.<init>(ShapedRecipe.java:46) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftShapedRecipe.<init>(CraftShapedRecipe.java:19) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftShapedRecipe.<init>(CraftShapedRecipe.java:23) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.ShapedRecipes.toBukkitRecipe(ShapedRecipes.java:53) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.ShapedRecipes.toBukkitRecipe(ShapedRecipes.java:32) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.inventory.RecipeIterator.next(RecipeIterator.java:41) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.inventory.RecipeIterator.next(RecipeIterator.java:12) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.CraftServer.getRecipesFor(CraftServer.java:1335) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.Bukkit.getRecipesFor(Bukkit.java:800) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at me.wolfyscript.customcrafting.listeners.FurnaceListener.onSmelt(FurnaceListener.java:162) ~[?:?] 04.05 13:12:20 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor574.execute(Unknown Source) ~[?:?] 04.05 13:12:20 [Server] INFO at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.TileEntityFurnace.burn(TileEntityFurnace.java:399) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.TileEntityFurnace.tick(TileEntityFurnace.java:352) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.World.tickBlockEntities(World.java:864) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.WorldServer.doTick(WorldServer.java:683) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1486) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:419) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1338) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1126) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:289) ~[patched_1.16.5.jar:git-Paper-"809466f2e"] 04.05 13:12:20 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]

Recipe book gives exp

Describe the bug
Idk if that's still the case because I used outdated version, but recipe book is possible to grindstone what gives user xp back, it might be big flaw if crafting isn't restriced and free to take by command or something like that.

To Reproduce
Just follow screen at grindstone:
image

Expected behavior
Atleast experience shouldn't pop out.

Screenshots
put at 'to reproduce'

Server (please complete the following information):

  • Server Software: Purpur
  • Minecraft version: 1.16.5
  • Java version: Java 8

New Crafting Condition: Chance

Is your feature request related to a problem? Please describe.
It would be nice to have a way of giving players a risky choice to go for a crafting recipe that has a chance to fail.

Describe the solution you'd like
The ability to set a percentage for risk of making a crafting recipe success chance (the higher the percentage, the safer it is)

And when it fails, the crafting recipe to fail, and make a noise (Anvil Break?) (and perhaps close the GUI / give a message) to indicate that the crafting recipe failed.

Customcrafting x McMMO Double Smelting

When smelting custom recipes it seems they're not recognized by McMMO, im unsure wether this would even be considered a "bug" on any plugins end, let me know if its on this or their end.

Pls

Please add to make @A @p work for the issue of items. For example / customcrafting give @p item:item1

Recipe book not working

Describe the bug
My recipe book isnt working, tried lots of things, changed lots of things, restarted a few times, nothing worked.
groups are shown, but recipes wont

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/recipes'
  2. Click on 'Recipe group'

Expected behavior
Recipes should show up (wont)

Screenshots
image
image

Server:

  • Server Software purpurclip-1.17-1255.jar
  • Minecraft version 1.17
  • Java version [e.g. Java 8, 11, 16] 16
  • WolfyUtilities version wolfyutilities-1.7.2.0.jar
  • CustomCrafting version customcrafting-spigot-1.7.1.1f.jar

Additional context
https://anonfiles.com/zcS2J76cu3/recipe_book_1_json

Workbench issue

Describe the bug
Crafting table recipes often don't load correctly. It's saving correctly and I can find it in the folder, but the item does not show up correctly in the recipe list and can not be crafted. Seems to mostly affect shaped recipes, shapeless recipes work fine.

To Reproduce
Steps to reproduce the behavior:

  1. Create a workbench recipe
  2. Check your recipe book
  3. Try to craft the item

Expected behavior
The item should just appear correctly in the recipe list and be able to be crafted

Screenshots
imgur link

Server (please complete the following information):

  • Server Software: Spigot
  • Minecraft version: 1.17
  • Java version: 16

Error occurred while disabling CustomCrafting v1.6.5.1.3: NullPointerException

24.03 16:08:25 [Server] Server thread/ERROR Error occurred while disabling CustomCrafting v1.6.5.1.3 (Is it up to date?)
24.03 16:08:25 [Server] INFO java.lang.NullPointerException: null
24.03 16:08:25 [Server] INFO at me.wolfyscript.customcrafting.CustomCrafting.onDisable(CustomCrafting.java:231) ~[?:?]
24.03 16:08:25 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:377) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:438) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.dev.pluginmanager.commands.PluginManagerCommand.onCommand(PluginManagerCommand.java:329) ~[?:?]
24.03 16:08:25 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:711) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1657) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1497) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:895) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828) [custom.jar:git-Spigot-800b93f-8160e29]
24.03 16:08:25 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
24.03 16:08:25 [Server] Server thread/INFO Loading CustomCrafting v1.6.5.1.3
24.03 16:08:25 [Server] Server thread/INFO WolfyUtilities API: WolfyUtilities v1.6.3.14
24.03 16:08:25 [Server] Server thread/INFO Registering custom data
24.03 16:08:25 [Server] Server thread/ERROR null
24.03 16:08:25 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'pman' in plugin PluginManager v1.6
24.03 16:08:25 [Server] Server thread/INFO CONSOLE issued server command: /list 
24.03 16:08:32 [Multicraft] Skipped 29 lines due to rate limit (30/s)
24.03 16:08:32 [Server] Server thread/INFO ADMINKS issued server command: /pman reload WolfyUtilities
24.03 16:08:32 [Server] Server thread/INFO Disabling WolfyUtilities v1.6.3.14
24.03 16:08:32 [Server] Server thread/INFO Save stored Custom Items
24.03 16:08:33 [Server] Server thread/INFO Loading WolfyUtilities v1.6.3.14
24.03 16:08:33 [Server] Server thread/INFO Register json serializer/deserializer
24.03 16:08:34 [Server] Server thread/INFO Register Meta Setting provider

Almost all my smithing recipies will not craft, 2-4 of them do work

Describe the bug
A clear and concise description of what the bug is.

The majority of my smithing recipes are just not working, even tho I made them all at the same time in the GUI with the same steps. I don't get how some could work but some could not. The Netherite Iron Sword and Netherite Gold Sword are working, I suspect maybe some of the others are working too but I cant craft past Iron so idk

To Reproduce
Steps to reproduce the behavior:

  1. It was earlier this year but I used the gui to make the recipes
  2. The items are all registered as custom items in CC
  3. Only a handful of them will craft, the rest will not

Expected behavior
A clear and concise description of what you expected to happen.

My Item to craft

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Server Software [e.g. Spigot, Paper, Velocity]
  • Minecraft version [e.g. 1.16.5]
  • Java version [e.g. Java 8, 11, 16]

Paper-783 (MC: 1.16.5)
Minecraft 1.16.5
Java 16

Additional context
Add any other context about the problem here.

I have remade the recipes from scratch in an effort to fix them with no luck.
Here is my zip file because I am at a loss for what is wrong.
netherupgrade.zip

Compatibility with ItemsAdder breaks again

customcrafting-spigot-2.16.0.0-beta0
wolfyutilities-1.7.3.0

There's something wrong with my patreon payment. I let my friends Join your patreon and download cc.
It has been two weeks since Cauldron(and campfire) random results don't work. And my server failed to update timely, this time it failed compatibility with ItemsAdder again and most of the recipes are broken except stone cutter and smithing table.
Fortunately I made a backup. :(
I need a quick fix. It's really important because players are waiting. Thanks.

[20:34:22 ERROR]: Could not pass event PrepareItemCraftEvent to ItemsAdder v2.4.12
java.lang.NoClassDefFoundError: me/wolfyscript/customcrafting/recipes/types/CustomRecipe
at dev.lone.itemsadder.Core.j.c.c.a(SourceFile:251) ~[ItemsAdder.jar:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[patched_1.17.1.jar:git-Purpur-1336]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Purpur-1336]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-1336]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Purpur-1336]
at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:1332) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.ContainerWorkbench.a(ContainerWorkbench.java:87) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.ContainerWorkbench.lambda$slotsChanged$0(ContainerWorkbench.java:98) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.ContainerAccess.lambda$execute$0(ContainerAccess.java:61) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.ContainerAccess$2.a(ContainerAccess.java:48) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.ContainerAccess.a(ContainerAccess.java:60) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.ContainerWorkbench.a(ContainerWorkbench.java:97) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.InventoryCrafting.setItem(InventoryCrafting.java:141) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.Slot.set(Slot.java:61) ~[patched_1.17.1.jar:git-Purpur-1336]
at org.bukkit.craftbukkit.v1_17_R1.inventory.CraftInventoryView.setItem(CraftInventoryView.java:53) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.Container.b(Container.java:476) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.world.inventory.Container.a(Container.java:371) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2806) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:55) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:11) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1422) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:190) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1400) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1393) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1369) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1280) ~[patched_1.17.1.jar:git-Purpur-1336]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Purpur-1336]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: me.wolfyscript.customcrafting.recipes.types.CustomRecipe
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:148) ~[patched_1.17.1.jar:git-Purpur-1336]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:105) ~[patched_1.17.1.jar:git-Purpur-1336]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 34 more

Error on Startup

Occasionally the plugin will just decide to stop working, and prevent the server from loading any further or stopping, and requires a hard kill to stop the server. To fix you need to delete everything in the CC plugin folder and start fresh.

I can't find a way to reliably reproduce the error. The first time we got this issue was because we were trying to reload the plugin, decided to stop doing that but this time it has showed up after a regular restart.

https://paste.dedimc.io/iterunozos.md

Sorry theres not much info but thats really all it shows in regards to CC.

Using the most updated Java 16, Wolfy and CC on Paper 1.17.1

Custom brewing stand recipes can't have a base potion set

Describe the bug
I enabled making custom brewing recipes on my server, however I cannot set the base potion(s). This results in any potion being accepted.
The spot that is circled in the screenshot I expect to have been an empty spot, not a grey stained pane.
This is on CC 1.6.6.0f and WU 1.6.4.2

To Reproduce
Steps to reproduce the behavior:

  1. Enable custom brewing recipes if not yet so.
  2. Use command /cc to open general interface.
  3. Click the brewing stand to make a new recipe.
  4. The spot in the first column, fifth from the top, is a grey stained pane.

Expected behavior
The mentioned spot in step 4 should be empty, to allow a base potion to be put in.

Screenshots
image

Server (please complete the following information):

  • Server Software: Paper
  • Minecraft version 1.16.5
  • Java version Java 11

Custom Crafting Breaking on Custom Durability Damage Edit

Describe the bug
Editing an item's custom durability and damage causing custom crafting to error and break. (tldr short and simple)

To Reproduce
Create Item -> Set Durability -> Edit Damage to Custom Durability -> See that the GUI didn't open itself again - Type in /CustomCrafting and get no response from GUI.

Expected behavior
GUI to reopen after the setting of the durability damage. ¯_(°_°)_/¯"

Screenshots
As comedic as a screenshot of no gui would be- [https://hastebin.com/jutakarami.properties]

Server (please complete the following information):

  • Paper 1.17.1-163
  • Minecraft Version 1.17.1
  • Java Version 16

customcrafting does not work

Describe the bug
CustomCrafting does not work due to the errors with 'null'

To Reproduce
1, install latest customcrafting and wolfyutilities to your server
2, start the server
3, you will see the errors like screenshot below

Screenshots
https://gyazo.com/f1b79bd9c85096ed4482b11d47a01bd0

Server
Server Software: Paper
Minecraft version: 1.16.5
Java version: 16

error wolfyutilities

1.17.1 paper git 170
latest version plugins wolfyscript

[21:31:54] [Server thread/ERROR]: null

934 | org.bukkit.command.CommandException: Unhandled exception executing 'customcrafting:recipes' in me.wolfyscript.customcrafting.commands.CommandRecipe(recipes)
935 | at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:169) ~[minecraft_server.jar:git-Paper-170]
936 | at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:832) ~[minecraft_server.jar:git-Paper-170]
937 | at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2170) ~[app:?]
938 | at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:1981) ~[app:?]
939 | at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:1962) ~[app:?]
940 | at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[app:?]
941 | at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:6) ~[app:?]
942 | at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:36) ~[app:?]
943 | at net.minecraft.server.TickTask.run(TickTask.java:18) ~[minecraft_server.jar:git-Paper-170]
944 | at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
945 | at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
946 | at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1348) ~[minecraft_server.jar:git-Paper-170]
947 | at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:190) ~[minecraft_server.jar:git-Paper-170]
948 | at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
949 | at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1327) ~[minecraft_server.jar:git-Paper-170]
950 | at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1320) ~[minecraft_server.jar:git-Paper-170]
951 | at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[app:?]
952 | at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[minecraft_server.jar:git-Paper-170]
953 | at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1188) ~[minecraft_server.jar:git-Paper-170]
954 | at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[minecraft_server.jar:git-Paper-170]
955 | at java.lang.Thread.run(Thread.java:831) [?:?]
956 | Caused by: java.lang.IllegalStateException: zip file closed
957 | at java.util.zip.ZipFile.ensureOpen(ZipFile.java:828) ~[?:?]
958 | at java.util.zip.ZipFile.getEntry(ZipFile.java:327) ~[?:?]
959 | at java.util.jar.JarFile.getEntry(JarFile.java:513) ~[?:?]
960 | at java.util.jar.JarFile.getJarEntry(JarFile.java:468) ~[?:?]
961 | at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:158) ~[minecraft_server.jar:git-Paper-170]
962 | at java.lang.ClassLoader.loadClass(ClassLoader.java:586) ~[?:?]
963 | at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:108) ~[minecraft_server.jar:git-Paper-170]
964 | at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[minecraft_server.jar:git-Paper-170]
965 | at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
966 | at me.wolfyscript.customcrafting.utils.ChatUtils.checkPerm(ChatUtils.java:35) ~[customcrafting-spigot-1.7.1.1f.jar:?]
967 | at me.wolfyscript.customcrafting.utils.ChatUtils.checkPerm(ChatUtils.java:31) ~[customcrafting-spigot-1.7.1.1f.jar:?]
968 | at me.wolfyscript.customcrafting.commands.CommandRecipe.execute(CommandRecipe.java:38) ~[customcrafting-spigot-1.7.1.1f.jar:?]
969 | at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[minecraft_server.jar:git-Paper-170]
970 | ... 20 more

Stonecutter and furnaces recipes breaks with clocks

Server version: purpur 1.16.5 (it also happen on regular paper)

Context: Im using clocks with custom model data for almost all of my custom items created with mmoitems plugin, when i create a stonecutter recipe using this custom items weird things happen.

My particular issue: in my server when you break an iron ore block or a gold ore block without silk touch instead of the ore block you get as loot raw gold and raw iron (like 1.17 version) both of this items are clocks with custom model data created on mmoitems, you can put those items on a regular furnace to get ingots or on the stonecutter to create 2 of iron dust or gold dust this dust items are also custom clock, then you can use this dust on the blast furnace to get ingots of both of the minerals.

The problem is, at the begining the recipes to smelt raw gold and raw iron into ingots randomly breaks and doesn't work anymore breaking the progression of the game, (the blast furnace recipes to smelt gold dust and iron dust to ingots seems to not be affected).

Now another big problem if i put raw gold on the stonecutter in the possible results it show me Gold dust (this is correct) but also iron dust (this is wrong) this seems to be a visual error at the beginning because if you try to get iron dust from raw gold the item is removed from your inventory and you must chose the correct option but after some time it breaks and you can't get any of the results (both of the items are removed from your inventory every time you try to get them) the same happen with the raw iron to iron dust recipe.

So my actual hotfix was add raw iron to dust and raw gold to dust recipes to the crafting table and gift a blast furnace on first enter to the server to don't break the game progression until an actual fix can be found.

Smithing Table Stack Issue

Describe the bug
Mass crafting items(putting more than 1 item in one of the 2 slots) in the Smithing Table is very glitchy, for example, if I were to put a stack of ingredient(both stacks must have the exact number of items, like 64 and 64) items in each of the 2 slots, when I try to claim the result item, the recipe is only executed once instead of the expected 64 times, and will stop working afterward, requiring the player to re-put the ingredient items again. Any other number of ingredient items in a single slot other than 64 or the intended number in the original recipe will make the recipe not work.

To Reproduce
Steps to reproduce the behavior:

  1. Open a Smithing Table.
  2. Put more than the intended number(both slots must have the same number of items) of ingredient items in the 2 ingredient slots of the Smithing Table.
  3. When attempting to claim the result item, the recipe will only be executed once and then stop working afterward, needing the player to re-put the ingredients.

Expected behavior
The recipe should be executed as many times as the amount of correct, required ingredient items put in, instead of just once.

Server (please complete the following information):

  • Server Software: Purpur
  • Minecraft version: 1.16.5
  • Java version: 16

Additional context
If there is only 1 ingredient item in either of the slot and 64 in the other one, the recipe will work normally.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.