Uses of Enum Class
com.palmergames.bukkit.towny.event.teleport.CancelledTownyTeleportEvent.CancelledTeleportReason
Package
Description
-
Uses of CancelledTownyTeleportEvent.CancelledTeleportReason in com.palmergames.bukkit.towny
Modifier and TypeMethodDescriptionvoid
TownyAPI.abortTeleportRequest
(Resident resident, CancelledTownyTeleportEvent.CancelledTeleportReason reason) -
Uses of CancelledTownyTeleportEvent.CancelledTeleportReason in com.palmergames.bukkit.towny.event.teleport
Modifier and TypeMethodDescriptionCancelledTownyTeleportEvent.getReason()
Returns the enum constant of this class with the specified name.CancelledTownyTeleportEvent.CancelledTeleportReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionCancelledTownyTeleportEvent
(Resident resident, org.bukkit.Location location, double teleportCost, CancelledTownyTeleportEvent.CancelledTeleportReason reason) -
Uses of CancelledTownyTeleportEvent.CancelledTeleportReason in com.palmergames.bukkit.towny.tasks
Modifier and TypeMethodDescriptionstatic boolean
TeleportWarmupTimerTask.abortTeleportRequest
(@Nullable Resident resident, CancelledTownyTeleportEvent.CancelledTeleportReason reason) Aborts the current active teleport request for the given resident.