public static class PopulateChunkEvent.Populate extends PopulateChunkEvent
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.Pre
ChunkProviderEvent.InitNoiseField, ChunkProviderEvent.ReplaceBiomeBlocks
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
PopulateChunkEvent.Populate.EventType |
type |
chunkX, chunkZ, hasVillageGenerated, rand, world
chunkProvider
Constructor and Description |
---|
Populate(IChunkProvider chunkProvider,
World world,
java.util.Random rand,
int chunkX,
int chunkZ,
boolean hasVillageGenerated,
PopulateChunkEvent.Populate.EventType type) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public final PopulateChunkEvent.Populate.EventType type
public Populate(IChunkProvider chunkProvider, World world, java.util.Random rand, int chunkX, int chunkZ, boolean hasVillageGenerated, PopulateChunkEvent.Populate.EventType type)