All Minecraft target selector arguments
Solution 1:
Via the Minecraft Wiki
Present in 1.8
-
x
= X coordinate of search origin -
y
= Y coordinate of search origin -
z
= Z coordinate of search origin -
r
= radius maximum in blocks -
rm
= radius minimum in blocks -
m
= gamemode (0: survival, 1: creative, 2: adventure, 3: spectator) -
score_[name]
= score maximum -
score_[name]_min
= score minimum -
c
= maximum targets (not minimum, of which there is none) -
l
= level maximum -
lm
= level minimum -
team
= scoreboard team name -
name
= player username or entity CustomName (translated default name if no CustomName) -
dx
= number of blocks in the X direction to search in -
dy
= number of blocks in the Y direction to search in -
dz
= number of blocks in the Z direction to search in -
rx
= vertical rotation maximum -
rxm
= vertical rotation minimum -
ry
= horizontal rotation maximum -
rym
= horizontal rotation minimum -
type
= entity ID (only available for@r
and@e
)
Added in 1.9
-
tag
= scoreboard "tag" stored on the target (viaTags
list, modifiable with/scoreboard players tag <target> <add|remove> <tagname> {dataTags}
)