Enum Class JigsawPattern.PlacementBehaviour
java.lang.Object
java.lang.Enum<JigsawPattern.PlacementBehaviour>
net.minecraft.world.gen.feature.jigsaw.JigsawPattern.PlacementBehaviour
- All Implemented Interfaces:
Serializable
,Comparable<JigsawPattern.PlacementBehaviour>
,Constable
,IStringSerializable
,IExtensibleEnum
- Enclosing class:
- JigsawPattern
public static enum JigsawPattern.PlacementBehaviour
extends Enum<JigsawPattern.PlacementBehaviour>
implements IStringSerializable, IExtensibleEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
JigsawPattern.PlacementBehaviour> static final com.mojang.serialization.Codec<JigsawPattern.PlacementBehaviour>
private final String
private final com.google.common.collect.ImmutableList<StructureProcessor>
-
Constructor Summary
ModifierConstructorDescriptionprivate
PlacementBehaviour
(String p_i50487_3_, com.google.common.collect.ImmutableList<StructureProcessor> p_i50487_4_) -
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>
void
init()
Deprecated.Returns the enum constant of this class with the specified name.static JigsawPattern.PlacementBehaviour[]
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
-
PlacementBehaviour
private PlacementBehaviour(String p_i50487_3_, com.google.common.collect.ImmutableList<StructureProcessor> p_i50487_4_)
-
-
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:
getSerializedName
in interfaceIStringSerializable
-
create
public static JigsawPattern.PlacementBehaviour create(String enumName, String p_i50487_3_, com.google.common.collect.ImmutableList<StructureProcessor> p_i50487_4_) -
init
Deprecated.Description copied from interface:IExtensibleEnum
Called by generated factory code to do any post-constructor setup required by the enum. Should not be called manually.- Specified by:
init
in interfaceIExtensibleEnum
-