Mojira Archive
MC-121875

Can't move player position using /execute store result

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

Duplicate

Richard A. Hallett

2017-11-12, 01:48 AM

2017-11-20, 02:40 AM

2017-11-20, 02:40 AM

0

0

Unconfirmed

Minecraft 17w45b

-