Class ImprovedNoise

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

public final class ImprovedNoise extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final byte[]
     
    private static final float
     
    final double
     
    final double
     
    final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static double
    gradDot(int p_75336_, double p_75337_, double p_75338_, double p_75339_)
     
    double
    noise(double p_164309_, double p_164310_, double p_164311_)
     
    double
    noise(double p_75328_, double p_75329_, double p_75330_, double p_75331_, double p_75332_)
    Deprecated.
    double
    noiseWithDerivative(double p_164313_, double p_164314_, double p_164315_, double[] p_164316_)
     
    private int
    p(int p_75334_)
     
    void
     
    private double
    sampleAndLerp(int p_164318_, int p_164319_, int p_164320_, double p_164321_, double p_164322_, double p_164323_, double p_164324_)
     
    private double
    sampleWithDerivative(int p_164326_, int p_164327_, int p_164328_, double p_164329_, double p_164330_, double p_164331_, double[] p_164332_)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SHIFT_UP_EPSILON

      private static final float SHIFT_UP_EPSILON
      See Also:
    • p

      private final byte[] p
    • xo

      public final double xo
    • yo

      public final double yo
    • zo

      public final double zo
  • Constructor Details

    • ImprovedNoise

      public ImprovedNoise(RandomSource p_230499_)
  • Method Details

    • noise

      public double noise(double p_164309_, double p_164310_, double p_164311_)
    • noise

      @Deprecated public double noise(double p_75328_, double p_75329_, double p_75330_, double p_75331_, double p_75332_)
      Deprecated.
    • noiseWithDerivative

      public double noiseWithDerivative(double p_164313_, double p_164314_, double p_164315_, double[] p_164316_)
    • gradDot

      private static double gradDot(int p_75336_, double p_75337_, double p_75338_, double p_75339_)
    • p

      private int p(int p_75334_)
    • sampleAndLerp

      private double sampleAndLerp(int p_164318_, int p_164319_, int p_164320_, double p_164321_, double p_164322_, double p_164323_, double p_164324_)
    • sampleWithDerivative

      private double sampleWithDerivative(int p_164326_, int p_164327_, int p_164328_, double p_164329_, double p_164330_, double p_164331_, double[] p_164332_)
    • parityConfigString

      public void parityConfigString(StringBuilder p_192824_)