Class ChunkLoadEvent


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

  • Method Details

    • isNewChunk

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

      Note: Do not use this to generated blocks in a newly generated chunk. Use a BlockPopulator instead.

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

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

      @NotNull public static @NotNull HandlerList getHandlerList()