All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.event.vehicle.VehicleEvent Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
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