Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.vehicle.VehicleEntityCollisionEvent Class Reference
Inheritance diagram for org.bukkit.event.vehicle.VehicleEntityCollisionEvent:
org.bukkit.event.vehicle.VehicleCollisionEvent org.bukkit.event.Cancellable org.bukkit.event.vehicle.VehicleEvent org.bukkit.event.Event

Public Member Functions

 VehicleEntityCollisionEvent (final Vehicle vehicle, final Entity entity)
 
Entity getEntity ()
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
boolean isPickupCancelled ()
 
void setPickupCancelled (boolean cancel)
 
boolean isCollisionCancelled ()
 
void setCollisionCancelled (boolean cancel)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.vehicle.VehicleCollisionEvent
 VehicleCollisionEvent (final Vehicle vehicle)
 
- Public Member Functions inherited from org.bukkit.event.vehicle.VehicleEvent
 VehicleEvent (final Vehicle vehicle)
 
final Vehicle getVehicle ()
 
- 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.vehicle.VehicleEvent
Vehicle vehicle
 

Detailed Description

Raised when a vehicle collides with an entity.

Definition at line 11 of file VehicleEntityCollisionEvent.java.

Member Function Documentation

boolean org.bukkit.event.vehicle.VehicleEntityCollisionEvent.isCancelled ( )

Gets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins

Returns
true if this event is cancelled

Implements org.bukkit.event.Cancellable.

Definition at line 27 of file VehicleEntityCollisionEvent.java.

27  {
28  return cancelled;
29  }
void org.bukkit.event.vehicle.VehicleEntityCollisionEvent.setCancelled ( boolean  cancel)

Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.

Parameters
canceltrue if you wish to cancel this event

Implements org.bukkit.event.Cancellable.

Definition at line 31 of file VehicleEntityCollisionEvent.java.

31  {
32  this.cancelled = cancel;
33  }

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