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

Armor default attribute modifier component can't be removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w18a
    • None
    • Confirmed
    • Commands
    • Normal
    • Platform

      Removing the default attribute modifier component from armor with the "!"prefix in a give command or loot table, does not remove the attribute modifiers that are on armor by default.

      To reproduce, run the command:

      /give @s minecraft:iron_chestplate[!minecraft:attribute_modifiers]

      This will give a player an iron chestplate that still says +6 armor, when the expected behavior is that it gives no armor.

            gegy1000 [Mojang] Gegy
            18jfisher1 Javitar
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: