public enum CustomTreeType extends Enum<CustomTreeType> implements TreeGetter
Enum Constant and Description |
---|
CACTUS |
GIANT_OAK |
GIANT_SPRUCE |
ICE_SPIKE |
LARGE_SHATTERED_PILLAR |
SHATTERED_LARGE |
SHATTERED_SMALL |
SMALL_SHATTERED_PILLAR |
Modifier and Type | Method and Description |
---|---|
static CustomTreeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomTreeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getTree
public static final CustomTreeType SHATTERED_SMALL
public static final CustomTreeType SHATTERED_LARGE
public static final CustomTreeType GIANT_OAK
public static final CustomTreeType GIANT_SPRUCE
public static final CustomTreeType SMALL_SHATTERED_PILLAR
public static final CustomTreeType LARGE_SHATTERED_PILLAR
public static final CustomTreeType CACTUS
public static final CustomTreeType ICE_SPIKE
public static CustomTreeType[] values()
for (CustomTreeType c : CustomTreeType.values()) System.out.println(c);
public static CustomTreeType 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.