Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.entity.EntityPortalEnterEvent Class Reference
Inheritance diagram for org.bukkit.event.entity.EntityPortalEnterEvent:
org.bukkit.event.entity.EntityEvent org.bukkit.event.Event

Public Member Functions

 EntityPortalEnterEvent (final Entity entity, final Location location)
 
Location getLocation ()
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.entity.EntityEvent
 EntityEvent (final Entity what)
 
Entity getEntity ()
 
EntityType getEntityType ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Static Public Member Functions

static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.entity.EntityEvent
Entity entity
 

Detailed Description

Called when an entity comes into contact with a portal

Definition at line 10 of file EntityPortalEnterEvent.java.

Member Function Documentation

Location org.bukkit.event.entity.EntityPortalEnterEvent.getLocation ( )

Gets the portal block the entity is touching

Returns
The portal block the entity is touching

Definition at line 24 of file EntityPortalEnterEvent.java.

24  {
25  return location;
26  }

The documentation for this class was generated from the following file: