public class PopulateChunkEvent extends ChunkProviderEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
PopulateChunkEvent.Populate
This event is fired when a chunk is populated with a terrain feature.
|
static class |
PopulateChunkEvent.Post |
static class |
PopulateChunkEvent.Pre |
ChunkProviderEvent.InitNoiseField, ChunkProviderEvent.ReplaceBiomeBlocksEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
int |
chunkX |
int |
chunkZ |
boolean |
hasVillageGenerated |
Random |
rand |
World |
world |
chunkProvider| Constructor and Description |
|---|
PopulateChunkEvent(IChunkProvider chunkProvider,
World world,
Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResultpublic final int chunkX
public final int chunkZ
public final boolean hasVillageGenerated
public PopulateChunkEvent(IChunkProvider chunkProvider, World world, Random rand, int chunkX, int chunkZ, boolean hasVillageGenerated)