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

Public Member Functions

 VehicleBlockCollisionEvent (final Vehicle vehicle, final Block block)
 
Block getBlock ()
 
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 a block.

Definition at line 10 of file VehicleBlockCollisionEvent.java.

Member Function Documentation

Block org.bukkit.event.vehicle.VehicleBlockCollisionEvent.getBlock ( )

Gets the block the vehicle collided with

Returns
the block the vehicle collided with

Definition at line 24 of file VehicleBlockCollisionEvent.java.

24  {
25  return block;
26  }

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