public static enum StructurePool.Projection extends Enum<StructurePool.Projection> implements StringIdentifiable
Enum Constant and Description |
---|
RIGID |
TERRAIN_MATCHING |
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<StructurePool.Projection> |
field_24956 |
private String |
id |
private ImmutableList<StructureProcessor> |
processors |
private static Map<String,StructurePool.Projection> |
PROJECTIONS_BY_ID |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static StructurePool.Projection |
getById(String id) |
String |
getId() |
ImmutableList<StructureProcessor> |
getProcessors() |
static StructurePool.Projection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructurePool.Projection[] |
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
createCodec, createCodec, method_28142
public static final StructurePool.Projection TERRAIN_MATCHING
public static final StructurePool.Projection RIGID
public static final com.mojang.serialization.Codec<StructurePool.Projection> field_24956
private static final Map<String,StructurePool.Projection> PROJECTIONS_BY_ID
private final String id
private final ImmutableList<StructureProcessor> processors
public static StructurePool.Projection[] values()
for (StructurePool.Projection c : StructurePool.Projection.values()) System.out.println(c);
public static StructurePool.Projection 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 StructurePool.Projection getById(String id)
public ImmutableList<StructureProcessor> getProcessors()
public String asString()
asString
in interface StringIdentifiable