public enum AddEdgeBiomesLayer extends Enum<AddEdgeBiomesLayer> implements CrossSamplingLayer
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
private static it.unimi.dsi.fastutil.ints.IntSet |
field_26728 |
private static it.unimi.dsi.fastutil.ints.IntSet |
field_26729 |
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 it.unimi.dsi.fastutil.ints.IntSet field_26728
private static final it.unimi.dsi.fastutil.ints.IntSet field_26729
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)