| Package | Description |
|---|---|
| org.cloudburstmc.api.entity | |
| org.cloudburstmc.api.event.player |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Entity.teleport(Location location,
PlayerTeleportEvent.TeleportCause cause) |
boolean |
Entity.teleport(com.nukkitx.math.vector.Vector3f pos,
PlayerTeleportEvent.TeleportCause cause) |
| 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.
|
| Constructor and Description |
|---|
PlayerTeleportEvent(Player player,
Location from,
Location to,
PlayerTeleportEvent.TeleportCause cause) |
Copyright © 2021. All rights reserved.