VehicleBlockCollisionEvent
VehicleBlockCollisionEvent
=> org.bukkit.event.Event
=> org.bukkit.event.vehicle.VehicleEvent
=> org.bukkit.event.vehicle.VehicleCollisionEvent
=> org.bukkit.event.vehicle.VehicleBlockCollisionEvent
Raised when a vehicle collides with a block.当载具与方块相撞时触发。
方法声明: public Block getBlock()
方法签名: ()Lorg/bukkit/block/Block;
Gets the block the vehicle collided with@return the block the vehicle collided with该方法用于获取涉事载具撞上的方块。@return 涉事载具撞上的方块。
方法声明: public HandlerList getHandlers()
方法签名: ()Lorg/bukkit/event/HandlerList;
方法声明: public static HandlerList getHandlerList()
方法签名: ()Lorg/bukkit/event/HandlerList;
Last modified 1mo ago