public enum RiverLayer extends java.lang.Enum<RiverLayer> implements ICastleTransformer
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
static int |
RIVER |
Modifier and Type | Method and Description |
---|---|
int |
apply(INoiseRandom context,
int north,
int west,
int south,
int east,
int center) |
private static int |
riverFilter(int p_151630_0_) |
static RiverLayer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RiverLayer[] |
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
func_215728_a
apply
func_215721_a, func_215722_b
public static final RiverLayer INSTANCE
public static RiverLayer[] values()
for (RiverLayer c : RiverLayer.values()) System.out.println(c);
public static RiverLayer 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 int apply(INoiseRandom context, int north, int west, int south, int east, int center)
apply
in interface ICastleTransformer
private static int riverFilter(int p_151630_0_)