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 |
java.util.Random |
rand |
World |
world |
chunkProvider| Constructor and Description |
|---|
PopulateChunkEvent(IChunkProvider chunkProvider,
World world,
java.util.Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setuppublic final World world
public final java.util.Random rand
public final int chunkX
public final int chunkZ
public final boolean hasVillageGenerated
public PopulateChunkEvent(IChunkProvider chunkProvider, World world, java.util.Random rand, int chunkX, int chunkZ, boolean hasVillageGenerated)