Class LevelEvent.Unload
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.LevelEvent
net.neoforged.neoforge.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).
 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.neoforged.neoforge.event.level.LevelEvent
LevelEvent.CreateSpawnPosition, LevelEvent.Load, LevelEvent.PotentialSpawns, LevelEvent.Save, LevelEvent.UnloadNested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.neoforged.neoforge.event.level.LevelEvent
getLevelMethods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult 
- 
Constructor Details
- 
Unload
 
 -