Class PlayerPortalEvent

All Implemented Interfaces:
Cancellable

public class PlayerPortalEvent extends PlayerTeleportEvent
Called when a player is about to teleport because it is in contact with a portal which will generate an exit portal.

For other entities see EntityPortalEvent