类的使用
org.bukkit.MusicInstrument
使用MusicInstrument的程序包
-
org.bukkit中MusicInstrument的使用
声明为MusicInstrument的org.bukkit中的字段修饰符和类型字段说明static final MusicInstrumentMusicInstrument.ADMIRE_GOAT_HORNstatic final MusicInstrumentMusicInstrument.CALL_GOAT_HORNstatic final MusicInstrumentMusicInstrument.DREAM_GOAT_HORNstatic final MusicInstrumentMusicInstrument.FEEL_GOAT_HORNstatic final MusicInstrumentMusicInstrument.PONDER_GOAT_HORNstatic final MusicInstrumentMusicInstrument.SEEK_GOAT_HORNstatic final MusicInstrumentMusicInstrument.SING_GOAT_HORNstatic final MusicInstrumentMusicInstrument.YEARN_GOAT_HORN类型参数类型为MusicInstrument的org.bukkit中的字段返回MusicInstrument的org.bukkit中的方法修饰符和类型方法说明static @Nullable MusicInstrumentMusicInstrument.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中的方法修饰符和类型方法说明voidMusicInstrumentMeta.setInstrument(@Nullable MusicInstrument instrument) Sets the goat horn's instrument.
Registry.get(NamespacedKey)instead.