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

Attributes are retained even if destroyed by "damage_item"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 1.21 Release Candidate 1, 1.21
    • None
    • Community Consensus
    • Commands, Data Packs, Enchantments
    • Important
    • Platform

      When I used Soul Speed's "damage_item" without "randam_chance", the attribute effect continued even after the item was destroyed.

       

      1. Install Datapack.
      2. Add an enchantment to your boots.
      /enchant @s minecraft:test 3
      1. Keep running on Soul Sand or Soul Soil.
      2. Even if durability is depleted, armor, movement speed, etc. will be retained.
      3. This can be removed by putting on the boots again or leaving the world.

        1. Armor remaining.png
          212 kB
          KZK1945
        2. before use.png
          217 kB
          KZK1945

            TommyWallberg [Mojang] TommyWallberg
            KZK1945 KZK1945
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: