Class PerlinNoise

java.lang.Object
net.minecraft.world.level.levelgen.synth.PerlinNoise

public class PerlinNoise extends Object
  • Field Details

    • ROUND_OFF

      private static final int ROUND_OFF
      See Also:
    • noiseLevels

      private final ImprovedNoise[] 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_192869_, com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> p_192870_, boolean p_192871_)
  • Method Details

    • createLegacyForBlendedNoise

      @Deprecated public static PerlinNoise createLegacyForBlendedNoise(RandomSource p_192886_, IntStream p_192887_)
      Deprecated.
    • createLegacyForLegacyNetherBiome

      @Deprecated public static PerlinNoise createLegacyForLegacyNetherBiome(RandomSource p_210646_, int p_210647_, it.unimi.dsi.fastutil.doubles.DoubleList p_210648_)
      Deprecated.
    • create

      public static PerlinNoise create(RandomSource p_192894_, IntStream p_192895_)
    • create

      public static PerlinNoise create(RandomSource p_192883_, List<Integer> p_192884_)
    • create

      public static PerlinNoise create(RandomSource p_192874_, int p_192875_, double p_192876_, double... p_192877_)
    • create

      public static PerlinNoise create(RandomSource p_164382_, int p_164383_, it.unimi.dsi.fastutil.doubles.DoubleList p_164384_)
    • 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

      private static void skipOctave(RandomSource p_164380_)
    • 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

      @Nullable public ImprovedNoise getOctaveNoise(int p_75425_)
    • wrap

      public static double wrap(double p_75407_)
    • firstOctave

      protected int firstOctave()
    • amplitudes

      protected it.unimi.dsi.fastutil.doubles.DoubleList amplitudes()
    • parityConfigString

      public void parityConfigString(StringBuilder p_192891_)