Commands/testfor

Counts entities (players, mobs, items, etc.) matching specified conditions.

Arguments

 * Specifies the entities to test.

Examples

 * To test if Alice is online:
 * To count the number of players in Survival mode within a 3-block radius of (0,64,0):
 * To count the number of zombies within a 20-block radius of (0,64,0):

History
Befehl/testfor コマンド/testfor Comandos/testfor 命令/testfor