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_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

      public static PerlinNoise create(RandomSource p_230540_, IntStream p_230541_)
    • create

      public static PerlinNoise create(RandomSource p_230530_, List<Integer> p_230531_)
    • 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

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