public class SurfaceDecorator extends DepthNoiseDecorator
Decorator.SkipRegistrationAsPopulatorPopulator.SkipRegistrationAsFinisher| Modifier and Type | Field and Description |
|---|---|
protected org.cloudburstmc.api.block.BlockState |
cover |
protected org.cloudburstmc.api.block.BlockState |
filler |
protected org.cloudburstmc.api.block.BlockState |
ground |
protected IntRange |
height |
static org.cloudburstmc.api.util.Identifier |
ID |
protected int |
seaLevel |
protected org.cloudburstmc.api.block.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,
org.cloudburstmc.api.level.chunk.Chunk chunk,
int x,
int z)
Decorates a given chunk.
|
org.cloudburstmc.api.util.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 org.cloudburstmc.api.util.Identifier ID
protected IntRange height
protected org.cloudburstmc.api.block.BlockState ground
protected org.cloudburstmc.api.block.BlockState cover
protected org.cloudburstmc.api.block.BlockState top
protected org.cloudburstmc.api.block.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,
org.cloudburstmc.api.level.chunk.Chunk 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 org.cloudburstmc.api.util.Identifier getId()
Copyright © 2021. All rights reserved.