Uses of Enum Class
org.bukkit.Statistic
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 Statistic in org.bukkit
Modifier and TypeMethodDescriptionstatic Statistic
Returns the enum constant of this class with the specified name.static Statistic[]
Statistic.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
OfflinePlayer.decrementStatistic
(Statistic statistic) Decrements the given statistic for this player.void
OfflinePlayer.decrementStatistic
(Statistic statistic, int amount) Decrements the given statistic for this player.void
OfflinePlayer.decrementStatistic
(Statistic statistic, EntityType entityType) Decrements the given statistic for this player for the given entity.void
OfflinePlayer.decrementStatistic
(Statistic statistic, EntityType entityType, int amount) Decrements the given statistic for this player for the given entity.void
OfflinePlayer.decrementStatistic
(Statistic statistic, Material material) Decrements the given statistic for this player for the given material.void
OfflinePlayer.decrementStatistic
(Statistic statistic, Material material, int amount) Decrements the given statistic for this player for the given material.int
OfflinePlayer.getStatistic
(Statistic statistic) Gets the value of the given statistic for this player.int
OfflinePlayer.getStatistic
(Statistic statistic, EntityType entityType) Gets the value of the given statistic for this player.int
OfflinePlayer.getStatistic
(Statistic statistic, Material material) Gets the value of the given statistic for this player.void
OfflinePlayer.incrementStatistic
(Statistic statistic) Increments the given statistic for this player.void
OfflinePlayer.incrementStatistic
(Statistic statistic, int amount) Increments the given statistic for this player.void
OfflinePlayer.incrementStatistic
(Statistic statistic, EntityType entityType) Increments the given statistic for this player for the given entity.void
OfflinePlayer.incrementStatistic
(Statistic statistic, EntityType entityType, int amount) Increments the given statistic for this player for the given entity.void
OfflinePlayer.incrementStatistic
(Statistic statistic, Material material) Increments the given statistic for this player for the given material.void
OfflinePlayer.incrementStatistic
(Statistic statistic, Material material, int amount) Increments the given statistic for this player for the given material.void
OfflinePlayer.setStatistic
(Statistic statistic, int newValue) Sets the given statistic for this player.void
OfflinePlayer.setStatistic
(Statistic statistic, EntityType entityType, int newValue) Sets the given statistic for this player for the given entity.void
OfflinePlayer.setStatistic
(Statistic statistic, Material material, int newValue) Sets the given statistic for this player for the given material. -
Uses of Statistic in org.bukkit.event.player
Modifier and TypeFieldDescriptionprotected final Statistic
PlayerStatisticIncrementEvent.statistic
Modifier and TypeMethodDescriptionPlayerStatisticIncrementEvent.getStatistic()
Gets the statistic that is being incremented.ModifierConstructorDescriptionPlayerStatisticIncrementEvent
(Player player, Statistic statistic, int initialValue, int newValue) PlayerStatisticIncrementEvent
(Player player, Statistic statistic, int initialValue, int newValue, EntityType entityType) PlayerStatisticIncrementEvent
(Player player, Statistic statistic, int initialValue, int newValue, Material material) -
Uses of Statistic in org.bukkit.scoreboard
Modifier and TypeMethodDescriptionstatic Criteria
Get aCriteria
for the specified statistic.static Criteria
Criteria.statistic
(Statistic statistic, EntityType entityType) Get aCriteria
for the specified statistic pertaining to an entity type.static Criteria
Get aCriteria
for the specified statistic pertaining to blocks or items.