mojira.dev
MC-166535

Armor Stands rotation and position visual bug

From version 1.15-pre1 rotation and position of armor stands have been completely broken. It is similar to MC-79735, but much more intense. Bug ocures when moving/rotating an armor stand using tp command or execute store. Here you can see how to reproduce it, and here is a comparison to 1.14. This thread is similar to MC-166132, but that bug mentions only tp facing.

Examples of commands required to reproduce the bug:

  1. Simple teleportation:
    /execute as @e[type=armor_stand] at @s run tp @s ~ ~ ~ ~10 ~

  2. Execute store:
    /scoreboard objectives add time dummy
    /scoreboard players add @e[type=armor_stand] time 10
    /execute as @e[type=armor_stand] store result entity @s Rotation[0] float 1 run scoreboard players get @s time

Related issues

Comments

marcono1234

Could you please provide exact commands which let us easily reproduce the issue?

migrated

The report has been updated with the necessary information describing how to reproduce the bug.

NeunEinser

Seems like the bug does not happen when rotating and teleporting at the same time (i.e. using /execute as @e[type=armor_stand] at @s run tp ~ ~0.1 ~ ~10 ~)

migrated

It is still present, but in a different way. When the armor stand is teleported and rotated at the same time, in some cases position does not change. I can't show how to reproduce it because it is completly random. This is how it looks like.

boq

I couldn't reproduce position mismatch, but rotation should be fixed. If there are still problem with position, please open new bug with specific reproduction steps for that.

MukiTanuki

I can confirm that rotation is NOT fixed, (at least using the facing commands) but this could be the other two bugs related to it.

boq

Can you be more specific? I tested 1.14 and 1.15-pre3 with command from MC-166132 and it seemed to behave the same.

migrated

I can confirm that there is still a problem here. Using this command:

/execute as @e[type=minecraft:armor_stand,distance=..3] at @s run tp @s ~ ~ ~ facing entity @p

the armour stand's Rotation data gets updated but is not always reflected in the displayed stand.

Unfortunately I have not been able to track down the exact circumstances that cause the problem (yet!)

Edit to add: If you have the command running continuously in a repeating command block (as in MC-166132) you may not be able to see the problem as it doesn't always occur and may work again the next tick. I suggest running the command manually and checking after each attempt.

boq

I can confirm that sometimes armor stands don't rotate, but now it seems like instance of MC-103800.

migrated

Well that's mighty odd! I've done a ton of stuff with armour stands and never noticed the graphical glitch before but going back and running the same tests in 1.14.4 does indeed show the same graphical glitch.

I'll add my vote and a comment to MC-103800.

Many thanks.

migrated

boq

Confirmed

Important

Entities

mojang_internal_2

1.15 Pre-Release 2

1.15 Pre-release 3

Retrieved