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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VehicleBlockCollisionEvent
public VehicleBlockCollisionEvent(Vehicle vehicle,
Block block)
getBlock
public Block getBlock()
- Gets the block the vehicle collided with
- Returns:
- the block the vehicle collided with
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.