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

When a mob spawn with armor, use command to replace it with air at the same tick, the armor still display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.1
    • None
    • Unconfirmed
    • (Unassigned)

      Example:
      Place a repeating command block with this command:
      /item replace entity @e[type=zombie] armor.head with air
      Active it, then run this command:
      /summon zombie ~ ~ ~ {ArmorItems:[{},{},{},

      {id:"minecraft:iron_helmet",Count:1b}

      ]}
      A zombie wearing iron helmet will appear, but if you check its data:
      /data get entity <uuid of that zombie> ArmorItems
      The command will return this:
      Zombie has the following entity data: [{}, {}, {}, {}]

            Unassigned Unassigned
            yangsy56302 Yangsy56302
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: