CustomCrafting icon indicating copy to clipboard operation
CustomCrafting copied to clipboard

Items disappear when using recipe book on crafting table.

Open ZenkoKasai opened this issue 3 years ago • 2 comments

What happened?

When clicking the icon on the recipe book while in the vanilla Minecraft workbench it autofills the items in the slots as intended for crafting. When you shift click, it fills stacks. If you fill with a full stack and click the result to collect it, only one item is crafted and the remaining items disappear.

How can the bug be reproduced?

In this image, is the blank workbench gui. blank

I then, shift + left click to auto fill "grapes" into the workbench

filled

Then, I collect the result normally. All of the purple dye vanishes and the sweet berries are subtracted by one. collection

Everything works fine if I place the items in manually without using the vanilla recipe book. I had gone through and made sure exact nbt was selected for everything in the /cc menus. The result stayed the same. All recipes are saved with the plugin.

There are no errors popping up at all and it happens on all of my recipes.

Expected Behaviour?

Craft a full stack of items.

Plugin version

WolfyUtilities 4.16.2.0, CustomCrafting v.3.16.4

Server software

Paper 1.18.2 379

Relevant log output

No response

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).

ZenkoKasai avatar Jun 09 '22 03:06 ZenkoKasai

For some reason, the prepare event isn't called for the last ingredient in the grid. I found a fix for it, but it requires ProtocolLib to function... Trying to find one without using it, but might be impossible as there is no other way to detect if the player autocompletes recipes.

Edit 20/7/22: I haven't found another solution for it yet. To fix it, you have to install the plugin ProtocolLib!

WolfyScript avatar Jun 09 '22 20:06 WolfyScript

I'm using ProtocolLib, the problem persists

Nononitas avatar Dec 27 '22 22:12 Nononitas