public class PlayerSpawnEvent extends PlayerEvent
PlayerConnectEvent, this event is called when the player actually
spawns, i.e. when the loading process is completed.PlayerConnectEvent,
PlayerRespawnEvent| Constructor and Description |
|---|
PlayerSpawnEvent(Player player,
Vector3f spawnPosition,
Quaternion spawnRotation) |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
getSpawnPosition()
Gets the spawn coordinates (where the player will spawn this time).
|
Quaternion |
getSpawnRotation()
Gets the spawn rotation.
|
getPlayerpublic PlayerSpawnEvent(Player player, Vector3f spawnPosition, Quaternion spawnRotation)
public Vector3f getSpawnPosition()
public Quaternion getSpawnRotation()