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
.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
ChunkGeneratorEvent.InitNoiseField, ChunkGeneratorEvent.ReplaceBiomeBlocks
Event.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, isHasVillageGenerated
getGen, getGenerator
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public Populate(IChunkGenerator gen, World world, java.util.Random rand, int chunkX, int chunkZ, boolean hasVillageGenerated, PopulateChunkEvent.Populate.EventType type)
public PopulateChunkEvent.Populate.EventType getType()