public static enum RuinedPortalFeaturePiece.VerticalPlacement extends Enum<RuinedPortalFeaturePiece.VerticalPlacement>
Enum Constant and Description |
---|
IN_MOUNTAIN |
IN_NETHER |
ON_LAND_SURFACE |
ON_OCEAN_FLOOR |
PARTLY_BURIED |
UNDERGROUND |
Modifier and Type | Field and Description |
---|---|
private String |
id |
private static Map<String,RuinedPortalFeaturePiece.VerticalPlacement> |
VERTICAL_PLACEMENTS |
Modifier and Type | Method and Description |
---|---|
static RuinedPortalFeaturePiece.VerticalPlacement |
getFromId(String id) |
String |
getId() |
static RuinedPortalFeaturePiece.VerticalPlacement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuinedPortalFeaturePiece.VerticalPlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuinedPortalFeaturePiece.VerticalPlacement ON_LAND_SURFACE
public static final RuinedPortalFeaturePiece.VerticalPlacement PARTLY_BURIED
public static final RuinedPortalFeaturePiece.VerticalPlacement ON_OCEAN_FLOOR
public static final RuinedPortalFeaturePiece.VerticalPlacement IN_MOUNTAIN
public static final RuinedPortalFeaturePiece.VerticalPlacement UNDERGROUND
public static final RuinedPortalFeaturePiece.VerticalPlacement IN_NETHER
private static final Map<String,RuinedPortalFeaturePiece.VerticalPlacement> VERTICAL_PLACEMENTS
private final String id
public static RuinedPortalFeaturePiece.VerticalPlacement[] values()
for (RuinedPortalFeaturePiece.VerticalPlacement c : RuinedPortalFeaturePiece.VerticalPlacement.values()) System.out.println(c);
public static RuinedPortalFeaturePiece.VerticalPlacement 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 String getId()
public static RuinedPortalFeaturePiece.VerticalPlacement getFromId(String id)