接口的使用
org.bukkit.scoreboard.Objective
-
org.bukkit.scoreboard中Objective的使用
修饰符和类型方法说明Score.getObjective()
Gets the Objective being tracked by this ScoreScoreboard.getObjective
(String name) Scoreboard.getObjective
(DisplaySlot slot) 得到该计分板显示在某DisplaySlot
的Objective
.Scoreboard.registerNewObjective
(String name, String criteria) 注册一个新的Objective
在这个计分板中.修饰符和类型方法说明Scoreboard.getObjectives()
得到所有的Objective
在该计分板中.Scoreboard.getObjectivesByCriteria
(String criteria)