Package net.minecraftforge.event.level
Class LevelEvent.Unload
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.LevelEvent
net.minecraftforge.event.level.LevelEvent.Unload
- Enclosing class:
- LevelEvent
This event is fired whenever a level unloads.
This event is fired whenever a level unloads in
Minecraft.setLevel(ClientLevel)
,
MinecraftServer.stopServer()
,
Minecraft#clearLevel(Screen)
, and
ForgeInternalHandler.onDimensionUnload(Unload)
.
This event is not cancellable and does not have a result.
This event is fired on the main Forge event bus on both logical sides.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.event.level.LevelEvent
LevelEvent.CreateSpawnPosition, LevelEvent.Load, LevelEvent.PotentialSpawns, LevelEvent.Save, LevelEvent.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.level.LevelEvent
getLevel
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Unload
-