public static enum RuinedPortalFeature.Type extends Enum<RuinedPortalFeature.Type> implements StringIdentifiable
| Enum Constant and Description |
|---|
DESERT |
JUNGLE |
MOUNTAIN |
NETHER |
OCEAN |
STANDARD |
SWAMP |
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,RuinedPortalFeature.Type> |
BY_NAME |
static com.mojang.serialization.Codec<RuinedPortalFeature.Type> |
field_24840 |
private String |
name |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static RuinedPortalFeature.Type |
byName(String name) |
String |
getName() |
static RuinedPortalFeature.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuinedPortalFeature.Type[] |
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, valueOfcreateCodec, createCodec, method_28142public static final RuinedPortalFeature.Type STANDARD
public static final RuinedPortalFeature.Type DESERT
public static final RuinedPortalFeature.Type JUNGLE
public static final RuinedPortalFeature.Type SWAMP
public static final RuinedPortalFeature.Type MOUNTAIN
public static final RuinedPortalFeature.Type OCEAN
public static final RuinedPortalFeature.Type NETHER
public static final com.mojang.serialization.Codec<RuinedPortalFeature.Type> field_24840
private static final Map<String,RuinedPortalFeature.Type> BY_NAME
private final String name
public static RuinedPortalFeature.Type[] values()
for (RuinedPortalFeature.Type c : RuinedPortalFeature.Type.values()) System.out.println(c);
public static RuinedPortalFeature.Type 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 getName()
public static RuinedPortalFeature.Type byName(String name)
public String asString()
asString in interface StringIdentifiable