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

Armor stands are destroyed by firework explosions

    XMLWordPrintable

Details

    • 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
    • None
    • Confirmed
    • Entities, Projectiles

    Description

      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

      • Craft firework stars and rockets manually (so that they have an explosion)
      • Place an armor stand and a boat (or another non-living entity) near each other
      • Use a crossbow to shoot a firework near the armor stand, or place a block a few blocks above ground and spawn a firework to hit its underside

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                CHK: