public final class TARDISDestructionEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
TARDISDestructionEvent(org.bukkit.entity.Player player,
org.bukkit.Location location,
java.lang.String owner)
A TARDIS extermination event.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.Location |
getLocation()
Returns the exterior location of the TARDIS being destroyed.
|
java.lang.String |
getOwner()
Returns the Time Lord of the TARDIS being destroyed.
|
org.bukkit.entity.Player |
getPlayer() |
public TARDISDestructionEvent(org.bukkit.entity.Player player, org.bukkit.Location location, java.lang.String owner)
player
- the player who is destroying the TARDIS - may be null if it is initiated by the console.location
- the location of the TARDIS exterior presetowner
- the Time Lord of the TARDISpublic org.bukkit.entity.Player getPlayer()
public org.bukkit.Location getLocation()
public java.lang.String getOwner()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()