public enum AddEdgeBiomesLayer extends Enum<AddEdgeBiomesLayer> implements CrossSamplingLayer
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
private static int |
BADLANDS_ID |
private static int |
BADLANDS_PLATEAU_ID |
private static int |
BEACH_ID |
private static int |
DESERT_ID |
private static int |
ERODED_BADLANDS_ID |
private static int |
FOREST_ID |
private static int |
JUNGLE_EDGE_ID |
private static int |
JUNGLE_HILLS_ID |
private static int |
JUNGLE_ID |
private static int |
MODIFIED_BADLANDS_PLATEAU_ID |
private static int |
MODIFIED_WOODED_BADLANDS_PLATEAU_ID |
private static int |
MOUNTAIN_EDGE_ID |
private static int |
MOUNTAINS_ID |
private static int |
MUSHROOM_FIELD_SHORE_ID |
private static int |
MUSHROOM_FIELDS_ID |
private static int |
RIVER_ID |
private static int |
SNOWY_BEACH_ID |
private static int |
STONE_SHORE_ID |
private static int |
SWAMP_ID |
private static int |
TAIGA_ID |
private static int |
WOODED_BADLANDS_PLATEAU_ID |
private static int |
WOODED_MOUNTAINS_ID |
Modifier and Type | Method and Description |
---|---|
private boolean |
isBadlands(int id) |
private static boolean |
isWooded(int id) |
int |
sample(LayerRandomnessSource context,
int n,
int e,
int s,
int w,
int center) |
static AddEdgeBiomesLayer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddEdgeBiomesLayer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
sample
create
transformX, transformZ
public static final AddEdgeBiomesLayer INSTANCE
private static final int BEACH_ID
private static final int SNOWY_BEACH_ID
private static final int DESERT_ID
private static final int MOUNTAINS_ID
private static final int WOODED_MOUNTAINS_ID
private static final int FOREST_ID
private static final int JUNGLE_ID
private static final int JUNGLE_EDGE_ID
private static final int JUNGLE_HILLS_ID
private static final int BADLANDS_ID
private static final int WOODED_BADLANDS_PLATEAU_ID
private static final int BADLANDS_PLATEAU_ID
private static final int ERODED_BADLANDS_ID
private static final int MODIFIED_WOODED_BADLANDS_PLATEAU_ID
private static final int MODIFIED_BADLANDS_PLATEAU_ID
private static final int MUSHROOM_FIELDS_ID
private static final int MUSHROOM_FIELD_SHORE_ID
private static final int RIVER_ID
private static final int MOUNTAIN_EDGE_ID
private static final int STONE_SHORE_ID
private static final int SWAMP_ID
private static final int TAIGA_ID
public static AddEdgeBiomesLayer[] values()
for (AddEdgeBiomesLayer c : AddEdgeBiomesLayer.values()) System.out.println(c);
public static AddEdgeBiomesLayer valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int sample(LayerRandomnessSource context, int n, int e, int s, int w, int center)
sample
in interface CrossSamplingLayer
private static boolean isWooded(int id)
private boolean isBadlands(int id)