If I manually do just the /setblock ~ ~1 ~2 minecraft:redstone_block command, the block is placed in the proper location.
However, if I set Two1's value to 1, I suddenly get a trail of redstone blocks following me. I do NOT want to program in specific coordinates in the first set of ~'s, because I'm duplicating this structure 8 times, and don't want to have to manually adjust each one. The whole point is that it should be relative to the command block itself.
Can anyone help with this?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have set up a scoreboard variable named Two1. In my command block I have this:
/execute @a[score_Two1=1,score_Two1_min=1] ~ ~ ~ /setblock ~ ~1 ~2 minecraft:redstone_block
If I manually do just the /setblock ~ ~1 ~2 minecraft:redstone_block command, the block is placed in the proper location.
However, if I set Two1's value to 1, I suddenly get a trail of redstone blocks following me. I do NOT want to program in specific coordinates in the first set of ~'s, because I'm duplicating this structure 8 times, and don't want to have to manually adjust each one. The whole point is that it should be relative to the command block itself.
Can anyone help with this?