public abstract class BasicRetroactiveGenerator extends java.lang.Object implements IWorldGenerator
IWorldGenerator.IFactory| Modifier and Type | Field and Description |
|---|---|
protected ResourceName |
name |
| Constructor and Description |
|---|
BasicRetroactiveGenerator(ResourceName name) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(IWorld world,
IChunk chunk) |
abstract void |
generateRetroactively(IWorld world,
IChunk chunk) |
boolean |
shouldGenerate(IWorld world,
IChunk chunk) |
abstract boolean |
shouldGenerateRetroactively(IWorld world,
IChunk chunk) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoesPlayerAllowGeneration, generatesPerChunk, generatesRetroactively, getPriority, initWorld, needsPlayerToAllowGeneration, shouldExistInWorldprotected final ResourceName name
public BasicRetroactiveGenerator(ResourceName name)
public boolean shouldGenerate(IWorld world, IChunk chunk)
shouldGenerate in interface IWorldGeneratorpublic void generate(IWorld world, IChunk chunk)
generate in interface IWorldGeneratorpublic abstract boolean shouldGenerateRetroactively(IWorld world, IChunk chunk)