|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraftforge.event.Event
net.minecraftforge.event.terraingen.ChunkProviderEvent
net.minecraftforge.event.terraingen.PopulateChunkEvent
net.minecraftforge.event.terraingen.PopulateChunkEvent.Populate
public static class PopulateChunkEvent.Populate
This event is fired when a chunk is populated with a terrain feature. You can set the result to DENY to prevent the default generation of a terrain feature.
Nested Class Summary | |
---|---|
static class |
PopulateChunkEvent.Populate.EventType
Use CUSTOM to filter custom event types |
Nested classes/interfaces inherited from class net.minecraftforge.event.terraingen.PopulateChunkEvent |
---|
PopulateChunkEvent.Populate, PopulateChunkEvent.Post, PopulateChunkEvent.Pre |
Nested classes/interfaces inherited from class net.minecraftforge.event.terraingen.ChunkProviderEvent |
---|
ChunkProviderEvent.InitNoiseField, ChunkProviderEvent.ReplaceBiomeBlocks |
Nested classes/interfaces inherited from class net.minecraftforge.event.Event |
---|
Event.HasResult, Event.Result |
Field Summary | |
---|---|
PopulateChunkEvent.Populate.EventType |
type
|
Fields inherited from class net.minecraftforge.event.terraingen.PopulateChunkEvent |
---|
chunkX, chunkZ, hasVillageGenerated, rand, world |
Fields inherited from class net.minecraftforge.event.terraingen.ChunkProviderEvent |
---|
chunkProvider |
Constructor Summary | |
---|---|
PopulateChunkEvent.Populate(IChunkProvider chunkProvider,
World world,
Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated,
PopulateChunkEvent.Populate.EventType type)
|
Method Summary |
---|
Methods inherited from class net.minecraftforge.event.Event |
---|
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final PopulateChunkEvent.Populate.EventType type
Constructor Detail |
---|
public PopulateChunkEvent.Populate(IChunkProvider chunkProvider, World world, Random rand, int chunkX, int chunkZ, boolean hasVillageGenerated, PopulateChunkEvent.Populate.EventType type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |