public static enum JigsawPattern.PlacementBehaviour extends java.lang.Enum<JigsawPattern.PlacementBehaviour> implements IExtensibleEnum
Enum Constant and Description |
---|
RIGID |
TERRAIN_MATCHING |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,JigsawPattern.PlacementBehaviour> |
BEHAVIOURS |
private java.lang.String |
name |
private com.google.common.collect.ImmutableList<StructureProcessor> |
structureProcessors |
Modifier and Type | Method and Description |
---|---|
static JigsawPattern.PlacementBehaviour |
create(java.lang.String enumName,
java.lang.String nameIn,
com.google.common.collect.ImmutableList<StructureProcessor> structureProcessorsIn) |
static JigsawPattern.PlacementBehaviour |
getBehaviour(java.lang.String nameIn) |
java.lang.String |
getName() |
com.google.common.collect.ImmutableList<StructureProcessor> |
getStructureProcessors() |
void |
init()
Deprecated.
|
static JigsawPattern.PlacementBehaviour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JigsawPattern.PlacementBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JigsawPattern.PlacementBehaviour TERRAIN_MATCHING
public static final JigsawPattern.PlacementBehaviour RIGID
private static final java.util.Map<java.lang.String,JigsawPattern.PlacementBehaviour> BEHAVIOURS
private final java.lang.String name
private final com.google.common.collect.ImmutableList<StructureProcessor> structureProcessors
public static JigsawPattern.PlacementBehaviour[] values()
for (JigsawPattern.PlacementBehaviour c : JigsawPattern.PlacementBehaviour.values()) System.out.println(c);
public static JigsawPattern.PlacementBehaviour valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static JigsawPattern.PlacementBehaviour getBehaviour(java.lang.String nameIn)
public com.google.common.collect.ImmutableList<StructureProcessor> getStructureProcessors()
public static JigsawPattern.PlacementBehaviour create(java.lang.String enumName, java.lang.String nameIn, com.google.common.collect.ImmutableList<StructureProcessor> structureProcessorsIn)
@Deprecated public void init()
IExtensibleEnum
init
in interface IExtensibleEnum