![]() |
Bukkit
1.5.2-R1.0
|
Called when an entity interacts with an object. More...
Inheritance diagram for org.bukkit.event.entity.EntityInteractEvent:
Collaboration diagram for org.bukkit.event.entity.EntityInteractEvent:Public Member Functions | |
| EntityInteractEvent (final Entity entity, final Block block) | |
| boolean | isCancelled () |
| void | setCancelled (boolean cancel) |
| Block | getBlock () |
| Returns the involved block. | |
| HandlerList | getHandlers () |
Public Member Functions inherited from org.bukkit.event.entity.EntityEvent | |
| EntityEvent (final Entity what) | |
| Entity | getEntity () |
| Returns the Entity involved in this event. | |
| EntityType | getEntityType () |
| Gets the EntityType of the Entity involved in this event. | |
Public Member Functions inherited from org.bukkit.event.Event | |
| Event () | |
| The default constructor is defined for cleaner code. | |
| Event (boolean isAsync) | |
| This constructor is used to explicitly declare an event as synchronous or asynchronous. | |
| String | getEventName () |
| Convenience method for providing a user-friendly identifier. | |
| final boolean | isAsynchronous () |
| Any custom event that should not by synchronized with other events must use the specific constructor. | |
Public Member Functions inherited from org.bukkit.event.Cancellable | |
| boolean | isCancelled () |
| Gets the cancellation state of this event. | |
| void | setCancelled (boolean cancel) |
| Sets the cancellation state of this event. | |
Static Public Member Functions | |
| static HandlerList | getHandlerList () |
Protected Attributes | |
| Block | block |
Protected Attributes inherited from org.bukkit.event.entity.EntityEvent | |
| Entity | entity |
Called when an entity interacts with an object.
Definition at line 11 of file EntityInteractEvent.java.
| org.bukkit.event.entity.EntityInteractEvent.EntityInteractEvent | ( | final Entity | entity, |
| final Block | block | ||
| ) |
Definition at line 16 of file EntityInteractEvent.java.
References org.bukkit.event.entity.EntityInteractEvent.block.
| Block org.bukkit.event.entity.EntityInteractEvent.getBlock | ( | ) |
Returns the involved block.
Definition at line 34 of file EntityInteractEvent.java.
References org.bukkit.event.entity.EntityInteractEvent.block.
|
static |
Definition at line 43 of file EntityInteractEvent.java.
|
virtual |
Implements org.bukkit.event.Event.
Definition at line 39 of file EntityInteractEvent.java.
| boolean org.bukkit.event.entity.EntityInteractEvent.isCancelled | ( | ) |
Definition at line 21 of file EntityInteractEvent.java.
| void org.bukkit.event.entity.EntityInteractEvent.setCancelled | ( | boolean | cancel | ) |
Definition at line 25 of file EntityInteractEvent.java.
|
protected |
Definition at line 13 of file EntityInteractEvent.java.
Referenced by org.bukkit.event.entity.EntityInteractEvent.EntityInteractEvent(), and org.bukkit.event.entity.EntityInteractEvent.getBlock().