Class NormalNoise
java.lang.Object
net.minecraft.world.level.levelgen.synth.NormalNoise
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PerlinNoise
private static final double
private final double
private final NormalNoise.NoiseParameters
private final PerlinNoise
private static final double
private final double
-
Constructor Summary
ModifierConstructorDescriptionprivate
NormalNoise
(RandomSource p_210627_, NormalNoise.NoiseParameters p_210628_, boolean p_210629_) -
Method Summary
Modifier and TypeMethodDescriptionstatic NormalNoise
create
(RandomSource p_164355_, int p_164356_, double... p_164357_) static NormalNoise
create
(RandomSource p_192849_, NormalNoise.NoiseParameters p_192850_) static NormalNoise
createLegacyNetherBiome
(RandomSource p_192844_, NormalNoise.NoiseParameters p_192845_) Deprecated.private static double
expectedDeviation
(int p_75385_) double
getValue
(double p_75381_, double p_75382_, double p_75383_) double
maxValue()
void
parityConfigString
(StringBuilder p_192847_)
-
Field Details
-
INPUT_FACTOR
private static final double INPUT_FACTOR- See Also:
-
TARGET_DEVIATION
private static final double TARGET_DEVIATION- See Also:
-
valueFactor
private final double valueFactor -
first
-
second
-
maxValue
private final double maxValue -
parameters
-
-
Constructor Details
-
NormalNoise
private NormalNoise(RandomSource p_210627_, NormalNoise.NoiseParameters p_210628_, boolean p_210629_)
-
-
Method Details
-
createLegacyNetherBiome
@Deprecated public static NormalNoise createLegacyNetherBiome(RandomSource p_192844_, NormalNoise.NoiseParameters p_192845_) Deprecated. -
create
-
create
-
maxValue
public double maxValue() -
expectedDeviation
private static double expectedDeviation(int p_75385_) -
getValue
public double getValue(double p_75381_, double p_75382_, double p_75383_) -
parameters
-
parityConfigString
-