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 BlockState |
deep |
protected IntRange |
deepSize |
static 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,
IChunk chunk,
int x,
int z)
Decorates a given chunk.
|
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 Identifier ID
protected 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,
IChunk 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 Identifier getId()
getId in interface FinishergetId in interface DecoratorgetId in interface GenerationPassgetId in interface PopulatorgetId in class SurfaceDecoratorCopyright © 2020. All rights reserved.