public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Event.Result
vehicle
Constructor | Description |
---|---|
VehicleBlockCollisionEvent(Vehicle vehicle,
Block block) |
Modifier and Type | Method | Description |
---|---|---|
Block |
getBlock() |
Gets the block the vehicle collided with
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVehicle
@NotNull public Block getBlock()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.