
org.bukkit.event.vehicle.VehicleEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.event.vehicle;
import org.bukkit.entity.Vehicle;
import org.bukkit.event.Event;
/**
* Represents a vehicle-related event.
*/
public abstract class VehicleEvent extends Event {
protected Vehicle vehicle;
public VehicleEvent(final Vehicle vehicle) {
this.vehicle = vehicle;
}
/**
* Get the vehicle.
*
* @return the vehicle
*/
public final Vehicle getVehicle() {
return vehicle;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy