Class PerlinNoise
java.lang.Object
net.minecraft.world.level.levelgen.synth.PerlinNoise
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.doubles.DoubleList
private final int
private final double
private final double
private final double
private final ImprovedNoise[]
private static final int
-
Constructor Summary
ModifierConstructorDescriptionprotected
PerlinNoise
(RandomSource p_230515_, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> p_230516_, boolean p_230517_) -
Method Summary
Modifier and TypeMethodDescriptionprotected it.unimi.dsi.fastutil.doubles.DoubleList
static PerlinNoise
create
(RandomSource p_230521_, int p_230522_, double p_230523_, double... p_230524_) static PerlinNoise
create
(RandomSource p_230536_, int p_230537_, it.unimi.dsi.fastutil.doubles.DoubleList p_230538_) static PerlinNoise
create
(RandomSource p_230530_, List<Integer> p_230531_) static PerlinNoise
create
(RandomSource p_230540_, IntStream p_230541_) static PerlinNoise
createLegacyForBlendedNoise
(RandomSource p_230533_, IntStream p_230534_) Deprecated.static PerlinNoise
createLegacyForLegacyNetherBiome
(RandomSource p_230526_, int p_230527_, it.unimi.dsi.fastutil.doubles.DoubleList p_230528_) Deprecated.private double
edgeValue
(double p_210650_) protected int
getOctaveNoise
(int p_75425_) double
getValue
(double p_75409_, double p_75410_, double p_75411_) double
getValue
(double p_75418_, double p_75419_, double p_75420_, double p_75421_, double p_75422_, boolean p_75423_) Deprecated.private static com.mojang.datafixers.util.Pair<Integer,
it.unimi.dsi.fastutil.doubles.DoubleList> makeAmplitudes
(it.unimi.dsi.fastutil.ints.IntSortedSet p_75431_) double
maxBrokenValue
(double p_210644_) protected double
maxValue()
void
parityConfigString
(StringBuilder p_192891_) private static void
skipOctave
(RandomSource p_230519_) static double
wrap
(double p_75407_)
-
Field Details
-
ROUND_OFF
private static final int ROUND_OFF- See Also:
-
noiseLevels
-
firstOctave
private final int firstOctave -
amplitudes
private final it.unimi.dsi.fastutil.doubles.DoubleList amplitudes -
lowestFreqValueFactor
private final double lowestFreqValueFactor -
lowestFreqInputFactor
private final double lowestFreqInputFactor -
maxValue
private final double maxValue
-
-
Constructor Details
-
PerlinNoise
protected PerlinNoise(RandomSource p_230515_, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> p_230516_, boolean p_230517_)
-
-
Method Details
-
createLegacyForBlendedNoise
@Deprecated public static PerlinNoise createLegacyForBlendedNoise(RandomSource p_230533_, IntStream p_230534_) Deprecated. -
createLegacyForLegacyNetherBiome
@Deprecated public static PerlinNoise createLegacyForLegacyNetherBiome(RandomSource p_230526_, int p_230527_, it.unimi.dsi.fastutil.doubles.DoubleList p_230528_) Deprecated. -
create
-
create
-
create
public static PerlinNoise create(RandomSource p_230521_, int p_230522_, double p_230523_, double... p_230524_) -
create
public static PerlinNoise create(RandomSource p_230536_, int p_230537_, it.unimi.dsi.fastutil.doubles.DoubleList p_230538_) -
makeAmplitudes
private static com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> makeAmplitudes(it.unimi.dsi.fastutil.ints.IntSortedSet p_75431_) -
maxValue
protected double maxValue() -
skipOctave
-
getValue
public double getValue(double p_75409_, double p_75410_, double p_75411_) -
getValue
@Deprecated public double getValue(double p_75418_, double p_75419_, double p_75420_, double p_75421_, double p_75422_, boolean p_75423_) Deprecated. -
maxBrokenValue
public double maxBrokenValue(double p_210644_) -
edgeValue
private double edgeValue(double p_210650_) -
getOctaveNoise
-
wrap
public static double wrap(double p_75407_) -
firstOctave
protected int firstOctave() -
amplitudes
protected it.unimi.dsi.fastutil.doubles.DoubleList amplitudes() -
parityConfigString
-