java.lang.Object
org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
org.cloudburstmc.server.level.generator.standard.generation.decorator.DepthNoiseDecorator
All Implemented Interfaces:
Finisher, Decorator, GenerationPass, Populator
Direct Known Subclasses:
MesaSurfaceDecorator, SurfaceDecorator

public abstract class DepthNoiseDecorator extends AbstractGenerationPass implements Decorator
Author:
DaPorkchop_
  • Field Details

    • DEPTH_NOISE

      public static final net.daporkchop.lib.noise.NoiseSource DEPTH_NOISE
    • depthNoise

      protected net.daporkchop.lib.noise.NoiseSource depthNoise
    • randomFactor

      protected double randomFactor
    • depthNoiseScale

      protected double depthNoiseScale
    • depthNoiseFactor

      protected double depthNoiseFactor
    • depthNoiseOffset

      protected double depthNoiseOffset
  • Constructor Details

    • DepthNoiseDecorator

      public DepthNoiseDecorator()
  • Method Details

    • init0

      protected void init0(long levelSeed, long localSeed, StandardGenerator generator)
      Overrides:
      init0 in class AbstractGenerationPass
    • getDepthNoise

      protected int getDepthNoise(org.cloudburstmc.api.level.chunk.Chunk chunk, net.daporkchop.lib.random.PRandom random, int x, int z)
    • getDepthNoise

      protected int getDepthNoise(net.daporkchop.lib.random.PRandom random, int x, int z)