public enum NoteBlockValueType extends Enum<NoteBlockValueType> implements BlockValueType
| Enum Constant and Description |
|---|
BASS_DRUM |
BELL |
CHIME |
DOUBLE_BASS |
FLUTE |
GUITAR |
HARP |
HI_HAT |
SNARE_DRUM |
XYLOPHONE |
| Modifier and Type | Method and Description |
|---|---|
static NoteBlockValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoteBlockValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoteBlockValueType HARP
public static final NoteBlockValueType DOUBLE_BASS
public static final NoteBlockValueType SNARE_DRUM
public static final NoteBlockValueType HI_HAT
public static final NoteBlockValueType BASS_DRUM
public static final NoteBlockValueType FLUTE
public static final NoteBlockValueType BELL
public static final NoteBlockValueType GUITAR
public static final NoteBlockValueType CHIME
public static final NoteBlockValueType XYLOPHONE
public static NoteBlockValueType[] values()
for (NoteBlockValueType c : NoteBlockValueType.values()) System.out.println(c);
public static NoteBlockValueType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.