Package net.minecraft.world.biome.layer
Enum ScaleLayer
- All Implemented Interfaces:
Serializable
,Comparable<ScaleLayer>
,java.lang.constant.Constable
,ParentedLayer
,CoordinateTransformer
public enum ScaleLayer extends Enum<ScaleLayer> implements ParentedLayer
- Mappings:
Namespace Name official dby
intermediary net/minecraft/class_3656
named net/minecraft/world/biome/layer/ScaleLayer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ScaleLayer()
-
Method Summary
Modifier and Type Method Description protected int
sample(LayerSampleContext<?> context, int tl, int tr, int bl, int br)
int
sample(LayerSampleContext<?> context, LayerSampler parent, int x, int z)
int
transformX(int x)
int
transformZ(int y)
static ScaleLayer
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScaleLayer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.minecraft.world.biome.layer.type.ParentedLayer
create
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official a
Ldby;a:Ldby;
intermediary field_16196
Lnet/minecraft/class_3656;field_16196:Lnet/minecraft/class_3656;
named NORMAL
Lnet/minecraft/world/biome/layer/ScaleLayer;NORMAL:Lnet/minecraft/world/biome/layer/ScaleLayer;
-
FUZZY
- Mappings:
Namespace Name Mixin selector official b
Ldby;b:Ldby;
intermediary field_16198
Lnet/minecraft/class_3656;field_16198:Lnet/minecraft/class_3656;
named FUZZY
Lnet/minecraft/world/biome/layer/ScaleLayer;FUZZY:Lnet/minecraft/world/biome/layer/ScaleLayer;
-
-
Constructor Details
-
ScaleLayer
private ScaleLayer()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
transformX
public int transformX(int x)- Specified by:
transformX
in interfaceCoordinateTransformer
- Mappings:
Namespace Name Mixin selector official a
Ldcj;a(I)I
intermediary method_16342
Lnet/minecraft/class_3741;method_16342(I)I
named transformX
Lnet/minecraft/world/biome/layer/util/CoordinateTransformer;transformX(I)I
-
transformZ
public int transformZ(int y)- Specified by:
transformZ
in interfaceCoordinateTransformer
- Mappings:
Namespace Name Mixin selector official b
Ldcj;b(I)I
intermediary method_16343
Lnet/minecraft/class_3741;method_16343(I)I
named transformZ
Lnet/minecraft/world/biome/layer/util/CoordinateTransformer;transformZ(I)I
-
sample
- Specified by:
sample
in interfaceParentedLayer
- Mappings:
Namespace Name Mixin selector official a
Ldcb;a(Lday;Ldau;II)I
intermediary method_15863
Lnet/minecraft/class_3660;method_15863(Lnet/minecraft/class_3628;Lnet/minecraft/class_3625;II)I
named sample
Lnet/minecraft/world/biome/layer/type/ParentedLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerSampleContext;Lnet/minecraft/world/biome/layer/util/LayerSampler;II)I
-
sample
- Mappings:
Namespace Name Mixin selector official a
Ldby;a(Lday;IIII)I
intermediary method_15853
Lnet/minecraft/class_3656;method_15853(Lnet/minecraft/class_3628;IIII)I
named sample
Lnet/minecraft/world/biome/layer/ScaleLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerSampleContext;IIII)I
-