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

Can't move player position using /execute store result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w45b
    • None
    • Windows 10, bundled java runtime
    • Unconfirmed

      The command "/execute store result" can be used to update a mob's position, but not that of a player.

      After running the commands:

      /scoreboard objectives add storedY dummy
      /execute store result score @s storedY run data get entity @s Pos[1] 1.1
      

      The following command does work:

      /execute store result entity @e[type=creeper,limit=1,sort=nearest] Pos[1] double 1 run scoreboard players get @s storedY
      

      But the following command does not:

      /execute store result entity @s Pos[1] double 1 run scoreboard players get @s storedY
      

            Unassigned Unassigned
            RichardAHallett Richard A. Hallett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: