mojira.dev
MC-79735

Armor Stand passengers rotation displays incorrectly

When I used the command

/entitydata @e[type=armor_stand,c=1] {Rotation:[180f]}

on a stand riding another stand the entity rotates, but displays incorrectly. In F3+B is is shown facing 180 degrees, but the actual stand is not.

To reproduce:

  • Run this command:

    /summon armor_stand ~ ~1 ~ {Passengers:[{id:"armor_stand",CustomName:"\"TestStand\"",CustomNameVisible:1}]}
  • Then this command:

    /data merge entity @e[name=TestStand,limit=1] {Rotation:[180f]}

Related issues

Attachments

Comments

migrated
[media]
marcono1234

Confirmed for

  • 1.8.7 Just the second after breaking it, you see it rotated correctly for a moment please use {code} in front and behind commands so they have the proper formatting.

Something strange: It seems to be only visually, the NBT data says that it has a rotation of 90f however when performing the /entitydata command multiple times it won't give the error that nothing changed

migrated

Likely caused by MC-1207

SunCat

Confirmed for 1.9

migrated

is this the same as MC-69613? I'm not quite sure

marcono1234

Relates to or caused by MC-65528

bemoty

Can confirm for MC 1.12.1.

migrated

Happens in 18w20c too.

migrated

Confirmed for 1.13.1.

Updated commands (1.13+): /summon armor_stand ~ ~1 ~ {Passengers:[{id:"armor_stand",CustomName:"\"TestStand\"",CustomNameVisible:1}]}
/data merge entity @e[name=TestStand,limit=1] {Rotation:[180f]}
KirbAvion

Confirmed for 1.14

KirbAvion

And for 1.14.1.

migrated

Confirmed for 1.14.2

migrated

If you set the motion of the armor stand in the same tick as the rotation, this bug is 100% reproducible every time:

execute store result entity @e[name=standEntity,limit=1] Rotation[0] float 0.001 run data get entity @p Rotation[0] 1000
execute store result entity @e[name=standEntity,limit=1] Rotation[1] float 0.001 run data get entity @p Rotation[1] 1000
execute store result entity @e[name=standEntity,limit=1] Motion[0] double 0.001 run data get entity @s Motion[0] 1000
execute store result entity @e[name=standEntity,limit=1] Motion[1] double 0.001 run data get entity @s Motion[1] 1000
execute store result entity @e[name=standEntity,limit=1] Motion[2] double 0.001 run data get entity @s Motion[2] 1000

If you execute this function as a moving entity, the armor stand will copy its velocity but will not visually update its own rotation. If you display hitboxes, the blue line is pointing in the correct direction.

migrated

confirmed in 1.14.4. For me it seems to rotate twice in a row just fine (rotating 90 degrees at a time), the third time the visual issue occurs, then it repeats.

onnowhere

Confirmed 1.15 pre-4. Might want to change the title to indicate it only happens with passengers.

migrated

Confirmed in 20w21a. Relates to MC-110008

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 1.16.5 and 21w08b.

Avoma

Can confirm in 21w11a.

Avoma

Can confirm in 1.19.2 and 22w42a.

migrated

(Unassigned)

Confirmed

Platform

Low

Entities, Rendering

Minecraft 1.8.4, Minecraft 1.8.7, Minecraft 1.9, Minecraft 1.11, Minecraft 1.11.2, ..., 21w05b, 21w08b, 1.19.2, 22w42a, 1.21.1

Retrieved