程序包 | 说明 |
---|---|
org.bukkit |
Bukkit的常用类.
|
org.bukkit.entity |
为在
世界 内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等. |
org.bukkit.event.player |
限定符和类型 | 方法和说明 |
---|---|
Statistic |
UnsafeValues.getStatisticFromInternalName(java.lang.String name)
已过时。
|
static Statistic |
Statistic.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Statistic[] |
Statistic.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
void |
Player.decrementStatistic(Statistic statistic)
把该玩家的统计信息里的某项-1.
|
void |
Player.decrementStatistic(Statistic statistic,
EntityType entityType)
把该玩家的统计信息中跟实体有关的统计项中的某种实体(
EntityType )的数量-1. |
void |
Player.decrementStatistic(Statistic statistic,
EntityType entityType,
int amount)
将该玩家的统计信息中某个跟实体有关的统计项中的某实体类型(
EntityType )减少指定的值. |
void |
Player.decrementStatistic(Statistic statistic,
int amount)
把该玩家的统计信息里的某项减少指定的值.
|
void |
Player.decrementStatistic(Statistic statistic,
Material material)
把该玩家的统计信息中跟方块/物品有关的统计项减少一个
Material . |
void |
Player.decrementStatistic(Statistic statistic,
Material material,
int amount)
把该玩家的统计信息中跟方块/物品有关的统计项中的某
Material 减少指定的值. |
int |
Player.getStatistic(Statistic statistic)
得到该玩家的统计信息中某项的值.
|
int |
Player.getStatistic(Statistic statistic,
EntityType entityType)
获得该玩家的统计信息中跟实体有关的统计项中的某实体(
EntityType )数量. |
int |
Player.getStatistic(Statistic statistic,
Material material)
获取该玩家的统计信息中跟方块/物品有关的统计项的某
Material 有多少. |
void |
Player.incrementStatistic(Statistic statistic)
把该玩家的统计信息里的某项+1.
|
void |
Player.incrementStatistic(Statistic statistic,
EntityType entityType)
把该玩家的统计信息中跟实体有关的统计项中的某种实体(
EntityType )的数量+1. |
void |
Player.incrementStatistic(Statistic statistic,
EntityType entityType,
int amount)
将该玩家的统计信息中的某个跟实体有关的统计项的某实体类型(
EntityType )加上指定的数值. |
void |
Player.incrementStatistic(Statistic statistic,
int amount)
把该玩家的统计信息里的某项加上指定的值.
|
void |
Player.incrementStatistic(Statistic statistic,
Material material)
把该玩家的统计信息中跟方块/物品有关的统计项加上一个
Material . |
void |
Player.incrementStatistic(Statistic statistic,
Material material,
int amount)
把该玩家的统计信息中跟方块/物品有关的统计项中的某
Material 加上指定的值. |
void |
Player.setStatistic(Statistic statistic,
EntityType entityType,
int newValue)
设置该玩家的统计信息中某个跟实体有关的统计项的某实体类型(
EntityType )为某个数值. |
void |
Player.setStatistic(Statistic statistic,
int newValue)
设置该玩家的统计信息里的某项的值.
|
void |
Player.setStatistic(Statistic statistic,
Material material,
int newValue)
把该玩家的统计信息中的某个跟方块/物品有关的统计项中的某
Material 的数量设定为某值. |
限定符和类型 | 字段和说明 |
---|---|
protected Statistic |
PlayerStatisticIncrementEvent.statistic |
限定符和类型 | 方法和说明 |
---|---|
Statistic |
PlayerStatisticIncrementEvent.getStatistic()
获取正在增长的统计数据.
|
构造器和说明 |
---|
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) |