IWorldGeneratorpublic abstract class WorldGenOre extends java.lang.Object implements IWorldGenerator
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Random |
oreRandom |
|
protected long |
oreSeed |
| Constructor | Description |
|---|---|
WorldGenOre() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
generate(IWorld world,
IChunk chunk) |
|
protected java.util.Set<Biome> |
getAllowedBiomes() |
|
protected java.util.Set<TileState> |
getAllwedTiles() |
|
protected abstract int |
getClusterRadiusX() |
|
protected abstract int |
getClusterRadiusY() |
|
protected abstract int |
getHighestGridPos() |
|
protected int |
getLowestGridPos() |
|
protected abstract int |
getMaxAmount() |
|
protected abstract TileState |
getOreState() |
|
void |
initWorld(IWorld world) |
|
boolean |
shouldGenerate(IWorld world,
IChunk chunk) |
doesPlayerAllowGeneration, generatesRetroactively, getPriority, needsPlayerToAllowGenerationpublic void initWorld(IWorld world)
initWorld in interface IWorldGeneratorpublic 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.Set<Biome> getAllowedBiomes()
protected java.util.Set<TileState> getAllwedTiles()