枚举的使用
org.bukkit.Statistic
使用Statistic的程序包
-
org.bukkit中Statistic的使用
返回Statistic的org.bukkit中的方法 -
org.bukkit.entity中Statistic的使用
参数类型为Statistic的org.bukkit.entity中的方法修饰符和类型方法说明voidPlayer.decrementStatistic(Statistic statistic) 把该玩家的统计信息里的某项-1.voidPlayer.decrementStatistic(Statistic statistic, int amount) 把该玩家的统计信息里的某项减少指定的值.voidPlayer.decrementStatistic(Statistic statistic, EntityType entityType) 把该玩家的统计信息中跟实体有关的统计项中的某种实体(EntityType)的数量-1.voidPlayer.decrementStatistic(Statistic statistic, EntityType entityType, int amount) 将该玩家的统计信息中某个跟实体有关的统计项中的某实体类型(EntityType)减少指定的值.voidPlayer.decrementStatistic(Statistic statistic, Material material) 把该玩家的统计信息中跟方块/物品有关的统计项减少一个Material.voidPlayer.decrementStatistic(Statistic statistic, Material material, int amount) 把该玩家的统计信息中跟方块/物品有关的统计项中的某Material减少指定的值.intPlayer.getStatistic(Statistic statistic) 得到该玩家的统计信息中某项的值.intPlayer.getStatistic(Statistic statistic, EntityType entityType) 获得该玩家的统计信息中跟实体有关的统计项中的某实体(EntityType)数量.intPlayer.getStatistic(Statistic statistic, Material material) 获取该玩家的统计信息中跟方块/物品有关的统计项的某Material有多少.voidPlayer.incrementStatistic(Statistic statistic) 把该玩家的统计信息里的某项+1.voidPlayer.incrementStatistic(Statistic statistic, int amount) 把该玩家的统计信息里的某项加上指定的值.voidPlayer.incrementStatistic(Statistic statistic, EntityType entityType) 把该玩家的统计信息中跟实体有关的统计项中的某种实体(EntityType)的数量+1.voidPlayer.incrementStatistic(Statistic statistic, EntityType entityType, int amount) 将该玩家的统计信息中的某个跟实体有关的统计项的某实体类型(EntityType)加上指定的数值.voidPlayer.incrementStatistic(Statistic statistic, Material material) 把该玩家的统计信息中跟方块/物品有关的统计项加上一个Material.voidPlayer.incrementStatistic(Statistic statistic, Material material, int amount) 把该玩家的统计信息中跟方块/物品有关的统计项中的某Material加上指定的值.voidPlayer.setStatistic(Statistic statistic, int newValue) 设置该玩家的统计信息里的某项的值.voidPlayer.setStatistic(Statistic statistic, EntityType entityType, int newValue) 设置该玩家的统计信息中某个跟实体有关的统计项的某实体类型(EntityType)为某个数值.voidPlayer.setStatistic(Statistic statistic, Material material, int newValue) 把该玩家的统计信息中的某个跟方块/物品有关的统计项中的某Material的数量设定为某值. -
org.bukkit.event.player中Statistic的使用
声明为Statistic的org.bukkit.event.player中的字段参数类型为Statistic的org.bukkit.event.player中的构造器限定符构造器说明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)