Minecraft wiki entry for Scoreboard, associated text: Commands can check entity scores by using target selector with the scores argument (syntaxed @e[scores={<name>=<min>..<max>}]. This argument uses <name> to specify the internal name of the tested-for objective.