Class ChunkLoadEvent


public class ChunkLoadEvent extends ChunkEvent
Called when a chunk is loaded
  • Constructor Details

    • ChunkLoadEvent

      public ChunkLoadEvent(@NotNull Chunk chunk, boolean newChunk)
  • Method Details

    • isNewChunk

      public boolean isNewChunk()
      Gets if this chunk was newly created or not.

      Note that if this chunk is new, it will not be populated at this time.

      Returns:
      true if the chunk is new, otherwise false
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()