i have a repeating command block pointing at a chain command block.
in the repeating command block set to unconditional and always active i use this command:
testfor @a[x=-617,y=57,z=-734,dx=-567,dy=57,dz=-694]
and in the chain block set to conditional and always active i use this command:
say IT WORKS
What i expect to happen, is when i step into the area within those coords, i want the chain block to say "IT WORKS!" repeatedly, but to stop saying it when im ouitside the area.
However, it seems to say "IT WORKS" whenever i am at y=57 and above, and seems to say it when im in an incredibly large area outside of the x and z coords i typed in.
Comments 2
Read on here: http://minecraft.gamepedia.com/Target_selector#Target_selectors
Selects only targets within the volume defined as starting from the location where the command was executed and extending DX blocks in the "x" direction (i.e., east/west), DY blocks in the "y" direction (i.e., upwards/downwards), and DZ blocks in the "z" direction (i.e., north/south). If an initial coordinate is specified with the x, y, and z arguments, that will be used instead of the position of the command's execution for the lower northwestern corner (dx, dy, and dz still specify distances from that coordinate; they do not specify a separate coordinate).
Dx dy dz are the diffrence compared to the inserted x y z, they are't coordinates them self, they also can't be negative
Invalid