-
Bug
-
Resolution: Unresolved
-
None
-
1.21.3, 24w46a
-
None
-
Unconfirmed
-
(Unassigned)
Description of the bug:
Setting the position of the entity using the command `/data` or `/execute store` and further teleportation of the entity using the command `/tp` leads to a desynchronization of the player's position on the server.
Reproducing a bug:
1) Create an The Void world (optional);
2) Download the structure from the attached files to the world and place it.
OR copy the commands in the same order as in the video:
/summon minecraft:text_display ~ ~ 0 {Tags:["test"],Passengers:[{id:"llama",NoAI:1b}]}
/execute positioned as @p run particle minecraft:wax_on
/data modify entity @n[tag=test] Pos[2] set value 0d /execute as @n[tag=test] at @s run tp @s ~ ~ ~0.5
3) Summon an entity from the first command (A llama is optional, it is only for the convenience of ride);
4) Enable the chain of commands from the third code block;
5) Mount on the mob and try to dismount.
Expected result:
The player dismounts from the mob in the same position as without the combination of the `data` and `tp` commands.
Current result:
the player dismounts in the position of how long the `/tp` command has been working since the moment the player mounted on the mob.
Video demonstration:
Link