public static class PopulateChunkEvent.Populate extends PopulateChunkEvent
ChunkProviderEnd.populate(int, int),
ChunkProviderOverworld.populate(int, int),
and ChunkProviderHell.populate(int, int). type contains the enum value for the terrain feature being generated. Cancelable.Event.HasResult MinecraftForge.EVENT_BUS.| Modifier and Type | Class and Description |
|---|---|
static class |
PopulateChunkEvent.Populate.EventType
Use CUSTOM to filter custom event types
|
PopulateChunkEvent.Populate, PopulateChunkEvent.Post, PopulateChunkEvent.PreChunkGeneratorEvent.InitNoiseField, ChunkGeneratorEvent.ReplaceBiomeBlocksEvent.HasResult, Event.Result| Constructor and Description |
|---|
Populate(IChunkGenerator gen,
World world,
java.util.Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated,
PopulateChunkEvent.Populate.EventType type) |
| Modifier and Type | Method and Description |
|---|---|
PopulateChunkEvent.Populate.EventType |
getType() |
getChunkX, getChunkZ, getRand, getWorld, isHasVillageGeneratedgetGen, getGeneratorgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic Populate(IChunkGenerator gen, World world, java.util.Random rand, int chunkX, int chunkZ, boolean hasVillageGenerated, PopulateChunkEvent.Populate.EventType type)
public PopulateChunkEvent.Populate.EventType getType()