public class ParkourPlayerTeleportEvent extends ParkourPlayerEvent
Modifier and Type | Class and Description |
---|---|
static class |
ParkourPlayerTeleportEvent.TeleportReason
The reason of teleport
|
Constructor and Description |
---|
ParkourPlayerTeleportEvent(IParkour parkour,
IHubParkourPlayer player,
PressurePlate pressurePlate,
ParkourPlayerTeleportEvent.TeleportReason teleportReason) |
Modifier and Type | Method and Description |
---|---|
PressurePlate |
getPressurePlate()
Get the pressure plate that the user teleported to.
|
ParkourPlayerTeleportEvent.TeleportReason |
getTeleportReason()
Get reason of player teleport
|
getPlayer, isCancelled, setCancelled
getHandlerList, getHandlers, getParkour
public ParkourPlayerTeleportEvent(IParkour parkour, IHubParkourPlayer player, PressurePlate pressurePlate, ParkourPlayerTeleportEvent.TeleportReason teleportReason)
public PressurePlate getPressurePlate()
public ParkourPlayerTeleportEvent.TeleportReason getTeleportReason()
Copyright © 2025. All rights reserved.