public class VehicleBlockCollisionEvent extends VehicleCollisionEvent
Event.Resultvehicle| 构造器和说明 |
|---|
VehicleBlockCollisionEvent(Vehicle vehicle,
Block block) |
| 限定符和类型 | 方法和说明 |
|---|---|
Block |
getBlock()
获取载具撞到的方块.
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getVehiclegetEventName, isAsynchronouspublic Block getBlock()
原文:Gets the block the vehicle collided with
public HandlerList getHandlers()
getHandlers 在类中 Eventpublic static HandlerList getHandlerList()