程序包 org.bukkit.event.vehicle

# 类 VehicleBlockCollisionEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.vehicle.VehicleEvent
org.bukkit.event.vehicle.VehicleCollisionEvent
org.bukkit.event.vehicle.VehicleBlockCollisionEvent

public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
载具撞击方块的事件

- ## 嵌套类概要

  ## 从类继承的嵌套类/接口 org.bukkit.event.Event

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.vehicle.VehicleEvent

  `vehicle`

- ## 构造器概要

  构造器
  构造器
  说明
  `VehicleBlockCollisionEvent(@NotNull Vehicle vehicle, @NotNull Block block)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Block`
  `getBlock()`
  获取载具撞到的方块.
  `static @NotNull HandlerList`
  `getHandlerList()`
  `@NotNull HandlerList`
  `getHandlers()`

  ### 从类继承的方法 org.bukkit.event.vehicle.VehicleEvent

  `getVehicle`

  ### 从类继承的方法 org.bukkit.event.Event

  `getEventName, isAsynchronous`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### VehicleBlockCollisionEvent

    public VehicleBlockCollisionEvent(@NotNull @NotNull Vehicle vehicle, @NotNull @NotNull Block block)

- ## 方法详细资料

  - ### getBlock

    @NotNull public @NotNull Block getBlock()
    获取载具撞到的方块.

    原文:Gets the block the vehicle collided with

    返回:
      载具撞到的方块

  - ### getHandlers

    @NotNull public @NotNull HandlerList getHandlers()
    指定者:
      `getHandlers` 在类中 `Event`

  - ### getHandlerList

    @NotNull public static @NotNull HandlerList getHandlerList()