public abstract class WorldGenOre extends java.lang.Object implements IWorldGenerator
| Constructor and Description |
|---|
WorldGenOre() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(IWorld world,
IChunk chunk) |
protected java.util.Collection<Biome> |
getAllowedBiomes() |
protected abstract int |
getClusterRadiusX() |
protected abstract int |
getClusterRadiusY() |
protected abstract int |
getHighestGridPos() |
protected int |
getLowestGridPos() |
protected abstract int |
getMaxAmount() |
protected abstract TileState |
getOreState() |
boolean |
shouldGenerate(IWorld world,
IChunk chunk) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoesPlayerAllowGeneration, getPriority, initWorld, needsPlayerToAllowGenerationpublic boolean shouldGenerate(IWorld world, IChunk chunk)
shouldGenerate in interface IWorldGeneratorpublic void generate(IWorld world, IChunk chunk)
generate in interface IWorldGeneratorprotected abstract int getHighestGridPos()
protected int getLowestGridPos()
protected abstract int getMaxAmount()
protected abstract int getClusterRadiusX()
protected abstract int getClusterRadiusY()
protected abstract TileState getOreState()
protected java.util.Collection<Biome> getAllowedBiomes()