public abstract class HeightGen extends java.lang.Object implements IWorldGenerator
| Constructor and Description |
|---|
HeightGen() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(IWorld world,
IChunk chunk) |
boolean |
generatesPerChunk() |
int |
getHeight(IWorld world,
TileLayer layer,
int x) |
abstract int |
getMaxHeight(IWorld world) |
abstract int |
getMaxMountainHeight(IWorld world) |
abstract int |
getMinHeight(IWorld world) |
abstract int |
getNoiseScramble(IWorld world) |
void |
initWorld(IWorld world) |
boolean |
shouldGenerate(IWorld world,
IChunk chunk) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoesPlayerAllowGeneration, generatesRetroactively, getPriority, needsPlayerToAllowGeneration, shouldExistInWorldprotected INoiseGen noiseGen
public abstract int getMinHeight(IWorld world)
public abstract int getMaxHeight(IWorld world)
public abstract int getMaxMountainHeight(IWorld world)
public abstract int getNoiseScramble(IWorld world)
public 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 IWorldGeneratorpublic boolean generatesPerChunk()
generatesPerChunk in interface IWorldGenerator