This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I want know how to detect if the player is at a exact cordinate, example:
If I stay in: x= 150 / y=50 / z=190 (Doesn't detect)
If I stay in: x= 150.600 / y=50 / z=190 (it detect)
Try adding r=0 to the end of the command.
it didn't wok.
/testfor @e[type=player,x=150,y=50,z=190,dx=2,dy=2,dz=2] and run a comparator off it. It will work but the dx, dy, and dz may need changed. Feel free to ask me any questions.
I want know how to detect if the player is at a exact cordinate, example:
If I stay in: x= 150 / y=50 / z=190 (Doesn't detect)
If I stay in: x= 150.600 / y=50 / z=190 (it detect)
Try adding r=0 to the end of the command.
it didn't wok.
/testfor @e[type=player,x=150,y=50,z=190,dx=2,dy=2,dz=2] and run a comparator off it.
It will work but the dx, dy, and dz may need changed. Feel free to ask me any questions.