Enum Class StructureTemplatePool.Projection
java.lang.Object
java.lang.Enum<StructureTemplatePool.Projection>
net.minecraft.world.level.levelgen.feature.structures.StructureTemplatePool.Projection
- All Implemented Interfaces:
Serializable,Comparable<StructureTemplatePool.Projection>,Constable,StringRepresentable,IExtensibleEnum
- Enclosing class:
- StructureTemplatePool
public static enum StructureTemplatePool.Projection
extends Enum<StructureTemplatePool.Projection>
implements StringRepresentable, IExtensibleEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map<String,StructureTemplatePool.Projection>static com.mojang.serialization.Codec<StructureTemplatePool.Projection>private Stringprivate com.google.common.collect.ImmutableList<StructureProcessor> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateProjection(String p_69290_, com.google.common.collect.ImmutableList<StructureProcessor> p_69291_) -
Method Summary
Modifier and TypeMethodDescriptioncreate(String enumName, String p_i50487_3_, com.google.common.collect.ImmutableList<StructureProcessor> p_i50487_4_)getName()com.google.common.collect.ImmutableList<StructureProcessor>voidinit()Deprecated.Returns the enum constant of this class with the specified name.static StructureTemplatePool.Projection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TERRAIN_MATCHING
-
RIGID
-
-
Field Details
-
CODEC
-
BY_NAME
-
name
-
processors
-
-
Constructor Details
-
Projection
private Projection(String p_69290_, com.google.common.collect.ImmutableList<StructureProcessor> p_69291_)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
byName
-
getProcessors
-
getSerializedName
- Specified by:
getSerializedNamein interfaceStringRepresentable
-
create
public static StructureTemplatePool.Projection create(String enumName, String p_i50487_3_, com.google.common.collect.ImmutableList<StructureProcessor> p_i50487_4_) -
init
Deprecated.Description copied from interface:IExtensibleEnumCalled by generated factory code to do any post-constructor setup required by the enum. Should not be called manually.- Specified by:
initin interfaceIExtensibleEnum
-