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

Armor stands are destroyed by firework explosions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w46a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w16a, 1.17, 1.17.1, 1.18.1, 22w15a, 1.19.3, 23w07a, 1.19.4, 23w14a, 1.20.1
    • None
    • Confirmed
    • Entities, Projectiles

      The bug

      Unlike other non-living entities (items, boats, etc.), armor stands are destroyed by explosions created by fireworks. They will drop any armor and held items, but not the armor stand itself. This does not affect invisible or marker armor stands.

      To reproduce

      1. Give yourself a crossbow already loaded with a firework rocket by using the command provided below.
        /give @s minecraft:crossbow{Charged:1b,ChargedProjectiles:[{id:"minecraft:firework_rocket",Count:1b,tag:{Fireworks:{Explosions:[{Flicker:1,Trail:1,Type:1}]}}}]}
      2. Place down an armor stand and shoot the firework rocket at it.
      3. Take note as to whether or not the armor stand is destroyed by the firework explosion.

      Code analysis

      Armor stands are the only non-mob/player entity that's classified as LivingEntity, and firework rockets damage only LivingEntities within a certain radius, as opposed to all entities (like normal explosions do). Armor stands break without dropping themselves if damaged by anything classified as explosion damage, which includes fireworks.

        1. MC-198669.png
          MC-198669.png
          741 kB
        2. MC-198669.mp4
          4.05 MB

            Unassigned Unassigned
            Sonicwave [Mod] Sonicwave
            Votes:
            10 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: