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

Advancement trigger item_durability_changed doesn't trigger with mending

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2, Minecraft 18w11a, Minecraft 18w19b, Minecraft 1.13.2, Minecraft 18w50a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      The advancement trigger item_durability_changed does not trigger when the item is repaired by mending.

      Steps to reproduce:

      1. make a data pack with the advancement file attached (Referring to it as test:mending)
      2. use/grab an iron pickaxe, see how the advancement is granted.
      3. revoke the advancement
        /advancement revoke @s only test:mending
      4. enchant the iron pickaxe with mending
      5. spawn an xp orb
        /summon minecraft:experience_orb ~ ~ ~ {Value:1}
      6. see the iron durabilty change, but the advancement is not granted.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              NoUser No User
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: