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

After a /ride, the rider's position updates 2 ticks later

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 23w03a, 1.21.4
    • Unconfirmed
    • Commands

      In a datapack, using /ride to make an entity mount another entity makes the first entity's position update 2 ticks later.

       

      Steps to recreate :

      1) make entity x (a creeper for exemple) mount entity y (a husk for exemple) with /ride

      2) store entity the creeper's y position in a scoreboard and output it in the chat (it has not been updated yet)

      3) repeat step 2 one tick later via a schedule command (the creeper's y position has still not been updated)

      4) repeat step 2 one more tick later (the creeper's y position has been updated)

       

      An exemple datapack has been provided (run /function ride:start)

        1. image-2024-12-18-15-56-28-281.png
          15 kB
          MiniPrince123

            Unassigned Unassigned
            MiniPrince123 MiniPrince123
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: