Uses of Interface
org.bukkit.scoreboard.Criteria
Packages that use Criteria
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces used to manage the client side score display system.
-
Uses of Criteria in org.bukkit
Methods in org.bukkit that return CriteriaModifier and TypeMethodDescriptionstatic CriteriaBukkit.getScoreboardCriteria(String name) Get (or create) a newCriteriaby its name.Server.getScoreboardCriteria(String name) Get (or create) a newCriteriaby its name. -
Uses of Criteria in org.bukkit.scoreboard
Fields in org.bukkit.scoreboard declared as CriteriaModifier and TypeFieldDescriptionstatic final CriteriaCriteria.AIRMirrors the player's air supply (0 for no air, 300 for maximum air).static final CriteriaCriteria.ARMORMirrors the player's armor points (0 for no armor, 20 for maximum armor).static final CriteriaCriteria.DEATH_COUNTIncrements automatically when a player dies.static final CriteriaCriteria.DUMMYThe dummy criteria.static final CriteriaCriteria.FOODMirrors the player's food points (0 for no food, 20 for maximum food).static final CriteriaCriteria.HEALTHMirrors the player's health points (0 for no health, 20 for maximum default health).static final CriteriaCriteria.KILLED_BY_TEAM_AQUAIncrements automatically when a player is killed by a player on the aqua team.static final CriteriaCriteria.KILLED_BY_TEAM_BLACKIncrements automatically when a player is killed by a player on the black team.static final CriteriaCriteria.KILLED_BY_TEAM_BLUEIncrements automatically when a player is killed by a player on the blue team.static final CriteriaCriteria.KILLED_BY_TEAM_DARK_AQUAIncrements automatically when a player is killed by a player on the dark aqua team.static final CriteriaCriteria.KILLED_BY_TEAM_DARK_BLUEIncrements automatically when a player is killed by a player on the dark blue team.static final CriteriaCriteria.KILLED_BY_TEAM_DARK_GRAYIncrements automatically when a player is killed by a player on the dark gray team.static final CriteriaCriteria.KILLED_BY_TEAM_DARK_GREENIncrements automatically when a player is killed by a player on the dark green team.static final CriteriaCriteria.KILLED_BY_TEAM_DARK_PURPLEIncrements automatically when a player is killed by a player on the dark purple team.static final CriteriaCriteria.KILLED_BY_TEAM_DARK_REDIncrements automatically when a player is killed by a player on the dark red team.static final CriteriaCriteria.KILLED_BY_TEAM_GOLDIncrements automatically when a player is killed by a player on the gold team.static final CriteriaCriteria.KILLED_BY_TEAM_GRAYIncrements automatically when a player is killed by a player on the gray team.static final CriteriaCriteria.KILLED_BY_TEAM_GREENIncrements automatically when a player is killed by a player on the green team.static final CriteriaCriteria.KILLED_BY_TEAM_LIGHT_PURPLEIncrements automatically when a player is killed by a player on the light purple team.static final CriteriaCriteria.KILLED_BY_TEAM_REDIncrements automatically when a player is killed by a player on the red team.static final CriteriaCriteria.KILLED_BY_TEAM_WHITEIncrements automatically when a player is killed by a player on the white team.static final CriteriaCriteria.KILLED_BY_TEAM_YELLOWIncrements automatically when a player is killed by a player on the yellow team.static final CriteriaCriteria.LEVELMirrors the player's experience level.static final CriteriaCriteria.PLAYER_KILL_COUNTIncrements automatically when a player kills another player.static final CriteriaCriteria.TEAM_KILL_AQUAIncrements automatically when a player kills another player on the aqua team.static final CriteriaCriteria.TEAM_KILL_BLACKIncrements automatically when a player kills another player on the black team.static final CriteriaCriteria.TEAM_KILL_BLUEIncrements automatically when a player kills another player on the blue team.static final CriteriaCriteria.TEAM_KILL_DARK_AQUAIncrements automatically when a player kills another player on the dark aqua team.static final CriteriaCriteria.TEAM_KILL_DARK_BLUEIncrements automatically when a player kills another player on the dark blue team.static final CriteriaCriteria.TEAM_KILL_DARK_GRAYIncrements automatically when a player kills another player on the dark gray team.static final CriteriaCriteria.TEAM_KILL_DARK_GREENIncrements automatically when a player kills another player on the dark green team.static final CriteriaCriteria.TEAM_KILL_DARK_PURPLEIncrements automatically when a player kills another player on the dark purple team.static final CriteriaCriteria.TEAM_KILL_DARK_REDIncrements automatically when a player kills another player on the dark red team.static final CriteriaCriteria.TEAM_KILL_GOLDIncrements automatically when a player kills another player on the gold team.static final CriteriaCriteria.TEAM_KILL_GRAYIncrements automatically when a player kills another player on the gray team.static final CriteriaCriteria.TEAM_KILL_GREENIncrements automatically when a player kills another player on the green team.static final CriteriaCriteria.TEAM_KILL_LIGHT_PURPLEIncrements automatically when a player kills another player on the light purple team.static final CriteriaCriteria.TEAM_KILL_REDIncrements automatically when a player kills another player on the red team.static final CriteriaCriteria.TEAM_KILL_WHITEIncrements automatically when a player kills another player on the white team.static final CriteriaCriteria.TEAM_KILL_YELLOWIncrements automatically when a player kills another player on the yellow team.static final CriteriaCriteria.TOTAL_KILL_COUNTIncrements automatically when a player kills another living entity.static final CriteriaCriteria.TRIGGERThe trigger criteria.static final CriteriaCriteria.XPMirrors the player's experience points.Methods in org.bukkit.scoreboard that return CriteriaModifier and TypeMethodDescriptionstatic CriteriaGet (or create) a newCriteriaby its name.Objective.getTrackedCriteria()Gets the criteria this objective tracks.static CriteriaGet aCriteriafor the specified statistic.static CriteriaCriteria.statistic(Statistic statistic, EntityType entityType) Get aCriteriafor the specified statistic pertaining to an entity type.static CriteriaGet aCriteriafor the specified statistic pertaining to blocks or items.Methods in org.bukkit.scoreboard with parameters of type CriteriaModifier and TypeMethodDescriptionScoreboard.getObjectivesByCriteria(Criteria criteria) Gets all Objectives of a Criteria on the ScoreboardScoreboard.registerNewObjective(String name, Criteria criteria, String displayName) Registers an Objective on this ScoreboardScoreboard.registerNewObjective(String name, Criteria criteria, String displayName, RenderType renderType) Registers an Objective on this Scoreboard