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.