类 EntityPortalEvent

所有已实现的接口:
Cancellable

public class EntityPortalEvent extends EntityTeleportEvent
当一个非玩家的实体被传送门传送时触发本事件

对于玩家请看 PlayerPortalEvent 原文: Called when a non-player entity is about to teleport because it is in contact with a portal.

For players see PlayerPortalEvent