Class ChunkEvent.Load

  • Enclosing class:
    ChunkEvent

    public static class ChunkEvent.Load
    extends ChunkEvent
    ChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the world.
    This event is fired during chunk loading in
    ChunkProviderClient#loadChunk(int, int),
    Chunk.onChunkLoad().
    Note: This event may be called before the underlying Chunk is promoted to ChunkStatus.FULL. You will cause chunk loading deadlocks if you don't delay your world interactions.

    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
      Load​(IChunk chunk)  
    • 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

      • Load

        public Load​(IChunk chunk)