Class WorldGenOre
java.lang.Object
de.ellpeck.rockbottom.api.world.gen.WorldGenOre
- All Implemented Interfaces:
IWorldGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.ellpeck.rockbottom.api.world.gen.IWorldGenerator
IWorldGenerator.IFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ResourceNameprotected final Randomprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract intprotected abstract intprotected abstract intprotected intprotected abstract intprotected abstract TileStatevoidbooleanshouldGenerate(IWorld world, IChunk chunk) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.ellpeck.rockbottom.api.world.gen.IWorldGenerator
doesPlayerAllowGeneration, generatesPerChunk, generatesRetroactively, getPriority, needsPlayerToAllowGeneration, shouldExistInWorld
-
Field Details
-
name
-
oreRandom
-
oreSeed
protected long oreSeed
-
-
Constructor Details
-
WorldGenOre
-
-
Method Details
-
initWorld
- Specified by:
initWorldin interfaceIWorldGenerator
-
shouldGenerate
- Specified by:
shouldGeneratein interfaceIWorldGenerator
-
generate
- Specified by:
generatein interfaceIWorldGenerator
-
getHighestGridPos
protected abstract int getHighestGridPos() -
getLowestGridPos
protected int getLowestGridPos() -
getMaxAmount
protected abstract int getMaxAmount() -
getClusterRadiusX
protected abstract int getClusterRadiusX() -
getClusterRadiusY
protected abstract int getClusterRadiusY() -
getOreState
-
getAllowedBiomes
-
getAllwedTiles
-