public class BedrockDecorator extends AbstractGenerationPass implements Decorator
Decorator.SkipRegistrationAsPopulatorPopulator.SkipRegistrationAsFinisher| Modifier and Type | Field and Description |
|---|---|
static org.cloudburstmc.api.util.Identifier |
ID |
EMPTY_ARRAY| Constructor and Description |
|---|
BedrockDecorator() |
| 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() |
init, init0, setSeedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, populateinitpublic void decorate(net.daporkchop.lib.random.PRandom random,
org.cloudburstmc.api.level.chunk.Chunk chunk,
int x,
int z)
Decoratordecorate in interface 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 decorateCopyright © 2021. All rights reserved.