Class PerlinNoise

java.lang.Object
net.minecraft.world.level.levelgen.synth.GradientNoise
net.minecraft.world.level.levelgen.synth.PerlinNoise
All Implemented Interfaces:
Noise
Direct Known Subclasses:
SmearedPerlinNoise

public class PerlinNoise extends GradientNoise
  • Field Details

  • Constructor Details

  • Method Details

    • range

      public Interval range()
    • get

      public float get(double x, double y)
    • get

      public float get(double _x, double _y, double _z)
    • noiseWithDerivative

      public float noiseWithDerivative(double _x, double _y, double _z, float[] derivativeOut)
    • sampleAndLerp

      protected float sampleAndLerp(int x, int y, int z, float relativeX, float relativeY, float relativeZ, float originalRelativeY)
    • addToVolume

      public void addToVolume(DensityBuffer buffer, DensityVolume volume, double xzScale, double yScale, float amplitude)
    • sampleWithDerivative

      private float sampleWithDerivative(int x, int y, int z, float xr, float yr, float zr, float[] derivativeOut)
    • parityConfigString

      public void parityConfigString(StringBuilder sb)