Package org.bukkit.event.vehicle
Class VehicleMoveEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.vehicle.VehicleEvent
org.bukkit.event.vehicle.VehicleMoveEvent
Raised when a vehicle moves.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.vehicle.VehicleEvent
vehicle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
Get the previous position.static HandlerList
getTo()
Get the next position.Methods inherited from class org.bukkit.event.vehicle.VehicleEvent
getVehicle
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
VehicleMoveEvent
-
-
Method Details
-
getFrom
Get the previous position.- Returns:
- Old position.
-
getTo
Get the next position.- Returns:
- New position.
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-