Mojira Archive
MC-124537

Tilde notation working incorrectly in /execute as

I was playing in the latest 1.13 snapshot, I ran the command /execute as @e[type=sheep,distance=..15] run tp @s ~ ~3 ~, expecting all of the sheep within 15 blocks of me to teleport 3 blocks upwards. However, the sheep teleported 3 blocks above me instead. I believed this is an issue with the tilde notation.

I confirmed this when I ran the command /execute as @e[type=sheep,distance=..15] run setblock ~ ~3 ~ stone, where a stone block was placed above me instead of above the sheep.

I hope this is not an intended feature as the commands should be running AS the sheep, so tilde notation should be with respect to the sheep.

Invalid

Seacraft Gaming

2018-01-24, 03:37 AM

2018-01-24, 04:04 AM

2018-01-24, 03:56 AM

0

0

Unconfirmed

execute, tilde

Minecraft 18w03b

-