1
Conditional command blocks never work for me
Hi! When I say conditional command blocks, I mean specifically the commands /testfor and /testforblock. The chain command blocks connected to it repeat unexpectedly. For example, when I put in a repeating and always active command block "/tp @a[x=1,y=1,z=1,r=2] 0 0 0", it keeps teleporting me, even though I am not standing at the coordinates 1,1,1, and in some cases, I have to open another program to get rid of the command block.
What are some common taboos about this? How can I fix this?
What are some common taboos about this? How can I fix this?
1
/tp @a[x=1,y=1,z=1,r=1 or r=0] 0 0 0
It should only teleport u if you're standing at the exact coordinates of 1 1 1
Just put it in a repeating command block (purple) and set redstone to always active
EDIT: It's spam teleporting you coz u set ur radius to 2 coz 0 0 0 and 1 1 1 is pretty much 2 blocks away so it's still detecting u even if you're in the coordinates of 0 0 0
It should only teleport u if you're standing at the exact coordinates of 1 1 1
Just put it in a repeating command block (purple) and set redstone to always active
EDIT: It's spam teleporting you coz u set ur radius to 2 coz 0 0 0 and 1 1 1 is pretty much 2 blocks away so it's still detecting u even if you're in the coordinates of 0 0 0
