Package net.minecraft.world.gen.layer
Enum Class ShoreLayer
- All Implemented Interfaces:
Serializable,Comparable<ShoreLayer>,Constable,IAreaTransformer1,ICastleTransformer,IDimOffset1Transformer,IDimTransformer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintapply(INoiseRandom p_202748_1_, int p_202748_2_, int p_202748_3_, int p_202748_4_, int p_202748_5_, int p_202748_6_) private static booleanisJungleCompatible(int p_151631_0_) private booleanisMesa(int p_151633_1_) static ShoreLayerReturns the enum constant of this class with the specified name.static ShoreLayer[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.world.gen.layer.traits.IAreaTransformer1
runMethods inherited from interface net.minecraft.world.gen.layer.traits.ICastleTransformer
applyPixelMethods inherited from interface net.minecraft.world.gen.layer.traits.IDimOffset1Transformer
getParentX, getParentY
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
SNOWY
private static final it.unimi.dsi.fastutil.ints.IntSet SNOWY -
JUNGLES
private static final it.unimi.dsi.fastutil.ints.IntSet JUNGLES
-
-
Constructor Details
-
ShoreLayer
private ShoreLayer()
-
-
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
-
apply
public int apply(INoiseRandom p_202748_1_, int p_202748_2_, int p_202748_3_, int p_202748_4_, int p_202748_5_, int p_202748_6_) - Specified by:
applyin interfaceICastleTransformer
-
isJungleCompatible
private static boolean isJungleCompatible(int p_151631_0_) -
isMesa
private boolean isMesa(int p_151633_1_)
-