Verwendungen von Enum-Klasse
net.risingworld.api.utils.SpawnPointType
Package
Beschreibung
-
Verwendungen von SpawnPointType in net.risingworld.api.events.player
Modifizierer und TypMethodeBeschreibungPlayerRespawnEvent.getSpawnType()
Gets the type of the spawn point where the player wants to respawn.PlayerSetSpawnPointEvent.getSpawnType()
Gets the type of the spawn point the player changes/updates. -
Verwendungen von SpawnPointType in net.risingworld.api.objects
Modifizierer und TypMethodeBeschreibungPlayer.getSpawnName
(SpawnPointType spawnPoint) Gets the optional spawn name for a spawn point of this player.Player.getSpawnPosition
(SpawnPointType spawnPoint) Gets the spawn position for this player (i.e where the player would respawn upon death).Player.getSpawnRotation
(SpawnPointType spawnPoint) Gets the spawn rotation for this player (i.e where the player would respawn upon death).boolean
Player.respawn
(SpawnPointType spawnPoint) Respawns the player at a specific spawn point (0 for default server spawn, 1 for primary spawn point, 2 for secondary spawn point, 3 for tertiary spawn point.void
Player.setSpawnPoint
(SpawnPointType spawnPoint, Vector3f position, Quaternion rotation, String name) void
Player.setSpawnPoint
(SpawnPointType spawnPoint, Vector3f position, Quaternion rotation, String name, long relatedObjectID, int chunkPosX, int chunkPosY, int chunkPosZ) -
Verwendungen von SpawnPointType in net.risingworld.api.utils
Modifizierer und TypMethodeBeschreibungstatic SpawnPointType
SpawnPointType.get
(int ordinal) static SpawnPointType
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static SpawnPointType[]
SpawnPointType.values()
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.