程序包 org.bukkit
类 MusicInstrument
java.lang.Object
org.bukkit.MusicInstrument
- 所有已实现的接口:
Keyed
-
字段概要
修饰符和类型字段说明static final MusicInstrument
static final MusicInstrument
static final MusicInstrument
static final MusicInstrument
static final MusicInstrument
static final MusicInstrument
static final MusicInstrument
static final MusicInstrument
-
构造器概要
-
方法概要
修饰符和类型方法说明static @Nullable MusicInstrument
getByKey
(@NotNull NamespacedKey namespacedKey) 已过时。static @NotNull Collection<MusicInstrument>
values()
已过时。useIterable.iterator()
.
-
字段详细资料
-
PONDER_GOAT_HORN
-
SING_GOAT_HORN
-
SEEK_GOAT_HORN
-
FEEL_GOAT_HORN
-
ADMIRE_GOAT_HORN
-
CALL_GOAT_HORN
-
YEARN_GOAT_HORN
-
DREAM_GOAT_HORN
-
-
构造器详细资料
-
MusicInstrument
public MusicInstrument()
-
-
方法详细资料
-
getByKey
@Nullable @Deprecated public static @Nullable MusicInstrument getByKey(@NotNull @NotNull NamespacedKey namespacedKey) 已过时。UseRegistry.get(NamespacedKey)
instead.Returns aMusicInstrument
by aNamespacedKey
.- 参数:
namespacedKey
- the key- 返回:
- the event or null
-
values
已过时。useIterable.iterator()
.Returns all known MusicInstruments.- 返回:
- the memoryKeys
-
Registry.get(NamespacedKey)
instead.