Package org.bukkit.event.vehicle
Class VehicleEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.vehicle.VehicleEvent
- Direct Known Subclasses:
VehicleCollisionEvent
,VehicleCreateEvent
,VehicleDamageEvent
,VehicleDestroyEvent
,VehicleEnterEvent
,VehicleExitEvent
,VehicleMoveEvent
,VehicleUpdateEvent
public abstract class VehicleEvent extends Event
Represents a vehicle-related event.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VehicleEvent(Vehicle vehicle)
-
Method Summary
Modifier and Type Method Description Vehicle
getVehicle()
Get the vehicle.
-
Field Details
-
Constructor Details
-
Method Details
-
getVehicle
Get the vehicle.- Returns:
- the vehicle
-