public class PlayerRespawnEvent extends PlayerEvent
| Constructor and Description |
|---|
PlayerRespawnEvent(Player player,
Location location) |
PlayerRespawnEvent(Player player,
Location location,
boolean firstSpawn) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlers() |
Location |
getRespawnLocation() |
boolean |
isFirstSpawn() |
void |
setRespawnLocation(Location location) |
getPlayergetEventName, isCancelled, setCancelled, setCancelledpublic static HandlerList getHandlers()
public Location getRespawnLocation()
public void setRespawnLocation(Location location)
public boolean isFirstSpawn()
Copyright © 2020. All rights reserved.