public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Event.Resultvehicle| 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, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVehicle@NotNull public Block getBlock()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.