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

Public Member Functions

 SpawnChangeEvent (final World world, final Location previousLocation)
 
Location getPreviousLocation ()
 
HandlerList getHandlers ()
 
- 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 ()
 

Detailed Description

An event that is called when a world's spawn changes. The world's previous spawn location is included.

Definition at line 11 of file SpawnChangeEvent.java.

Member Function Documentation

Location org.bukkit.event.world.SpawnChangeEvent.getPreviousLocation ( )

Gets the previous spawn location

Returns
Location that used to be spawn

Definition at line 25 of file SpawnChangeEvent.java.

25  {
26  return previousLocation;
27  }

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