Class DepthNoiseDecorator
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
- Author:
- DaPorkchop_
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cloudburstmc.server.level.generator.standard.generation.decorator.Decorator
Decorator.SkipRegistrationAsPopulatorNested classes/interfaces inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator
Populator.SkipRegistrationAsFinisher -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.daporkchop.lib.noise.NoiseSourceprotected net.daporkchop.lib.noise.NoiseSourceprotected doubleprotected doubleprotected doubleprotected doubleFields inherited from interface org.cloudburstmc.server.level.generator.standard.generation.decorator.Decorator
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetDepthNoise(net.daporkchop.lib.random.PRandom random, int x, int z)protected intgetDepthNoise(org.cloudburstmc.api.level.chunk.Chunk chunk, net.daporkchop.lib.random.PRandom random, int x, int z)protected voidinit0(long levelSeed, long localSeed, StandardGenerator generator)Methods inherited from class org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
init, setSeedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.server.level.generator.standard.generation.decorator.Decorator
decorate, finish, getId, populateMethods inherited from interface org.cloudburstmc.server.level.generator.standard.misc.GenerationPass
init
-
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
- Overrides:
init0in classAbstractGenerationPass
-
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)
-