Uses of Enum Class
net.risingworld.api.utils.SpawnPointType
Package
Description
-
Uses of SpawnPointType in net.risingworld.api.events.player
Modifier and TypeMethodDescriptionPlayerRespawnEvent.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. -
Uses of SpawnPointType in net.risingworld.api.objects
Modifier and TypeMethodDescriptionPlayer.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) -
Uses of SpawnPointType in net.risingworld.api.utils
Modifier and TypeMethodDescriptionstatic SpawnPointType
SpawnPointType.get
(int ordinal) static SpawnPointType
Returns the enum constant of this class with the specified name.static SpawnPointType[]
SpawnPointType.values()
Returns an array containing the constants of this enum class, in the order they are declared.