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