org.bukkit.event.world
Class ChunkEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.world.WorldEvent
          extended by org.bukkit.event.world.ChunkEvent
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
protected  Chunk chunk
           
 
Constructor Summary
protected ChunkEvent(Chunk chunk)
           
 
Method Summary
 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 Detail

chunk

protected Chunk chunk
Constructor Detail

ChunkEvent

protected ChunkEvent(Chunk chunk)
Method Detail

getChunk

public Chunk getChunk()
Gets the chunk being loaded/unloaded

Returns:
Chunk that triggered this event


Copyright © 2013. All Rights Reserved.