public static enum Leaves.DecayState extends Enum<Leaves.DecayState>
| Enum Constant and Description |
|---|
CHECK_DECAY |
DECAY |
NO_CHECK_DECAY |
NO_DECAY |
| Modifier and Type | Method and Description |
|---|---|
static Leaves.DecayState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Leaves.DecayState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Leaves.DecayState DECAY
public static final Leaves.DecayState NO_DECAY
public static final Leaves.DecayState CHECK_DECAY
public static final Leaves.DecayState NO_CHECK_DECAY
public static Leaves.DecayState[] values()
for (Leaves.DecayState c : Leaves.DecayState.values()) System.out.println(c);
public static Leaves.DecayState 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 © 2017–2020 NukkitX. All rights reserved.