Package net.minecraft.util.math.noise
Class PerlinNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.PerlinNoiseSampler
- Mappings:
Namespace Name official dcu
intermediary net/minecraft/class_3756
named net/minecraft/util/math/noise/PerlinNoiseSampler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static float
double
double
double
private byte[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
getGradient(int hash)
private static double
grad(int hash, double x, double y, double z)
double
method_35477(double double2, double double3, double double4, double[] double5)
private double
method_35478(int int2, int int3, int int4, double double2, double double3, double double4, double[] double5)
double
sample(double x, double y, double z)
double
sample(double x, double y, double z, double yScale, double yMax)
Deprecated.private double
sample(int sectionX, int sectionY, int sectionZ, double localX, double localY, double localZ, double fadeLocalX)
-
Field Details
-
field_31701
private static final float field_31701- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Ldcu;d:F
intermediary field_31701
Lnet/minecraft/class_3756;field_31701:F
named field_31701
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;field_31701:F
-
permutations
private final byte[] permutations- Mappings:
Namespace Name Mixin selector official e
Ldcu;e:[B
intermediary field_16590
Lnet/minecraft/class_3756;field_16590:[B
named permutations
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;permutations:[B
-
originX
public final double originX- Mappings:
Namespace Name Mixin selector official a
Ldcu;a:D
intermediary field_16591
Lnet/minecraft/class_3756;field_16591:D
named originX
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;originX:D
-
originY
public final double originY- Mappings:
Namespace Name Mixin selector official b
Ldcu;b:D
intermediary field_16589
Lnet/minecraft/class_3756;field_16589:D
named originY
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;originY:D
-
originZ
public final double originZ- Mappings:
Namespace Name Mixin selector official c
Ldcu;c:D
intermediary field_16588
Lnet/minecraft/class_3756;field_16588:D
named originZ
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;originZ:D
-
-
Constructor Details
-
PerlinNoiseSampler
- Mappings:
Namespace Name Mixin selector official <init>
Ldcu;<init>(Lcph;)V
intermediary <init>
Lnet/minecraft/class_3756;<init>(Lnet/minecraft/class_5819;)V
named <init>
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;)V
-
-
Method Details
-
sample
public double sample(double x, double y, double z)- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(DDD)D
intermediary method_33658
Lnet/minecraft/class_3756;method_33658(DDD)D
named sample
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sample(DDD)D
-
sample
Deprecated.- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(DDDDD)D
intermediary method_16447
Lnet/minecraft/class_3756;method_16447(DDDDD)D
named sample
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sample(DDDDD)D
-
method_35477
public double method_35477(double double2, double double3, double double4, double[] double5)- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(DDD[D)D
intermediary method_35477
Lnet/minecraft/class_3756;method_35477(DDD[D)D
named method_35477
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;method_35477(DDD[D)D
-
grad
private static double grad(int hash, double x, double y, double z)- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(IDDD)D
intermediary method_16448
Lnet/minecraft/class_3756;method_16448(IDDD)D
named grad
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;grad(IDDD)D
-
getGradient
private int getGradient(int hash)- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(I)I
intermediary method_16449
Lnet/minecraft/class_3756;method_16449(I)I
named getGradient
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;getGradient(I)I
-
sample
private double sample(int sectionX, int sectionY, int sectionZ, double localX, double localY, double localZ, double fadeLocalX)- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(IIIDDDD)D
intermediary method_16450
Lnet/minecraft/class_3756;method_16450(IIIDDDD)D
named sample
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;sample(IIIDDDD)D
-
method_35478
private double method_35478(int int2, int int3, int int4, double double2, double double3, double double4, double[] double5)- Mappings:
Namespace Name Mixin selector official a
Ldcu;a(IIIDDD[D)D
intermediary method_35478
Lnet/minecraft/class_3756;method_35478(IIIDDD[D)D
named method_35478
Lnet/minecraft/util/math/noise/PerlinNoiseSampler;method_35478(IIIDDD[D)D
-