Mojira Archive
MC-252035

execute command relative positions

execute if block ~1 ~1 ~-3 minecraft:stone_button[face=wall,facing=east,powered=true] run setblock ~-28 ~-1 ~-4 minecraft:air

What I expected to happen:
detect if the button on relative position ~1 ~1 ~-3 and run setblock ...

What actually happened:
Nothing happen

Steps to Reproduce:
1. make a command block with my command
2. make stone button facing east on a wall and put a random block on ~-28 ~-1 ~-4 
3. click on the button
4. nothing happen

Invalid

Charpy

2022-05-21, 10:14 PM

2022-05-22, 10:12 AM

2022-05-22, 10:12 AM

0

2

Unconfirmed

1.18.2

-