| Package | Description |
|---|---|
| net.risingworld.api.events.player |
| Modifier and Type | Method and Description |
|---|---|
PlayerTeleportEvent.Cause |
PlayerTeleportEvent.getCause()
Gets the "cause", i.e. the reason why this player was teleported.
|
static PlayerTeleportEvent.Cause |
PlayerTeleportEvent.Cause.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlayerTeleportEvent.Cause[] |
PlayerTeleportEvent.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
PlayerTeleportEvent(Player player,
Vector3f targetPosition,
PlayerTeleportEvent.Cause cause) |