I am wondering how to test for a player in a certain radius.
/testfor @a[r=22], that's all I know.
Can any one help me solve my problem? I'm on Version 1.13
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
You can specify multiple arguments by separating them with commas. Enter the following command into a command block:
/testfor @a[name=,r=], where is a player's username and is the circular distance around the block.
You could put this command block on an infinite redstone loop to make it run over and over, all the time.