-
Bug
-
Resolution: Fixed
-
Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18a
-
Confirmed
-
Survival
The bug
When renaming more than 1 item in an anvil in survival, the output will always be 1.
Code analysis
In 1.11.2, net.minecraft.inventory.ContainerRepair.updateRepairOutput() sets the output to 1 if the item is not a name tag.
ItemStack itemstack1 = itemstack.copy(); if (itemstack1.getCount() > 1 && !this.player.capabilities.isCreativeMode && !(itemstack1.getItem() instanceof ItemNameTag)) { itemstack1.setCount(1); }