Class 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#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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Unload​(IWorld world)  
    • Method Summary

      • Methods inherited from class net.minecraftforge.eventbus.api.Event

        getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Unload

        public Unload​(IWorld world)