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