枚举的使用
org.bukkit.scoreboard.Team.OptionStatus
-
org.bukkit.scoreboard中Team.OptionStatus的使用
修饰符和类型方法说明Team.getOption
(Team.Option option) Get an option for this teamstatic Team.OptionStatus
返回带有指定名称的该类型的枚举常量。static Team.OptionStatus[]
Team.OptionStatus.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明void
Team.setOption
(Team.Option option, Team.OptionStatus status) Set an option for this team