Package net.minecraft.structure.pool
Enum StructurePool.Projection
- All Implemented Interfaces:
Serializable,Comparable<StructurePool.Projection>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- StructurePool
public static enum StructurePool.Projection extends Enum<StructurePool.Projection> implements StringIdentifiable
- Mappings:
Namespace Name official cty$aintermediary net/minecraft/class_3785$class_3786named net/minecraft/structure/pool/StructurePool$Projection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description RIGIDTERRAIN_MATCHING -
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<StructurePool.Projection>CODECprivate Stringidprivate ImmutableList<StructureProcessor>processorsprivate static Map<String,StructurePool.Projection>PROJECTIONS_BY_ID -
Constructor Summary
Constructors Modifier Constructor Description privateProjection(String id, ImmutableList<StructureProcessor> processors) -
Method Summary
Modifier and Type Method Description StringasString()static StructurePool.ProjectiongetById(String id)StringgetId()ImmutableList<StructureProcessor>getProcessors()static StructurePool.ProjectionvalueOf(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.
-
Enum Constant Details
-
TERRAIN_MATCHING
- Mappings:
Namespace Name Mixin selector official aLcty$a;a:Lcty$a;intermediary field_16686Lnet/minecraft/class_3785$class_3786;field_16686:Lnet/minecraft/class_3785$class_3786;named TERRAIN_MATCHINGLnet/minecraft/structure/pool/StructurePool$Projection;TERRAIN_MATCHING:Lnet/minecraft/structure/pool/StructurePool$Projection;
-
RIGID
- Mappings:
Namespace Name Mixin selector official bLcty$a;b:Lcty$a;intermediary field_16687Lnet/minecraft/class_3785$class_3786;field_16687:Lnet/minecraft/class_3785$class_3786;named RIGIDLnet/minecraft/structure/pool/StructurePool$Projection;RIGID:Lnet/minecraft/structure/pool/StructurePool$Projection;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLcty$a;c:Lcom/mojang/serialization/Codec;intermediary field_24956Lnet/minecraft/class_3785$class_3786;field_24956:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/pool/StructurePool$Projection;CODEC:Lcom/mojang/serialization/Codec;
-
PROJECTIONS_BY_ID
- Mappings:
Namespace Name Mixin selector official dLcty$a;d:Ljava/util/Map;intermediary field_16684Lnet/minecraft/class_3785$class_3786;field_16684:Ljava/util/Map;named PROJECTIONS_BY_IDLnet/minecraft/structure/pool/StructurePool$Projection;PROJECTIONS_BY_ID:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector official eLcty$a;e:Ljava/lang/String;intermediary field_16682Lnet/minecraft/class_3785$class_3786;field_16682:Ljava/lang/String;named idLnet/minecraft/structure/pool/StructurePool$Projection;id:Ljava/lang/String;
-
processors
- Mappings:
Namespace Name Mixin selector official fLcty$a;f:Lcom/google/common/collect/ImmutableList;intermediary field_16685Lnet/minecraft/class_3785$class_3786;field_16685:Lcom/google/common/collect/ImmutableList;named processorsLnet/minecraft/structure/pool/StructurePool$Projection;processors:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
Projection
- Mappings:
Namespace Name Mixin selector official <init>Lcty$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)Vintermediary <init>Lnet/minecraft/class_3785$class_3786;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)Vnamed <init>Lnet/minecraft/structure/pool/StructurePool$Projection;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
- Mappings:
Namespace Name Mixin selector official bLcty$a;b()Ljava/lang/String;intermediary method_16635Lnet/minecraft/class_3785$class_3786;method_16635()Ljava/lang/String;named getIdLnet/minecraft/structure/pool/StructurePool$Projection;getId()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLcty$a;a(Ljava/lang/String;)Lcty$a;intermediary method_16638Lnet/minecraft/class_3785$class_3786;method_16638(Ljava/lang/String;)Lnet/minecraft/class_3785$class_3786;named getByIdLnet/minecraft/structure/pool/StructurePool$Projection;getById(Ljava/lang/String;)Lnet/minecraft/structure/pool/StructurePool$Projection;
-
getProcessors
- Mappings:
Namespace Name Mixin selector official cLcty$a;c()Lcom/google/common/collect/ImmutableList;intermediary method_16636Lnet/minecraft/class_3785$class_3786;method_16636()Lcom/google/common/collect/ImmutableList;named getProcessorsLnet/minecraft/structure/pool/StructurePool$Projection;getProcessors()Lcom/google/common/collect/ImmutableList;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official aLagi;a()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-