Class ChunkEvent

java.lang.Object
Direct Known Subclasses:
ChunkLoadEvent, ChunkPopulateEvent, ChunkUnloadEvent

public abstract class ChunkEvent
extends WorldEvent
Represents a Chunk related event
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    Event.Result
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected Chunk chunk  
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected ChunkEvent​(Chunk chunk)  
  • Method Summary

    Modifier and Type Method Description
    Chunk getChunk()
    Gets the chunk being loaded/unloaded

    Methods inherited from class org.bukkit.event.world.WorldEvent

    getWorld

    Methods inherited from class org.bukkit.event.Event

    getEventName, getHandlers, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getChunk

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