public static enum BlockProperty.BlockSound.BlockSoundTrigger extends java.lang.Enum<BlockProperty.BlockSound.BlockSoundTrigger>
| Enum Constant and Description |
|---|
BREAK |
CUSTOM_TRIGGER |
PLACE |
WALK |
| Modifier and Type | Method and Description |
|---|---|
static BlockProperty.BlockSound.BlockSoundTrigger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockProperty.BlockSound.BlockSoundTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockProperty.BlockSound.BlockSoundTrigger BREAK
public static final BlockProperty.BlockSound.BlockSoundTrigger PLACE
public static final BlockProperty.BlockSound.BlockSoundTrigger WALK
public static final BlockProperty.BlockSound.BlockSoundTrigger CUSTOM_TRIGGER
public static BlockProperty.BlockSound.BlockSoundTrigger[] values()
for (BlockProperty.BlockSound.BlockSoundTrigger c : BlockProperty.BlockSound.BlockSoundTrigger.values()) System.out.println(c);
public static BlockProperty.BlockSound.BlockSoundTrigger 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 null