Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Run a clock with a command block attached to it with the command: /testfor @a[x=X,y=Y,z=Z,r=Radius]
/testfor @a[x=X,y=Y,z=Z,r=Radius]
and put a comparator coming out of the command block with output leading to pistons.
Run a clock with a command block attached to it with the command: /testfor @a[x=X,y=Y,z=Z,r=Radius] and put a comparator coming out of the command block with output leading to pistons.
Run a clock with a command block attached to it with the command:
/testfor @a[x=X,y=Y,z=Z,r=Radius]
and put a comparator coming out of the command block with output leading to pistons.
Run a clock with a command block attached to it with the command: /testfor @a[x=X,y=Y,z=Z,r=Radius] and put a comparator coming out of the command block with output leading to pistons.