org.bukkit.event.entity
Class EntityPortalEnterEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityPortalEnterEvent
public class EntityPortalEnterEvent
- extends EntityEvent
Called when an entity comes into contact with a portal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityPortalEnterEvent
public EntityPortalEnterEvent(Entity entity,
Location location)
getLocation
public Location getLocation()
- Gets the portal block the entity is touching
- Returns:
- The portal block the entity is touching
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.