Class SubmergedOrePopulator
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.SubmergedOrePopulator
- All Implemented Interfaces:
Finisher,GenerationPass,Populator
Generates underwater ore veins.
- 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 TypeFieldDescriptionprotected BlockSelectorstatic org.cloudburstmc.api.util.Identifierprotected IntRangeprotected BlockFilterprotected BlockFilterFields 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 voidpopulate0(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)Methods 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 -
replace
-
start
-
radius
-
block
-
-
Constructor Details
-
SubmergedOrePopulator
public SubmergedOrePopulator()
-
-
Method Details
-
init0
- Overrides:
init0in classChancePopulator
-
populate0
protected void populate0(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)- Specified by:
populate0in classChancePopulator.Column
-
getId
public org.cloudburstmc.api.util.Identifier getId()- Returns:
- the identifier of this generation pass
-