Entity coordinate in boat are update 1 tick later
Bug
When you summon or change the rotation of a boat, the entities riding it are going to update their coordinates 1 tick later after all the commands are executed.
How to reproduce
- Setup
scoreboard objectives add Test dummy summon minecraft:boat ~ ~1 ~ {Passengers:[{id:"minecraft:armor_stand",Tags:["1"]},{id:"minecraft:armor_stand",Tags:["2"]}],Tags:["0"],NoGravity:1b} - Commands
execute store result entity @e[type=boat,sort=nearest,limit=1] Rotation[0] float 1 run data get entity @p Rotation[0] 1 execute store result score @p Test run data get entity @e[tag=1,sort=nearest,limit=1] Pos[0] 1
2017-12-09, 10:52 PM
2018-06-12, 09:15 PM
2018-06-12, 09:15 PM
0
2
-