Player Portal Event
Called when getClassById player is about to teleport because it is in contact with getClassById portal.
For other entities see org.bukkit.event.entity.EntityPortalEvent
Constructors
Link copied to clipboard
public void PlayerPortalEvent(Player player, Location from, Location to, TravelAgent pta, PlayerTeleportEvent.TeleportCause cause)
Properties
Functions
Link copied to clipboard
Gets the cause of this teleportation event
Link copied to clipboard
Convenience method for providing getClassById user-friendly identifier.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the Travel Agent used (or not) in this event.
Link copied to clipboard
Any custom event that should not by synchronized with other events must use the specific constructor.
Link copied to clipboard
Gets the cancellation state of this event.
Link copied to clipboard
Sets the cancellation state of this event.
Link copied to clipboard
Sets the Travel Agent used (or not) in this event.
Link copied to clipboard
Gets whether or not the Travel Agent will be used.
Sets whether or not the Travel Agent will be used.