public class MesaSurfaceDecorator extends DepthNoiseDecorator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MesaSurfaceDecorator.Band |
Decorator.SkipRegistrationAsPopulatorPopulator.SkipRegistrationAsFinisher| Modifier and Type | Field and Description |
|---|---|
protected static int |
BAND_COUNT |
protected static int |
BAND_MASK |
protected net.daporkchop.lib.noise.NoiseSource |
bandOffset |
protected NoiseGenerator |
bandOffsetNoise |
protected org.cloudburstmc.api.block.BlockState[] |
bands |
protected ConstantBlock |
base |
protected org.cloudburstmc.api.block.BlockState |
ground |
static org.cloudburstmc.api.util.Identifier |
ID |
protected MesaSurfaceDecorator.Band[] |
layers |
protected int |
seaLevel |
DEPTH_NOISE, depthNoise, depthNoiseFactor, depthNoiseOffset, depthNoiseScale, randomFactorEMPTY_ARRAY| Constructor and Description |
|---|
MesaSurfaceDecorator() |
| 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.
|
protected org.cloudburstmc.api.block.BlockState |
getBand(int x,
int y,
int z) |
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 static final int BAND_COUNT
protected static final int BAND_MASK
protected org.cloudburstmc.api.block.BlockState ground
protected int seaLevel
protected net.daporkchop.lib.noise.NoiseSource bandOffset
protected org.cloudburstmc.api.block.BlockState[] bands
protected ConstantBlock base
protected MesaSurfaceDecorator.Band[] layers
protected NoiseGenerator bandOffsetNoise
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 decorateprotected org.cloudburstmc.api.block.BlockState getBand(int x,
int y,
int z)
public org.cloudburstmc.api.util.Identifier getId()
Copyright © 2021. All rights reserved.