public class DeepSurfaceDecorator extends SurfaceDecorator
SurfaceDecorator that adds an additional layer of blocks under the main layers.Decorator.SkipRegistrationAsPopulatorPopulator.SkipRegistrationAsFinisher| Modifier and Type | Field and Description |
|---|---|
protected org.cloudburstmc.api.block.BlockState |
deep |
protected IntRange |
deepSize |
static org.cloudburstmc.api.util.Identifier |
ID |
cover, filler, ground, height, seaLevel, topDEPTH_NOISE, depthNoise, depthNoiseFactor, depthNoiseOffset, depthNoiseScale, randomFactorEMPTY_ARRAY| Constructor and Description |
|---|
DeepSurfaceDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(net.daporkchop.lib.random.PRandom random,
org.cloudburstmc.api.level.chunk.Chunk chunk,
int x,
int z)
Decorates a given chunk.
|
org.cloudburstmc.api.util.Identifier |
getId() |
void |
init0(long levelSeed,
long localSeed,
StandardGenerator generator) |
getDepthNoise, getDepthNoiseinit, setSeedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, populateinitpublic static final org.cloudburstmc.api.util.Identifier ID
protected org.cloudburstmc.api.block.BlockState deep
protected IntRange deepSize
public void init0(long levelSeed,
long localSeed,
StandardGenerator generator)
init0 in class SurfaceDecoratorpublic void decorate(net.daporkchop.lib.random.PRandom random,
org.cloudburstmc.api.level.chunk.Chunk chunk,
int x,
int z)
Decoratordecorate in interface Decoratordecorate in class SurfaceDecoratorrandom - an instance of PRandom for generating random numbers, initialized with a seed based on chunk's positionchunk - the chunk to be decoratedx - the X coordinate of the block column in the chunk to decoratez - the Z coordinate of the block column in the chunk to decoratepublic org.cloudburstmc.api.util.Identifier getId()
getId in interface FinishergetId in interface DecoratorgetId in interface GenerationPassgetId in interface PopulatorgetId in class SurfaceDecoratorCopyright © 2021. All rights reserved.