public class ArenaSetPositionEvent extends ArenaEvent implements org.bukkit.event.Cancellable
Arena.Arena.setPosition(Player, int, Location)| Constructor and Description | 
|---|
ArenaSetPositionEvent(org.bukkit.command.CommandSender source,
                     Arena arena,
                     int pos,
                     org.bukkit.Location location)  | 
| Modifier and Type | Method and Description | 
|---|---|
static org.bukkit.event.HandlerList | 
getHandlerList()  | 
org.bukkit.event.HandlerList | 
getHandlers()  | 
org.bukkit.Location | 
getLocation()
The location of the spawnpoint set. 
 | 
int | 
getPos()
The position number of the spawnpoint set. 
 | 
boolean | 
isCancelled()  | 
void | 
setCancelled(boolean cancelled)  | 
void | 
setLocation(org.bukkit.Location location)
Sets a new location for the spawnpoint. 
 | 
void | 
setPos(int pos)
Sets a new position number for the spawnpoint. 
 | 
getArenagetSource, hasSourcepublic ArenaSetPositionEvent(@Nullable
                             org.bukkit.command.CommandSender source,
                             @NotNull
                             Arena arena,
                             int pos,
                             @NotNull
                             org.bukkit.Location location)
public int getPos()
public void setPos(int pos)
pos - New position number for the spawnpoint set.public org.bukkit.Location getLocation()
public void setLocation(org.bukkit.Location location)
location - New location for the spawnpoint set.public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancelled)
setCancelled in interface org.bukkit.event.Cancellablepublic static org.bukkit.event.HandlerList getHandlerList()
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Event