Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-123072

Entity coordinate in boat are update 1 tick later

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 17w49b
    • None
    • WIndows 10
      Java build 1.8.0_121-b13
    • Unconfirmed

      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
        

            Unassigned Unassigned
            ForAbby ForAbby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: