The recipe book doesn't move ingredients that have NBT data
Since the beginning of version 1.12 and the introduction of the Recipe Book, there is a bug related to this book that prevents ingredients containing NBT data from being automatically transferred to the crafting grid when clicking on a book.
The following video shows the bug with leather containing a compound tag :
https://streamable.com/x2t23
The recipes are normally not sensitive to NBT data, which allows the recipe but prevents adding the ingredients.
The error is only server side and related to a player inventory method that is only used for the recipe book.
Related MCP Mappings :
PlayerInventory.findSlotMatchingUnusedItem(ItemStack p_194014_1_) ServerRecipeBookHelper.func_194325_a(Slot p_194325_1_, ItemStack p_194325_2_)
Affected method: net.minecraft.world.entity.player.Inventory.findSlotMatchingUnusedItem(ItemStack) (Mojang name)
The check Inventory.isSameItem(ItemStack, ItemStack) makes all subsequent checks irrelevant.
2018-04-30, 12:55 AM
2024-05-28, 02:13 PM
2021-10-22, 10:17 AM
12
9
-