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 |
XYLOPHONE |
| Modifier and Type | Method and Description |
|---|---|
MinecraftInstrument |
copy() |
static MinecraftInstrument |
fromMcId(byte mcId) |
static MinecraftInstrument |
fromMcSoundName(java.lang.String mcSoundName) |
static MinecraftInstrument |
fromNbsId(byte nbsId) |
byte |
mcId() |
java.lang.String |
mcSoundName() |
byte |
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
public static final MinecraftInstrument BASS_DRUM
public static final MinecraftInstrument SNARE
public static final MinecraftInstrument HAT
public static final MinecraftInstrument GUITAR
public static final MinecraftInstrument FLUTE
public static final MinecraftInstrument BELL
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 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 fromNbsId(byte nbsId)
public static MinecraftInstrument fromMcId(byte mcId)
public static MinecraftInstrument fromMcSoundName(java.lang.String mcSoundName)
public byte nbsId()
public byte mcId()
public java.lang.String mcSoundName()
public MinecraftInstrument copy()
copy in interface Instrument