Class BedrockDecorator
java.lang.Object
org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
org.cloudburstmc.server.level.generator.standard.generation.decorator.BedrockDecorator
- All Implemented Interfaces:
Finisher,Decorator,GenerationPass,Populator
Places a given block type using a vanilla bedrock pattern.
- Author:
- DaPorkchop_
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cloudburstmc.server.level.generator.standard.generation.decorator.Decorator
Decorator.SkipRegistrationAsPopulatorNested classes/interfaces inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator
Populator.SkipRegistrationAsFinisher -
Field Summary
FieldsFields inherited from interface org.cloudburstmc.server.level.generator.standard.generation.decorator.Decorator
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
init, init0, setSeedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.server.level.generator.standard.generation.decorator.Decorator
finish, populateMethods inherited from interface org.cloudburstmc.server.level.generator.standard.misc.GenerationPass
init
-
Field Details
-
ID
public static final org.cloudburstmc.api.util.Identifier ID
-
-
Constructor Details
-
BedrockDecorator
public BedrockDecorator()
-
-
Method Details
-
decorate
public void decorate(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.chunk.Chunk chunk, int x, int z)Description copied from interface:DecoratorDecorates a given chunk.- Specified by:
decoratein interfaceDecorator- Parameters:
random- an instance ofPRandomfor 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 decorate
-
getId
public org.cloudburstmc.api.util.Identifier getId()
-