Class VehicleBlockCollisionEvent


public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Raised when a vehicle collides with a block.
  • Constructor Details Link icon

    • VehicleBlockCollisionEvent Link icon

      public VehicleBlockCollisionEvent(@NotNull Vehicle vehicle, @NotNull Block block)
  • Method Details Link icon

    • getBlock Link icon

      @NotNull public Block getBlock()
      Gets the block the vehicle collided with
      Returns:
      the block the vehicle collided with
    • getHandlers Link icon

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList Link icon

      @NotNull public static HandlerList getHandlerList()