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