类的使用
org.bukkit.MusicInstrument
-
org.bukkit中MusicInstrument的使用
修饰符和类型字段说明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
修饰符和类型方法说明static @Nullable MusicInstrument
MusicInstrument.getByKey
(@NotNull NamespacedKey namespacedKey) 已过时。修饰符和类型方法说明static @NotNull Collection<MusicInstrument>
MusicInstrument.values()
已过时。useIterable.iterator()
. -
org.bukkit.inventory.meta中MusicInstrument的使用
修饰符和类型方法说明void
MusicInstrumentMeta.setInstrument
(@Nullable MusicInstrument instrument) Sets the goat horn's instrument.
Registry.get(NamespacedKey)
instead.