Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18a
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Survival

      Description

      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);
                  }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Excited [Mojang] Maria Lemón
                Reporter:
                Neko [Mod] Neko
              • Votes:
                27 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: