public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Event.Resultvehicle| 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() |
getVehiclegetEventName, isAsynchronous@NotNull public Block getBlock()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.