Class ChunkEvent

Direct Known Subclasses:
ChunkLoadEvent, ChunkPopulateEvent, ChunkUnloadEvent

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

    • chunk

      protected Chunk chunk
  • Constructor Details

  • Method Details

    • getChunk

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