Uses of Class
org.bukkit.Statistic
| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.event.player |
-
Uses of Statistic in org.bukkit
Fields in org.bukkit with type parameters of type Statistic Modifier and Type Field Description static Registry<Statistic>Registry. STATISTICServer statistics.Methods in org.bukkit that return Statistic Modifier and Type Method Description static StatisticStatistic. valueOf(String name)Returns the enum constant of this type with the specified name.static Statistic[]Statistic. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit with parameters of type Statistic Modifier and Type Method Description voidOfflinePlayer. decrementStatistic(Statistic statistic)Decrements the given statistic for this player.voidOfflinePlayer. decrementStatistic(Statistic statistic, int amount)Decrements the given statistic for this player.voidOfflinePlayer. decrementStatistic(Statistic statistic, EntityType entityType)Decrements the given statistic for this player for the given entity.voidOfflinePlayer. decrementStatistic(Statistic statistic, EntityType entityType, int amount)Decrements the given statistic for this player for the given entity.voidOfflinePlayer. decrementStatistic(Statistic statistic, Material material)Decrements the given statistic for this player for the given material.voidOfflinePlayer. decrementStatistic(Statistic statistic, Material material, int amount)Decrements the given statistic for this player for the given material.intOfflinePlayer. getStatistic(Statistic statistic)Gets the value of the given statistic for this player.intOfflinePlayer. getStatistic(Statistic statistic, EntityType entityType)Gets the value of the given statistic for this player.intOfflinePlayer. getStatistic(Statistic statistic, Material material)Gets the value of the given statistic for this player.voidOfflinePlayer. incrementStatistic(Statistic statistic)Increments the given statistic for this player.voidOfflinePlayer. incrementStatistic(Statistic statistic, int amount)Increments the given statistic for this player.voidOfflinePlayer. incrementStatistic(Statistic statistic, EntityType entityType)Increments the given statistic for this player for the given entity.voidOfflinePlayer. incrementStatistic(Statistic statistic, EntityType entityType, int amount)Increments the given statistic for this player for the given entity.voidOfflinePlayer. incrementStatistic(Statistic statistic, Material material)Increments the given statistic for this player for the given material.voidOfflinePlayer. incrementStatistic(Statistic statistic, Material material, int amount)Increments the given statistic for this player for the given material.voidOfflinePlayer. setStatistic(Statistic statistic, int newValue)Sets the given statistic for this player.voidOfflinePlayer. setStatistic(Statistic statistic, EntityType entityType, int newValue)Sets the given statistic for this player for the given entity.voidOfflinePlayer. 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
Fields in org.bukkit.event.player declared as Statistic Modifier and Type Field Description protected StatisticPlayerStatisticIncrementEvent. statisticMethods in org.bukkit.event.player that return Statistic Modifier and Type Method Description StatisticPlayerStatisticIncrementEvent. getStatistic()Gets the statistic that is being incremented.Constructors in org.bukkit.event.player with parameters of type Statistic Constructor Description PlayerStatisticIncrementEvent(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)