public static enum StrongholdGenerator.Piece.EntranceType extends Enum<StrongholdGenerator.Piece.EntranceType>
Enum Constant and Description |
---|
GRATES |
IRON_DOOR |
OPENING |
WOOD_DOOR |
Modifier and Type | Method and Description |
---|---|
static StrongholdGenerator.Piece.EntranceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StrongholdGenerator.Piece.EntranceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrongholdGenerator.Piece.EntranceType OPENING
public static final StrongholdGenerator.Piece.EntranceType WOOD_DOOR
public static final StrongholdGenerator.Piece.EntranceType GRATES
public static final StrongholdGenerator.Piece.EntranceType IRON_DOOR
public static StrongholdGenerator.Piece.EntranceType[] values()
for (StrongholdGenerator.Piece.EntranceType c : StrongholdGenerator.Piece.EntranceType.values()) System.out.println(c);
public static StrongholdGenerator.Piece.EntranceType 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 null