| Package | Description |
|---|---|
| org.cloudburstmc.server.entity | |
| org.cloudburstmc.server.entity.impl | |
| org.cloudburstmc.server.event.player | |
| org.cloudburstmc.server.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 |
|---|---|
boolean |
BaseEntity.teleport(Location location,
PlayerTeleportEvent.TeleportCause cause) |
boolean |
BaseEntity.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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Player.teleport(Location location,
PlayerTeleportEvent.TeleportCause cause) |
void |
Player.teleportImmediate(Location location,
PlayerTeleportEvent.TeleportCause cause) |
Copyright © 2020. All rights reserved.