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

public static class WorldEvent.Unload extends WorldEvent
WorldEvent.Unload is fired when Minecraft unloads a world.
This event is fired when a world is unloaded in Minecraft.setLevel(ClientLevel), MinecraftServer.stopServer(),, Minecraft.clearLevel(Screen) 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.
  • Constructor Details