-
Bug
-
Resolution: Unresolved
-
None
-
1.20.6, 1.21 Pre-Release 2, 1.21, 24w39a, 1.21.3, 1.21.4
-
None
-
Confirmed
-
Commands
-
Low
-
Platform
Shulkers have an attribute modifier that increases their minecraft:generic.armor attribute by 20 when they are closed, but not if they have NoAI set to true.
How to reproduce:
- Summon a shulker.
- While the shulker is closed, execute the following command:
/attribute @n[type=minecraft:shulker] minecraft:armor modifier value get minecraft:covered
→
The shulker has 20 armor points (unless you did it before the shulker opened for the first time, which is tracked at MC-272922). - Summon a shulker with no AI with the following command:
/summon minecraft:shulker ~ ~ ~ {NoAI:1b} - Run the command from step 2 again (make sure to be closer to the new shulker).
→
The attribute modifier doesn't exist.
Expected result:
The closed shulker with no AI would have 20 armor points.
Observed result:
The closed shulker with no AI has no armor points.
- relates to
-
MC-272922 Shulkers don't have their innate armor attribute modifier after spawning as closed until they open once
- Open