@@ -533,6 +533,13 @@ public abstract class Event {
|
||||
*/
|
||||
VEHICLE_MOVE (Category.VEHICLE),
|
||||
|
||||
/**
|
||||
* Called when a vehicle is going through an update cycle, rechecking itself
|
||||
*
|
||||
* @see org.bukkit.event.vehicle.VehicleUpdateEvent
|
||||
*/
|
||||
VEHICLE_UPDATE (Category.VEHICLE),
|
||||
|
||||
/**
|
||||
* MISCELLANEOUS EVENTS
|
||||
*/
|
||||
|
||||
@@ -59,12 +59,20 @@ public class VehicleListener implements Listener {
|
||||
*/
|
||||
public void onVehicleExit(VehicleExitEvent event) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called when an vehicle moves.
|
||||
*
|
||||
*
|
||||
* @param event
|
||||
*/
|
||||
public void onVehicleMove(VehicleMoveEvent event) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when a vehicle goes through an update cycle
|
||||
*
|
||||
* @param event
|
||||
*/
|
||||
public void onVehicleUpdate(VehicleEvent event) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user