Package net.minecraftforge.event.world
Class WorldEvent.Unload
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.world.WorldEvent
net.minecraftforge.event.world.WorldEvent.Unload
- Enclosing class:
- WorldEvent
WorldEvent.Unload is fired when Minecraft unloads a world.
This event is fired when a world is unloaded in
This event is not
This event does not have a result.
This event is fired on the
This event is fired when a world is unloaded in
Minecraft#loadWorld(WorldClient, String)
,
MinecraftServer.stopServer()
,
DimensionManager#unloadWorlds()
,
ForgeInternalHandler#onDimensionUnload(Unload)
. This event is not
Cancelable
.This event does not have a result.
Event.HasResult
This event is fired on the
MinecraftForge#EVENT_BUS
.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.event.world.WorldEvent
WorldEvent.CreateSpawnPosition, WorldEvent.Load, WorldEvent.PotentialSpawns, WorldEvent.Save, WorldEvent.Unload
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.event.world.WorldEvent
getWorld
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
Unload
-