Class SimplexNoise
java.lang.Object
net.minecraft.world.level.levelgen.synth.GradientNoise
net.minecraft.world.level.levelgen.synth.SimplexNoise
- All Implemented Interfaces:
Noise
-
Nested Class Summary
Nested classes/interfaces inherited from class GradientNoise
GradientNoise.Gradient -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doublestatic final Intervalprivate static final doublestatic final double -
Constructor Summary
ConstructorsConstructorDescriptionSimplexNoise(RandomSource random) SimplexNoise(RandomSource random, boolean discardNoiseOffset) -
Method Summary
Modifier and TypeMethodDescriptionfloatget(double _xin, double _yin) floatget(double _xin, double _yin, double _zin) private doublegetCornerNoise3D(int index, double x, double y, double z, double base) range()Methods inherited from class GradientNoise
gradDot, permute, permuteToGrad, wrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Noise
addToVolume
-
Field Details
-
RANGE
-
STANDARD_DEVIATION
public static final double STANDARD_DEVIATION- See Also:
-
SQRT_3
private static final double SQRT_3 -
F2
private static final double F2 -
G2
private static final double G2
-
-
Constructor Details
-
SimplexNoise
-
SimplexNoise
-
-
Method Details
-
range
-
getCornerNoise3D
private double getCornerNoise3D(int index, double x, double y, double z, double base) -
get
public float get(double _xin, double _yin) -
get
public float get(double _xin, double _yin, double _zin)
-