public enum MinecraftInstrument extends java.lang.Enum<MinecraftInstrument> implements Instrument
| Enum Constant and Description |
|---|
BANJO |
BASS |
BASS_DRUM |
BELL |
BIT |
CHIME |
COW_BELL |
DIDGERIDOO |
FLUTE |
GUITAR |
HARP |
HAT |
IRON_XYLOPHONE |
PLING |
SNARE |
TRUMPET |
TRUMPET_EXPOSED |
TRUMPET_OXIDIZED |
TRUMPET_WEATHERED |
XYLOPHONE |
| Modifier and Type | Method and Description |
|---|---|
MinecraftInstrument |
copy() |
static MinecraftInstrument |
fromMcId(int mcId) |
static MinecraftInstrument |
fromMcSoundName(java.lang.String mcSoundName) |
static MinecraftInstrument |
fromNbsId(int nbsId) |
int |
mcId() |
java.lang.String |
mcSoundName() |
int |
nbsId() |
static MinecraftInstrument |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MinecraftInstrument[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinecraftInstrument HARP
public static final MinecraftInstrument BASS_DRUM
public static final MinecraftInstrument SNARE
public static final MinecraftInstrument HAT
public static final MinecraftInstrument BASS
public static final MinecraftInstrument FLUTE
public static final MinecraftInstrument BELL
public static final MinecraftInstrument GUITAR
public static final MinecraftInstrument CHIME
public static final MinecraftInstrument XYLOPHONE
public static final MinecraftInstrument IRON_XYLOPHONE
public static final MinecraftInstrument COW_BELL
public static final MinecraftInstrument DIDGERIDOO
public static final MinecraftInstrument BIT
public static final MinecraftInstrument BANJO
public static final MinecraftInstrument PLING
public static final MinecraftInstrument TRUMPET
public static final MinecraftInstrument TRUMPET_EXPOSED
public static final MinecraftInstrument TRUMPET_OXIDIZED
public static final MinecraftInstrument TRUMPET_WEATHERED
public static MinecraftInstrument[] values()
for (MinecraftInstrument c : MinecraftInstrument.values()) System.out.println(c);
public static MinecraftInstrument valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MinecraftInstrument fromMcId(int mcId)
public static MinecraftInstrument fromNbsId(int nbsId)
public static MinecraftInstrument fromMcSoundName(java.lang.String mcSoundName)
public int mcId()
public int nbsId()
public java.lang.String mcSoundName()
public MinecraftInstrument copy()
copy in interface Instrument