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

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    Event.Result
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected Vehicle vehicle  
  • Constructor Summary

    Constructors 
    Constructor Description
    VehicleEvent​(Vehicle vehicle)  
  • Method Summary

    Modifier and Type Method Description
    Vehicle getVehicle()
    Get the vehicle.

    Methods inherited from class org.bukkit.event.Event

    getEventName, getHandlers, isAsynchronous

    Methods inherited from class java.lang.Object

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