Class EntityPortalEvent

All Implemented Interfaces:
Cancellable

public class EntityPortalEvent
extends EntityTeleportEvent
Called when a non-player entity is about to teleport because it is in contact with a portal.

For players see PlayerPortalEvent