| Package | Description |
|---|---|
| com.nukkitx.api.event.player |
| Modifier and Type | Method and Description |
|---|---|
PlayerTeleportEvent.TeleportCause |
PlayerTeleportEvent.getCause() |
static PlayerTeleportEvent.TeleportCause |
PlayerTeleportEvent.TeleportCause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerTeleportEvent.TeleportCause[] |
PlayerTeleportEvent.TeleportCause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlayerTeleportEvent.setCause(PlayerTeleportEvent.TeleportCause cause) |
| Constructor and Description |
|---|
PlayerTeleportEvent(Player player,
Location from,
Location to,
PlayerTeleportEvent.TeleportCause cause) |
Copyright © 2017–2020 NukkitX. All rights reserved.