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