Class NoiseSampler

java.lang.Object
net.minecraft.world.level.levelgen.NoiseSampler

public class NoiseSampler extends Object
  • Field Details

    • OLD_CELL_COUNT_Y

      private static final int OLD_CELL_COUNT_Y
      See Also:
      Constant Field Values
    • BIOME_WEIGHTS

      protected static final float[] BIOME_WEIGHTS
    • biomeSource

      protected final BiomeSource biomeSource
    • cellWidth

      protected final int cellWidth
    • cellHeight

      protected final int cellHeight
    • cellCountY

      protected final int cellCountY
    • noiseSettings

      protected final NoiseSettings noiseSettings
    • blendedNoise

      public final BlendedNoise blendedNoise
    • islandNoise

      @Nullable public final SimplexNoise islandNoise
    • depthNoise

      public final PerlinNoise depthNoise
    • topSlideTarget

      private final double topSlideTarget
    • topSlideSize

      private final double topSlideSize
    • topSlideOffset

      private final double topSlideOffset
    • bottomSlideTarget

      private final double bottomSlideTarget
    • bottomSlideSize

      private final double bottomSlideSize
    • bottomSlideOffset

      private final double bottomSlideOffset
    • dimensionDensityFactor

      private final double dimensionDensityFactor
    • dimensionDensityOffset

      private final double dimensionDensityOffset
    • caveNoiseModifier

      public final NoiseModifier caveNoiseModifier
  • Constructor Details

  • Method Details

    • fillNoiseColumn

      public void fillNoiseColumn(double[] p_158679_, int p_158680_, int p_158681_, NoiseSettings p_158682_, int p_158683_, int p_158684_, int p_158685_)
    • computeInitialDensity

      protected double computeInitialDensity(int p_158671_, double p_158672_, double p_158673_, double p_158674_)
    • applySlide

      protected double applySlide(double p_158668_, int p_158669_)
    • getRandomDensity

      protected double getRandomDensity(int p_158676_, int p_158677_)