Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player |
Modifier and Type | Method | Description |
---|---|---|
static Statistic |
Statistic.valueOf(java.lang.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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Player.decrementStatistic(Statistic statistic) |
Decrements the given statistic for this player.
|
void |
Player.decrementStatistic(Statistic statistic,
int amount) |
Decrements the given statistic for this player.
|
void |
Player.decrementStatistic(Statistic statistic,
EntityType entityType) |
Decrements the given statistic for this player for the given entity.
|
void |
Player.decrementStatistic(Statistic statistic,
EntityType entityType,
int amount) |
Decrements the given statistic for this player for the given entity.
|
void |
Player.decrementStatistic(Statistic statistic,
Material material) |
Decrements the given statistic for this player for the given material.
|
void |
Player.decrementStatistic(Statistic statistic,
Material material,
int amount) |
Decrements the given statistic for this player for the given material.
|
int |
Player.getStatistic(Statistic statistic) |
Gets the value of the given statistic for this player.
|
int |
Player.getStatistic(Statistic statistic,
EntityType entityType) |
Gets the value of the given statistic for this player.
|
int |
Player.getStatistic(Statistic statistic,
Material material) |
Gets the value of the given statistic for this player.
|
void |
Player.incrementStatistic(Statistic statistic) |
Increments the given statistic for this player.
|
void |
Player.incrementStatistic(Statistic statistic,
int amount) |
Increments the given statistic for this player.
|
void |
Player.incrementStatistic(Statistic statistic,
EntityType entityType) |
Increments the given statistic for this player for the given entity.
|
void |
Player.incrementStatistic(Statistic statistic,
EntityType entityType,
int amount) |
Increments the given statistic for this player for the given entity.
|
void |
Player.incrementStatistic(Statistic statistic,
Material material) |
Increments the given statistic for this player for the given material.
|
void |
Player.incrementStatistic(Statistic statistic,
Material material,
int amount) |
Increments the given statistic for this player for the given material.
|
void |
Player.setStatistic(Statistic statistic,
int newValue) |
Sets the given statistic for this player.
|
void |
Player.setStatistic(Statistic statistic,
EntityType entityType,
int newValue) |
Sets the given statistic for this player for the given entity.
|
void |
Player.setStatistic(Statistic statistic,
Material material,
int newValue) |
Sets the given statistic for this player for the given material.
|
Modifier and Type | Field | Description |
---|---|---|
protected Statistic |
PlayerStatisticIncrementEvent.statistic |
Modifier and Type | Method | Description |
---|---|---|
Statistic |
PlayerStatisticIncrementEvent.getStatistic() |
Gets the statistic that is being incremented.
|
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) |
Copyright © 2018. All rights reserved.