Package org.bukkit.event.vehicle
Class VehicleBlockCollisionEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.vehicle.VehicleEvent
org.bukkit.event.vehicle.VehicleCollisionEvent
org.bukkit.event.vehicle.VehicleBlockCollisionEvent
public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Raised when a vehicle collides with a block.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VehicleBlockCollisionEvent(Vehicle vehicle, Block block)
-
Method Summary
Modifier and Type Method Description Block
getBlock()
Gets the block the vehicle collided withstatic HandlerList
getHandlerList()
HandlerList
getHandlers()
-
Constructor Details
-
Method Details
-
getBlock
Gets the block the vehicle collided with- Returns:
- the block the vehicle collided with
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-