public enum NoteBlockValueType extends Enum<NoteBlockValueType> implements BlockValueType
| Enum Constant and Description |
|---|
PLAY_NOTE |
| Modifier and Type | Method and Description |
|---|---|
static NoteBlockValueType |
from(int id) |
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 PLAY_NOTE
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 nullpublic static NoteBlockValueType from(int id)
Copyright © 2023. All rights reserved.