net.minecraft.world.level.levelgen.synth

public class PerlinNoise

implements SurfaceNoise

ddw
net.minecraft.world.level.levelgen.synth.PerlinNoise
net.minecraft.class_3537
net.minecraft.util.math.noise.OctavePerlinNoiseSampler
net.minecraft.src.C_2664_
net.minecraft.world.level.levelgen.synth.NoiseGeneratorOctaves

Field summary

Modifier and TypeField
private static final int
a
ROUND_OFF
field_31704
field_31704
f_164358_
private final ImprovedNoise[]
b
noiseLevels
field_15744
octaveSamplers
f_75390_
private final it.unimi.dsi.fastutil.doubles.DoubleList
c
amplitudes
field_26445
amplitudes
f_75391_
private final double
d
lowestFreqValueFactor
field_20659
persistence
f_75392_
private final double
e
lowestFreqInputFactor
field_20660
lacunarity
f_75393_

Constructor summary

ModifierConstructor
public (RandomSource random, IntStream octaves)
public (RandomSource random, List<Integer> octaves)
private (RandomSource random, it.unimi.dsi.fastutil.ints.IntSortedSet octaves)
private (RandomSource random, it.unimi.dsi.fastutil.ints.IntSortedSet octaves, LongFunction<RandomSource> randomFunction)
protected (RandomSource random, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> offsetAndAmplitudes)
protected (RandomSource random, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> octaves, LongFunction<RandomSource> randomFunction)

Method summary

Modifier and TypeMethod
public static PerlinNoise
a(cqf arg0, int arg1, double... arg2)
create(RandomSource arg0, int arg1, double... arg2)
method_35480(class_5819 arg0, int arg1, double... arg2)
create(WorldGenRandom random, int offset, double... amplitudes)
m_164385_(C_141344_ p_164386_, int p_164387_, double... p_164388_)
public static PerlinNoise
a(cqf arg0, int arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2)
create(RandomSource arg0, int arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2)
method_30847(class_5819 arg0, int arg1, it.unimi.dsi.fastutil.doubles.DoubleList arg2)
create(WorldGenRandom random, int offset, it.unimi.dsi.fastutil.doubles.DoubleList amplitudes)
m_164381_(C_141344_ p_164382_, int p_164383_, it.unimi.dsi.fastutil.doubles.DoubleList p_164384_)
private static com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList>
a(it.unimi.dsi.fastutil.ints.IntSortedSet arg0)
makeAmplitudes(it.unimi.dsi.fastutil.ints.IntSortedSet arg0)
method_30848(it.unimi.dsi.fastutil.ints.IntSortedSet arg0)
calculateAmplitudes(it.unimi.dsi.fastutil.ints.IntSortedSet octaves)
m_75430_(it.unimi.dsi.fastutil.ints.IntSortedSet p_75431_)
private static void
a(cqf arg0)
skipOctave(RandomSource arg0)
method_34401(class_5819 arg0)
skipCalls(WorldGenRandom random)
m_164379_(C_141344_ p_164380_)
public double
a(double arg0, double arg1, double arg2)
getValue(double arg0, double arg1, double arg2)
method_15416(double arg0, double arg1, double arg2)
sample(double x, double y, double z)
m_75408_(double p_75410_, double arg1, double arg2)
public double
a(double arg0, double arg1, double arg2, double arg3, double arg4, boolean arg5)
getValue(double arg0, double arg1, double arg2, double arg3, double arg4, boolean arg5)
method_16453(double arg0, double arg1, double arg2, double arg3, double arg4, boolean arg5)
sample(double x, double y, double z, double yScale, double yMax, boolean useOrigin)
m_75417_(double p_75419_, double p_75421_, double p_75423_, double arg3, double arg4, boolean arg5)
public ImprovedNoise
a(int arg0)
getOctaveNoise(int arg0)
method_16668(int arg0)
getOctave(int octave)
m_75424_(int arg0)
public static double
a(double arg0)
wrap(double arg0)
method_16452(double arg0)
maintainPrecision(double value)
m_75406_(double p_75407_)
public double
a(double arg0, double arg1, double arg2, double arg3)
getSurfaceNoiseValue(double arg0, double arg1, double arg2, double arg3)
method_16454(double arg0, double arg1, double arg2, double arg3)
sample(double arg0, double arg1, double arg2, double arg3)
m_5495_(double p_75414_, double p_75416_, double arg2, double arg3)