public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Event.Result
vehicle
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, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVehicle
@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.