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
Raised when a vehicle collides with a block.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.vehicle.VehicleEvent
vehicle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlock()
Gets the block the vehicle collided withstatic @NotNull HandlerList
Methods inherited from class org.bukkit.event.vehicle.VehicleEvent
getVehicle
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
VehicleBlockCollisionEvent
-
-
Method Details
-
getBlock
Gets the block the vehicle collided with- Returns:
- the block the vehicle collided with
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-