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_230501_, NormalNoise.NoiseParameters p_230502_, boolean p_230503_) -
Method Summary
Modifier and TypeMethodDescriptionstatic NormalNoise
create
(RandomSource p_230505_, int p_230506_, double... p_230507_) static NormalNoise
create
(RandomSource p_230512_, NormalNoise.NoiseParameters p_230513_) static NormalNoise
createLegacyNetherBiome
(RandomSource p_230509_, NormalNoise.NoiseParameters p_230510_) 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_230501_, NormalNoise.NoiseParameters p_230502_, boolean p_230503_)
-
-
Method Details
-
createLegacyNetherBiome
@Deprecated public static NormalNoise createLegacyNetherBiome(RandomSource p_230509_, NormalNoise.NoiseParameters p_230510_) 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
-