org.bukkit.event.world
Class ChunkLoadEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.world.WorldEvent
          extended by org.bukkit.event.world.ChunkEvent
              extended by org.bukkit.event.world.ChunkLoadEvent

public class ChunkLoadEvent
extends ChunkEvent

Called when a chunk is loaded


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
 
Fields inherited from class org.bukkit.event.world.ChunkEvent
chunk
 
Constructor Summary
ChunkLoadEvent(Chunk chunk, boolean newChunk)
           
 
Method Summary
static HandlerList getHandlerList()
           
 HandlerList getHandlers()
           
 boolean isNewChunk()
          Gets if this chunk was newly created or not.
 
Methods inherited from class org.bukkit.event.world.ChunkEvent
getChunk
 
Methods inherited from class org.bukkit.event.world.WorldEvent
getWorld
 
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkLoadEvent

public ChunkLoadEvent(Chunk chunk,
                      boolean newChunk)
Method Detail

isNewChunk

public boolean isNewChunk()
Gets if this chunk was newly created or not. Note that if this chunk is new, it will not be populated at this time.

Returns:
true if the chunk is new, otherwise false

getHandlers

public HandlerList getHandlers()
Specified by:
getHandlers in class Event

getHandlerList

public static HandlerList getHandlerList()


Copyright © 2013. All Rights Reserved.