Class ChunkLoadEvent


public class ChunkLoadEvent extends ChunkEvent
Called when a chunk is loaded
Since:
1.0.0
  • 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
      Since:
      1.0.0
    • getHandlers

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

      @NotNull public static @NotNull HandlerList getHandlerList()
      Since:
      1.1.0