So I'm fairly new to using the /execute command, but have been working with command blocks for some time, and am having some difficulty identifying a problem...
I'm working on making a push-able block (smooth granite), and have the block be cloned to a space one further away from the player after a delay of 10 ticks (using a scoreboard with objective 'pushDelay'). I've set up a system whereby the following commands function as intended:
However, any other direction (negative x, positive or negative z) doesn't work. For example, the following command doesn't give me any output info, even though all I changed (I believe) was the direction:
0
So I'm fairly new to using the /execute command, but have been working with command blocks for some time, and am having some difficulty identifying a problem...
I'm working on making a push-able block (smooth granite), and have the block be cloned to a space one further away from the player after a delay of 10 ticks (using a scoreboard with objective 'pushDelay'). I've set up a system whereby the following commands function as intended:
/execute @a ~ ~ ~ detect ~1 ~ ~ stone 2 scoreboard players add @a pushDelay 1
followed by
/execute @a[score_pushDelay_min=10] ~ ~ ~ detect ~1 ~ ~ stone 2 execute @a ~ ~ ~ detect ~2 ~ ~ air 0 clone ~1 ~ ~ ~1 ~ ~ ~2 ~ ~ masked move
However, any other direction (negative x, positive or negative z) doesn't work. For example, the following command doesn't give me any output info, even though all I changed (I believe) was the direction:
/execute @a ~ ~ ~ detect ~-1 ~ ~ stone 2 scoreboard players add @a pushDelay 1
Any idea what I'm doing wrong...?