Package org.bukkit.event.entity
Class EntityPortalEnterEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityPortalEnterEvent
Called when an entity comes into contact with a portal
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
Gets the portal block the entity is touchingMethods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
EntityPortalEnterEvent
-
-
Method Details
-
getLocation
Gets the portal block the entity is touching- Returns:
- The portal block the entity is touching
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-