类的使用
org.bukkit.MusicInstrument
使用MusicInstrument的程序包
-
org.bukkit中MusicInstrument的使用
声明为MusicInstrument的org.bukkit中的字段修饰符和类型字段说明static final MusicInstrument
MusicInstrument.ADMIRE_GOAT_HORN
static final MusicInstrument
MusicInstrument.CALL_GOAT_HORN
static final MusicInstrument
MusicInstrument.DREAM_GOAT_HORN
static final MusicInstrument
MusicInstrument.FEEL_GOAT_HORN
static final MusicInstrument
MusicInstrument.PONDER_GOAT_HORN
static final MusicInstrument
MusicInstrument.SEEK_GOAT_HORN
static final MusicInstrument
MusicInstrument.SING_GOAT_HORN
static final MusicInstrument
MusicInstrument.YEARN_GOAT_HORN
类型参数类型为MusicInstrument的org.bukkit中的字段返回MusicInstrument的org.bukkit中的方法修饰符和类型方法说明static @Nullable MusicInstrument
MusicInstrument.getByKey
(@NotNull NamespacedKey namespacedKey) 已过时。返回变量类型为MusicInstrument的类型的org.bukkit中的方法修饰符和类型方法说明static @NotNull Collection<MusicInstrument>
MusicInstrument.values()
已过时。useIterable.iterator()
. -
org.bukkit.inventory.meta中MusicInstrument的使用
参数类型为MusicInstrument的org.bukkit.inventory.meta中的方法修饰符和类型方法说明void
MusicInstrumentMeta.setInstrument
(@Nullable MusicInstrument instrument) Sets the goat horn's instrument.
Registry.get(NamespacedKey)
instead.