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, ChunkProviderSettings) . |
static class |
WorldTypeEvent.InitBiomeGens
InitBiomeGens is fired when vanilla Minecraft attempts to initialize the biome providers.
This event is fired just during biome provider initialization in BiomeProvider.BiomeProvider(long, WorldType, String) . |
Event.HasResult, Event.Result
Constructor and Description |
---|
WorldTypeEvent(WorldType worldType) |
Modifier and Type | Method and Description |
---|---|
WorldType |
getWorldType() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup