类 PerlinNoise
java.lang.Object
net.minecraft.world.level.levelgen.synth.PerlinNoise
-
字段概要
字段修饰符和类型字段说明private 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
-
构造器概要
构造器限定符构造器说明protected
PerlinNoise
(RandomSource pRandom, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> pOctavesAndAmplitudes, boolean p_230517_) -
方法概要
修饰符和类型方法说明protected it.unimi.dsi.fastutil.doubles.DoubleList
static PerlinNoise
create
(RandomSource pRandom, int pFirstOctave, double pFirstAmplitude, double... pAmplitudes) static PerlinNoise
create
(RandomSource pRandom, int pFirstOctave, it.unimi.dsi.fastutil.doubles.DoubleList pAmplitudes) static PerlinNoise
create
(RandomSource pRandom, List<Integer> pOctaves) static PerlinNoise
create
(RandomSource pRandom, IntStream pOctaves) static PerlinNoise
createLegacyForBlendedNoise
(RandomSource pRandom, IntStream pOctaves) 已过时。static PerlinNoise
createLegacyForLegacyNetherBiome
(RandomSource pRandom, int pFirstOctave, it.unimi.dsi.fastutil.doubles.DoubleList pAmplitudes) 已过时。private double
edgeValue
(double p_210650_) protected int
getOctaveNoise
(int pOctave) double
getValue
(double pX, double pY, double pZ) double
getValue
(double pX, double pY, double pZ, double pYScale, double pYMax, boolean pUseFixedY) 已过时。private static com.mojang.datafixers.util.Pair<Integer,
it.unimi.dsi.fastutil.doubles.DoubleList> makeAmplitudes
(it.unimi.dsi.fastutil.ints.IntSortedSet pOctaves) double
maxBrokenValue
(double p_210644_) protected double
maxValue()
void
parityConfigString
(StringBuilder pBuilder) private static void
skipOctave
(RandomSource pRandom) static double
wrap
(double pValue)
-
字段详细资料
-
ROUND_OFF
private static final int ROUND_OFF- 另请参阅:
-
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
-
-
构造器详细资料
-
PerlinNoise
protected PerlinNoise(RandomSource pRandom, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> pOctavesAndAmplitudes, boolean p_230517_)
-
-
方法详细资料
-
createLegacyForBlendedNoise
@Deprecated public static PerlinNoise createLegacyForBlendedNoise(RandomSource pRandom, IntStream pOctaves) 已过时。 -
createLegacyForLegacyNetherBiome
@Deprecated public static PerlinNoise createLegacyForLegacyNetherBiome(RandomSource pRandom, int pFirstOctave, it.unimi.dsi.fastutil.doubles.DoubleList pAmplitudes) 已过时。 -
create
-
create
-
create
public static PerlinNoise create(RandomSource pRandom, int pFirstOctave, double pFirstAmplitude, double... pAmplitudes) -
create
public static PerlinNoise create(RandomSource pRandom, int pFirstOctave, it.unimi.dsi.fastutil.doubles.DoubleList pAmplitudes) -
makeAmplitudes
private static com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> makeAmplitudes(it.unimi.dsi.fastutil.ints.IntSortedSet pOctaves) -
maxValue
protected double maxValue() -
skipOctave
-
getValue
public double getValue(double pX, double pY, double pZ) -
getValue
@Deprecated public double getValue(double pX, double pY, double pZ, double pYScale, double pYMax, boolean pUseFixedY) 已过时。 -
maxBrokenValue
public double maxBrokenValue(double p_210644_) -
edgeValue
private double edgeValue(double p_210650_) -
getOctaveNoise
-
wrap
public static double wrap(double pValue) -
firstOctave
protected int firstOctave() -
amplitudes
protected it.unimi.dsi.fastutil.doubles.DoubleList amplitudes() -
parityConfigString
-