Class DoublePlantPopulator
java.lang.Object
org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
org.cloudburstmc.server.level.generator.standard.population.ChancePopulator
org.cloudburstmc.server.level.generator.standard.population.ChancePopulator.Column
org.cloudburstmc.server.level.generator.standard.population.cluster.AbstractReplacingPopulator
org.cloudburstmc.server.level.generator.standard.population.plant.AbstractPlantPopulator
org.cloudburstmc.server.level.generator.standard.population.plant.DoublePlantPopulator
- All Implemented Interfaces:
Finisher,GenerationPass,Populator
Places patches of double plants in the world.
- Author:
- DaPorkchop_
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator
ChancePopulator.ColumnNested classes/interfaces inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator
Populator.SkipRegistrationAsFinisher -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.cloudburstmc.api.util.Identifierprotected org.cloudburstmc.api.util.data.DoublePlantType[]Fields inherited from class org.cloudburstmc.server.level.generator.standard.population.plant.AbstractPlantPopulator
on, patchSizeFields inherited from class org.cloudburstmc.server.level.generator.standard.population.cluster.AbstractReplacingPopulator
replaceFields inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator
chanceFields inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.cloudburstmc.api.util.IdentifiergetId()protected voidinit0(long levelSeed, long localSeed, StandardGenerator generator)protected voidplaceCluster(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z)Methods inherited from class org.cloudburstmc.server.level.generator.standard.population.plant.AbstractPlantPopulator
populate0Methods inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator.Column
populateMethods inherited from class org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
init, 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.misc.GenerationPass
init
-
Field Details
-
ID
public static final org.cloudburstmc.api.util.Identifier ID -
types
protected org.cloudburstmc.api.util.data.DoublePlantType[] types
-
-
Constructor Details
-
DoublePlantPopulator
public DoublePlantPopulator()
-
-
Method Details
-
init0
- Overrides:
init0in classAbstractPlantPopulator
-
placeCluster
protected void placeCluster(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z)- Specified by:
placeClusterin classAbstractPlantPopulator
-
getId
public org.cloudburstmc.api.util.Identifier getId()- Returns:
- the identifier of this generation pass
-