public class WorldTypeEvent extends Event
Event
as its parameter, the method will
receive every child event of this class.worldType
contains the WorldType of the world this event is occurring in.MinecraftForge#TERRAIN_GEN_BUS
.Modifier and Type | Class and Description |
---|---|
static class |
WorldTypeEvent.BiomeSize
BiomeSize is fired when vanilla Minecraft attempts to generate biomes.
This event is fired during biome generation in GenLayer#initializeAllBiomeGenerators(long, WorldType). |
static class |
WorldTypeEvent.InitBiomeGens
InitBiomeGens is fired when vanilla Minecraft attempts to initialize the biome generators.
This event is fired just during biome generator initialization in WorldChunkManager#WorldChunkManager(long, WorldType). |
Event.HasResult, Event.Result
Constructor and Description |
---|
WorldTypeEvent(WorldType worldType) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup