public class PlayerInitialSpawnEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description |
|---|---|
PlayerInitialSpawnEvent(Player player,
Location spawnLocation) |
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
Location |
getSpawnLocation() |
Gets the current spawn location
|
void |
setSpawnLocation(Location spawnLocation) |
Sets the new spawn location
|
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayer@NotNull public Location getSpawnLocation()
public void setSpawnLocation(@NotNull
Location spawnLocation)
spawnLocation - new location for the spawn@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.