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

"item_durability_changed" not triggered by armor durability loss

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      Given the following advancement, placed in world/data/advancements/custom/armor.json, which triggers any time an item loses durability:

      {
          "criteria": {
              "findme": {
                  "trigger": "minecraft:item_durability_changed"
              }
          }
      }
      

      And the following commands to test it at will:

      /advancement test @p custom:armor
      /advancement revoke @p custom:armor

      Any items in the armor slots having a change in durability will not trigger the advancement.

        Attachments

          Activity

            People

            Assignee:
            dinnerbone [Mojang] Nathan Adams
            Reporter:
            skylinerw [Mod] Skylinerw
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: