public class PlayerRespawnEvent extends PlayerEvent
Event.Result
player
コンストラクタと説明 |
---|
PlayerRespawnEvent(Player respawnPlayer,
Location respawnLocation,
boolean isBedSpawn) |
修飾子とタイプ | メソッドと説明 |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Location |
getRespawnLocation()
Gets the current respawn location
|
boolean |
isBedSpawn()
Gets whether the respawn location is the player's bed.
|
void |
setRespawnLocation(Location respawnLocation)
Sets the new respawn location
|
getPlayer
getEventName, isAsynchronous
public Location getRespawnLocation()
public void setRespawnLocation(Location respawnLocation)
respawnLocation
- new location for the respawnpublic boolean isBedSpawn()
public HandlerList getHandlers()
getHandlers
クラス内 Event
public static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.