mojira.dev
MCPE-49415

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 ~ ~ ~
/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
/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
/execute @e[type=armor_stand,c=1] ~ ~ ~ teleport @s ~ ~ ~ ~ -90

→ ❌  The armor stand's x-rotation will quickly lower to 0.

Attachments

Comments 3

It would be great if you could please include the Expected Results in your repro steps as well.

Aye, sir, I got it updated.

I edited the ticket to more closely describe the bug.

Sprunkles

(Unassigned)

318461

Confirmed

Multiple

Commands, Entities, Rotation, armor-stand

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.18.2 Hotfix, 1.18.12 Hotfix, 1.18.30, 1.19.0, 1.21.31 Hotfix

Retrieved