public class SurfaceDecorator extends DepthNoiseDecorator
Decorator.SkipRegistrationAsPopulatorPopulator.SkipRegistrationAsFinisher| Modifier and Type | Field and Description |
|---|---|
protected BlockState |
cover |
protected BlockState |
filler |
protected BlockState |
ground |
protected IntRange |
height |
static Identifier |
ID |
protected int |
seaLevel |
protected BlockState |
top |
DEPTH_NOISE, depthNoise, depthNoiseFactor, depthNoiseOffset, depthNoiseScale, randomFactorEMPTY_ARRAY| Constructor and Description |
|---|
SurfaceDecorator() |
| 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() |
protected 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 IntRange height
protected BlockState ground
protected BlockState cover
protected BlockState top
protected BlockState filler
protected int seaLevel
protected void init0(long levelSeed,
long localSeed,
StandardGenerator generator)
init0 in class DepthNoiseDecoratorpublic void decorate(net.daporkchop.lib.random.PRandom random,
IChunk chunk,
int x,
int z)
Decoratorrandom - 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()
Copyright © 2020. All rights reserved.