Class ChunkEvent

Direct Known Subclasses:
ChunkLoadEvent, ChunkPopulateEvent, ChunkUnloadEvent, PlayerChunkLoadEvent, PlayerChunkUnloadEvent

public abstract class ChunkEvent extends WorldEvent
Represents a Chunk related event
  • Field Details

    • chunk

      protected Chunk chunk
  • Constructor Details

  • Method Details

    • getChunk

      @NotNull public @NotNull Chunk getChunk()
      Gets the chunk being loaded/unloaded
      Returns:
      Chunk that triggered this event