Interface Criteria


public interface Criteria
Represents a scoreboard criteria, either custom or built-in to the Minecraft server, used to keep track of and manually or automatically change scores on a scoreboard.

While this class outlines constants for standard criteria, see statistic(Statistic) (and its overloads) to create instances for statistically-backed criteria.

  • Field Details

    • DUMMY

      static final Criteria DUMMY
      The dummy criteria. Not changed by the server.
    • TRIGGER

      static final Criteria TRIGGER
      The trigger criteria. Changed when a player runs the /trigger command for an objective.
    • DEATH_COUNT

      static final Criteria DEATH_COUNT
      Increments automatically when a player dies.
    • PLAYER_KILL_COUNT

      static final Criteria PLAYER_KILL_COUNT
      Increments automatically when a player kills another player.
    • TOTAL_KILL_COUNT

      static final Criteria TOTAL_KILL_COUNT
      Increments automatically when a player kills another living entity.
    • HEALTH

      static final Criteria HEALTH
      Mirrors the player's health points (0 for no health, 20 for maximum default health).
    • FOOD

      static final Criteria FOOD
      Mirrors the player's food points (0 for no food, 20 for maximum food).
    • AIR

      static final Criteria AIR
      Mirrors the player's air supply (0 for no air, 300 for maximum air).
    • ARMOR

      static final Criteria ARMOR
      Mirrors the player's armor points (0 for no armor, 20 for maximum armor).
    • XP

      static final Criteria XP
      Mirrors the player's experience points.
    • LEVEL

      static final Criteria LEVEL
      Mirrors the player's experience level.
    • TEAM_KILL_BLACK

      static final Criteria TEAM_KILL_BLACK
      Increments automatically when a player kills another player on the black team.
    • TEAM_KILL_DARK_BLUE

      static final Criteria TEAM_KILL_DARK_BLUE
      Increments automatically when a player kills another player on the dark blue team.
    • TEAM_KILL_DARK_GREEN

      static final Criteria TEAM_KILL_DARK_GREEN
      Increments automatically when a player kills another player on the dark green team.
    • TEAM_KILL_DARK_AQUA

      static final Criteria TEAM_KILL_DARK_AQUA
      Increments automatically when a player kills another player on the dark aqua team.
    • TEAM_KILL_DARK_RED

      static final Criteria TEAM_KILL_DARK_RED
      Increments automatically when a player kills another player on the dark red team.
    • TEAM_KILL_DARK_PURPLE

      static final Criteria TEAM_KILL_DARK_PURPLE
      Increments automatically when a player kills another player on the dark purple team.
    • TEAM_KILL_GOLD

      static final Criteria TEAM_KILL_GOLD
      Increments automatically when a player kills another player on the gold team.
    • TEAM_KILL_GRAY

      static final Criteria TEAM_KILL_GRAY
      Increments automatically when a player kills another player on the gray team.
    • TEAM_KILL_DARK_GRAY

      static final Criteria TEAM_KILL_DARK_GRAY
      Increments automatically when a player kills another player on the dark gray team.
    • TEAM_KILL_BLUE

      static final Criteria TEAM_KILL_BLUE
      Increments automatically when a player kills another player on the blue team.
    • TEAM_KILL_GREEN

      static final Criteria TEAM_KILL_GREEN
      Increments automatically when a player kills another player on the green team.
    • TEAM_KILL_AQUA

      static final Criteria TEAM_KILL_AQUA
      Increments automatically when a player kills another player on the aqua team.
    • TEAM_KILL_RED

      static final Criteria TEAM_KILL_RED
      Increments automatically when a player kills another player on the red team.
    • TEAM_KILL_LIGHT_PURPLE

      static final Criteria TEAM_KILL_LIGHT_PURPLE
      Increments automatically when a player kills another player on the light purple team.
    • TEAM_KILL_YELLOW

      static final Criteria TEAM_KILL_YELLOW
      Increments automatically when a player kills another player on the yellow team.
    • TEAM_KILL_WHITE

      static final Criteria TEAM_KILL_WHITE
      Increments automatically when a player kills another player on the white team.
    • KILLED_BY_TEAM_BLACK

      static final Criteria KILLED_BY_TEAM_BLACK
      Increments automatically when a player is killed by a player on the black team.
    • KILLED_BY_TEAM_DARK_BLUE

      static final Criteria KILLED_BY_TEAM_DARK_BLUE
      Increments automatically when a player is killed by a player on the dark blue team.
    • KILLED_BY_TEAM_DARK_GREEN

      static final Criteria KILLED_BY_TEAM_DARK_GREEN
      Increments automatically when a player is killed by a player on the dark green team.
    • KILLED_BY_TEAM_DARK_AQUA

      static final Criteria KILLED_BY_TEAM_DARK_AQUA
      Increments automatically when a player is killed by a player on the dark aqua team.
    • KILLED_BY_TEAM_DARK_RED

      static final Criteria KILLED_BY_TEAM_DARK_RED
      Increments automatically when a player is killed by a player on the dark red team.
    • KILLED_BY_TEAM_DARK_PURPLE

      static final Criteria KILLED_BY_TEAM_DARK_PURPLE
      Increments automatically when a player is killed by a player on the dark purple team.
    • KILLED_BY_TEAM_GOLD

      static final Criteria KILLED_BY_TEAM_GOLD
      Increments automatically when a player is killed by a player on the gold team.
    • KILLED_BY_TEAM_GRAY

      static final Criteria KILLED_BY_TEAM_GRAY
      Increments automatically when a player is killed by a player on the gray team.
    • KILLED_BY_TEAM_DARK_GRAY

      static final Criteria KILLED_BY_TEAM_DARK_GRAY
      Increments automatically when a player is killed by a player on the dark gray team.
    • KILLED_BY_TEAM_BLUE

      static final Criteria KILLED_BY_TEAM_BLUE
      Increments automatically when a player is killed by a player on the blue team.
    • KILLED_BY_TEAM_GREEN

      static final Criteria KILLED_BY_TEAM_GREEN
      Increments automatically when a player is killed by a player on the green team.
    • KILLED_BY_TEAM_AQUA

      static final Criteria KILLED_BY_TEAM_AQUA
      Increments automatically when a player is killed by a player on the aqua team.
    • KILLED_BY_TEAM_RED

      static final Criteria KILLED_BY_TEAM_RED
      Increments automatically when a player is killed by a player on the red team.
    • KILLED_BY_TEAM_LIGHT_PURPLE

      static final Criteria KILLED_BY_TEAM_LIGHT_PURPLE
      Increments automatically when a player is killed by a player on the light purple team.
    • KILLED_BY_TEAM_YELLOW

      static final Criteria KILLED_BY_TEAM_YELLOW
      Increments automatically when a player is killed by a player on the yellow team.
    • KILLED_BY_TEAM_WHITE

      static final Criteria KILLED_BY_TEAM_WHITE
      Increments automatically when a player is killed by a player on the white team.
  • Method Details