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