-
Bug
-
Resolution: Fixed
-
23w06a
-
None
-
Confirmed
-
Commands, Entities, Save Data
-
Normal
-
Platform
When an entity mounts a display entity, internally, the Y position remains the same as it was before mounting, and becomes vertically offset from the mounted display. Relates to MC-259816 and MC-259999.
To Reproduce:
/summon minecraft:block_display ~ ~ ~ {block_state:{Name:"stone"},Tags:[test]}
- Move in all three axes so that you are no longer aligned to the display
/summon minecraft:armor_stand ~ ~ ~ {Tags:[test2],NoGravity:1b}
/ride @e[tag=test2,limit=1] mount @e[tag=test,limit=1]
/data get entity @e[tag=test2,limit=1] Pos
- Notice the position saved in NBT is aligned to the block display on the X and Z axes but incorrect for the Y axis only
/execute as @e[tag=test,limit=1] at @s run tp @s ~10 ~10 ~10
/data get entity @e[tag=test2,limit=1] Pos
- Notice the X and Z positions updated but the Y position did not