枚举的使用
org.bukkit.Note.Tone
使用Note.Tone的程序包
-
org.bukkit中Note.Tone的使用
返回Note.Tone的org.bukkit中的方法修饰符和类型方法说明static Note.Tone
Note.Tone.getById
(byte id) 已过时。不安全的参数Note.getTone()
返回这个音符的音调。static Note.Tone
返回带有指定名称的该类型的枚举常量。static Note.Tone[]
Note.Tone.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为Note.Tone的org.bukkit中的方法修饰符和类型方法说明static Note
为一个大调创建一个新的note类,例如A大调。static Note
为一个自然调创建一个note类,例如自然A调。static Note
为一个升调创建一个note类,例如A升调。参数类型为Note.Tone的org.bukkit中的构造器