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

The Motions of the entity which the player is riding on are always 0 from ”/data“ command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.1
    • Windows 11
      Java 19
    • Unconfirmed
    • Creative
    • (Unassigned)


      The sidebar scores display the entities' Motion[0] value by working always command
      "execute as @e[type=boat] store result score @s motion_x run data get entity @s Motion[0] 1000" 

      "motion_x " is a scoreboard here is the gen-command for it.
      "scoreboard objectives add motion_x dummy "实体动量x""

      At first, I thought it was my command's fault. But when I installed the mod to dispaly the speed of the boat, I tried to use data get command when the boat was sliding, but the value was still 0

      When I left the boat and push it to slide,the Motions' values are normal.

      Even if I try to use "/ data get entity @s RootVehicle.Entity. Motion" to get players to ride the motion of the entities is alwyas 0

        1. image-2023-08-01-14-29-07-599.png
          615 kB
          Zai_yu_you
        2. image-2023-08-01-14-34-41-233.png
          654 kB
          Zai_yu_you
        3. image-2023-08-01-14-47-10-855.png
          698 kB
          Zai_yu_you
        4. image-2023-08-01-19-06-11-657.png
          550 kB
          Zai_yu_you

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

              Created:
              Updated:
              Resolved: