public class PlayerRespawnEvent extends Object implements PlayerEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerRespawnEvent.Cause |
| Constructor and Description |
|---|
PlayerRespawnEvent(Player player,
Location respawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
Player |
getPlayer()
Get the player in question.
|
Location |
getRespawnLocation() |
void |
setRespawnLocation(Location respawnLocation) |
public Location getRespawnLocation()
public void setRespawnLocation(Location respawnLocation)
public Player getPlayer()
PlayerEventgetPlayer in interface PlayerEventCopyright © 2017–2020 NukkitX. All rights reserved.