Mojira Archive
MC-135250

"execute as" not working with teleport

I expect @e[tag=destination] to teleport relative to itself. When running the following and both buttons exist I expect @e[tag=destination] to move 3072 block. It only moves 2048 blocks.

execute positioned as @a[tag=crouched] if block ~-1 ~1 ~5 minecraft:stone_button run teleport @e[tag=destination] ~ ~ ~1024
execute positioned as @a[tag=crouched] if block ~1 ~1 ~5 minecraft:stone_button run teleport @e[tag=destination] ~ ~ ~2048

 

Edit:

Thank you! Your edit worked as desired.

Invalid

Trent Moyer

2018-07-30, 07:38 AM

2018-07-30, 09:21 AM

2018-07-30, 08:19 AM

0

0

Unconfirmed

Minecraft 1.13

-