Armor stands' x-rotation tends to move towards 0
The bug:
An armor stand's x-rotation will move towards zero over the course of a couple of ticks, mimicking other mobs. This differs from the behavior exhibited in Java Edition, where the x-rotation remains the same and does not change.
What I expected:
For the armor stand's x-rotation to not change. It should retain the value it was set to, just like a boat.
What happens:
The armor stand's x-rotation moves towards zero over the course of a couple of ticks.
Steps to reproduce:
- Summon a new armor stand:
/summon armor_stand ~ ~ ~
- Have the following in a repeating command block:
/execute @e[type=armor_stand,c=1] ~ ~1 ~ particle minecraft:basic_flame_particle ^ ^ ^1.5
(To illustrate where the armor stand is currently looking)
- Teleport the armor stand to itself with a change in pitch:
/execute @e[type=armor_stand,c=1] ~ ~ ~ teleport @s ~ ~ ~ ~ -90
→
The armor stand's x-rotation will quickly lower to 0.
2019-07-23, 06:04 PM
2024-10-02, 03:36 PM
17
7
318461
Commands, Entities, Rotation, armor-stand
1.17.10.21 Beta - 1.21.31 Hotfix
1.17.10.21 Beta, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.14.20 Hotfix, 1.13.1, 1.14.1 Hotfix, 1.12.1, 1.12.0, 1.14.0, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.0, 1.16.1, 1.16.20, 1.16.210, 1.16.221 Hotfix, 1.18.2 Hotfix, 1.18.12 Hotfix, 1.18.30, 1.19.0, 1.21.31 Hotfix
-