mojira.dev
MC-189647

Rotation NBT tag does not affect armor stand's rotation when placed using an armor stand item

In 1.16 Pre-release 5, the Rotation NBT tag does not seem to affect the rotation of an armor stand when placing it. It will face the player that placed it until it is teleported.

Replication:

Give yourself an armor stand with a specific rotation (This bug does not work when using the /summon command or a spawn egg that spawns an armor stand), like so:

/give @p minecraft:armor_stand{EntityTag:{Rotation:[0.0F,0.0F]}} 1

Then place the armor stand. The model will be looking towards you rather than the direction set by the Rotation tag. However, if you show hitboxes with F3+B, the blue line that shows where the armor stand is looking points in the direction set by the Rotation tag. Despite this, if you execute the following command, the armor stand will teleport in the direction the model is facing, and the blue line will point in that direction as well.

/execute as @e[type=minecraft:armor_stand] at @s run tp @s ^ ^ ^1

Linked issues

Attachments

Comments 24

This works if you use a spawn egg that spawns an armour stand

Replicated in 1.16.1 and 1.16.2

Can confirm in 20w46a.

Can confirm in 21w03a.

Can confirm in 21w06a.

14 more comments

Can confirm in 1.18-pre6

Can confirm in 1.18

Can confirm in 1.19.3

Can confirm in 1.19.4

Can confirm in 1.20.2 and 23w42a

Adam DeWitt

(Unassigned)

Confirmed

Platform

Normal

Entities, Hitboxes

1.16 Pre-release 5, 1.16.2, 20w46a, 21w03a, 1.16.5, ..., 1.17, 1.17.1, 1.18, 1.19.3, 1.19.4

Retrieved