枚举的使用
org.bukkit.entity.Spellcaster.Spell
使用Spellcaster.Spell的程序包
-
org.bukkit.entity中Spellcaster.Spell的使用
修饰符和类型方法说明Spellcaster.getSpell()Gets theSpellcaster.Spellthe entity is currently using.static Spellcaster.Spell返回带有指定名称的该类型的枚举常量。static Spellcaster.Spell[]Spellcaster.Spell.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为Spellcaster.Spell的org.bukkit.entity中的方法修饰符和类型方法说明voidSpellcaster.setSpell(Spellcaster.Spell spell) Sets theSpellcaster.Spellthe entity is currently using.