Class EntityPortalEnterEvent


  • public class EntityPortalEnterEvent
    extends EntityEvent
    Called when an entity comes into contact with a portal
    • Constructor Detail

      • EntityPortalEnterEvent

        public EntityPortalEnterEvent​(Entity entity,
                                      Location location)
    • Method Detail

      • getLocation

        public Location getLocation()
        Gets the portal block the entity is touching
        Returns:
        The portal block the entity is touching
      • getHandlerList

        public static HandlerList getHandlerList()