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: [{}, {}, {}, {}]

        1. 2023-08-02_19.48.03.png
          455 kB
          Yangsy56302
        2. 2023-08-02_19.48.07.png
          458 kB
          Yangsy56302
        3. 2023-08-02_20.04.08.png
          286 kB
          Yangsy56302

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

              Created:
              Updated:
              Resolved: