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
Modifier and Type | Field and Description |
---|---|
private PopulateChunkEvent.Populate.EventType |
type |
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
private final PopulateChunkEvent.Populate.EventType type
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()