Class WorldEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.world.WorldEvent
Direct Known Subclasses:
ChunkEvent, SaplingGrowTreeEvent, SleepFinishedTimeEvent, WorldEvent.CreateSpawnPosition, WorldEvent.Load, WorldEvent.Save, WorldEvent.Unload

public class WorldEvent extends net.minecraftforge.eventbus.api.Event
WorldEvent is fired when an event involving the world occurs.
If a method utilizes this Event as its parameter, the method will receive every child event of this class.

world contains the World this event is occurring in.

All children of this event are fired on the MinecraftForge.EVENT_BUS.