Class NormalNoise
java.lang.Object
net.minecraft.world.level.levelgen.synth.NormalNoise
-
Field Summary
Modifier and TypeFieldDescriptionprivate PerlinNoise
private static double
private PerlinNoise
private static double
private double
-
Constructor Summary
ModifierConstructorDescriptionprivate
NormalNoise(RandomSource p_164347_, int p_164348_, it.unimi.dsi.fastutil.doubles.DoubleList p_164349_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic NormalNoise
create(RandomSource p_164355_, int p_164356_, double... p_164357_)
static NormalNoise
create(RandomSource p_164351_, int p_164352_, it.unimi.dsi.fastutil.doubles.DoubleList p_164353_)
private static double
expectedDeviation(int p_75385_)
double
getValue(double p_75381_, double p_75382_, double p_75383_)
-
Field Details
-
INPUT_FACTOR
private static final double INPUT_FACTOR- See Also:
- Constant Field Values
-
TARGET_DEVIATION
private static final double TARGET_DEVIATION- See Also:
- Constant Field Values
-
valueFactor
private final double valueFactor -
first
-
second
-
-
Constructor Details
-
NormalNoise
private NormalNoise(RandomSource p_164347_, int p_164348_, it.unimi.dsi.fastutil.doubles.DoubleList p_164349_)
-
-
Method Details
-
create
-
create
public static NormalNoise create(RandomSource p_164351_, int p_164352_, it.unimi.dsi.fastutil.doubles.DoubleList p_164353_) -
expectedDeviation
private static double expectedDeviation(int p_75385_) -
getValue
public double getValue(double p_75381_, double p_75382_, double p_75383_)
-