Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-268326

Mending can be applied to items with Unbreakable:1b

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w05b
    • None
    • Confirmed
    • Commands, Enchantments

      With the recent enchanting changes, unbreaking cannot be applied to items with the Unbreakable tag, but mending can.

      To reproduce:
      1. Go into survival mode
      2. RunĀ 

      /give @s diamond_sword{Unbreakable:1b}

      3. Attempt to apply an unbreaking enchanted book to this item via anvil
      It is correctly prevented.
      4. Attempt the same with a mending enchanted book
      It is incorrectly applied.

      Given that the item effectively has no durability, it should consistently not be able to receive mending if unbreaking is prevented as well.

            Unassigned Unassigned
            CreeperMagnet_ CreeperMagnet_
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: