Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.world.ChunkUnloadEvent Class Reference
Inheritance diagram for org.bukkit.event.world.ChunkUnloadEvent:
org.bukkit.event.world.ChunkEvent org.bukkit.event.Cancellable org.bukkit.event.world.WorldEvent org.bukkit.event.Event

Public Member Functions

 ChunkUnloadEvent (final Chunk chunk)
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.world.ChunkEvent
Chunk getChunk ()
 
- Public Member Functions inherited from org.bukkit.event.world.WorldEvent
 WorldEvent (final World world)
 
World getWorld ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Static Public Member Functions

static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.bukkit.event.world.ChunkEvent
 ChunkEvent (final Chunk chunk)
 
- Protected Attributes inherited from org.bukkit.event.world.ChunkEvent
Chunk chunk
 

Detailed Description

Called when a chunk is unloaded

Definition at line 10 of file ChunkUnloadEvent.java.

Member Function Documentation

boolean org.bukkit.event.world.ChunkUnloadEvent.isCancelled ( )

Gets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins

Returns
true if this event is cancelled

Implements org.bukkit.event.Cancellable.

Definition at line 18 of file ChunkUnloadEvent.java.

18  {
19  return cancel;
20  }
void org.bukkit.event.world.ChunkUnloadEvent.setCancelled ( boolean  cancel)

Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.

Parameters
canceltrue if you wish to cancel this event

Implements org.bukkit.event.Cancellable.

Definition at line 22 of file ChunkUnloadEvent.java.

22  {
23  this.cancel = cancel;
24  }

The documentation for this class was generated from the following file: