枚举 StructurePool.Projection
- java.lang.Object
-
- java.lang.Enum<StructurePool.Projection>
-
- net.minecraft.structure.pool.StructurePool.Projection
-
- 所有已实现的接口:
Serializable,Comparable<StructurePool.Projection>,StringIdentifiable
- 封闭类:
- StructurePool
public static enum StructurePool.Projection extends Enum<StructurePool.Projection> implements StringIdentifiable
- Mappings:
Namespace Name official cwx$aintermediary net/minecraft/class_3785$class_3786named net/minecraft/structure/pool/StructurePool$Projection
-
-
枚举常量概要
枚举常量 枚举常量 说明 RIGIDTERRAIN_MATCHING
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<StructurePool.Projection>CODECprivate Stringidprivate ImmutableList<StructureProcessor>processorsprivate static Map<String,StructurePool.Projection>PROJECTIONS_BY_ID
-
构造器概要
构造器 限定符 构造器 说明 privateProjection(String id, ImmutableList<StructureProcessor> processors)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 StringasString()static StructurePool.ProjectiongetById(String id)StringgetId()ImmutableList<StructureProcessor>getProcessors()static StructurePool.ProjectionvalueOf(String name)返回带有指定名称的该类型的枚举常量。static StructurePool.Projection[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
TERRAIN_MATCHING
public static final StructurePool.Projection TERRAIN_MATCHING
- Mappings:
Namespace Name Mixin selector official aLcwx$a;a:Lcwx$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
public static final StructurePool.Projection RIGID
- Mappings:
Namespace Name Mixin selector official bLcwx$a;b:Lcwx$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;
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<StructurePool.Projection> CODEC
- Mappings:
Namespace Name Mixin selector official cLcwx$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
private static final Map<String,StructurePool.Projection> PROJECTIONS_BY_ID
- Mappings:
Namespace Name Mixin selector official dLcwx$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
private final String id
- Mappings:
Namespace Name Mixin selector official eLcwx$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
private final ImmutableList<StructureProcessor> processors
- Mappings:
Namespace Name Mixin selector official fLcwx$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;
-
-
构造器详细资料
-
Projection
private Projection(String id, ImmutableList<StructureProcessor> processors)
- Mappings:
Namespace Name Mixin selector official <init>Lcwx$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
-
-
方法详细资料
-
values
public static StructurePool.Projection[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (StructurePool.Projection c : StructurePool.Projection.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static StructurePool.Projection valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getId
public String getId()
- Mappings:
Namespace Name Mixin selector official aLcwx$a;a()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
public static StructurePool.Projection getById(String id)
- Mappings:
Namespace Name Mixin selector official aLcwx$a;a(Ljava/lang/String;)Lcwx$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
public ImmutableList<StructureProcessor> getProcessors()
- Mappings:
Namespace Name Mixin selector official bLcwx$a;b()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
public String asString()
- 指定者:
asString在接口中StringIdentifiable- Mappings:
Namespace Name Mixin selector official cLagz;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
-