public class PlayerInitialSpawnEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description | 
|---|
PlayerInitialSpawnEvent(Player player,
                       Location spawnLocation)  | 
| Modifier and Type | Method and Description | 
|---|---|
static HandlerList | 
getHandlerList()  | 
HandlerList | 
getHandlers()  | 
Location | 
getSpawnLocation()
Gets the current spawn location 
 | 
void | 
setSpawnLocation(Location spawnLocation)
Sets the new spawn location 
 | 
getPlayergetEventName, isAsynchronouspublic Location getSpawnLocation()
public void setSpawnLocation(Location spawnLocation)
spawnLocation - new location for the spawnpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.