Class VehicleClickEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public class VehicleClickEvent extends CancellableVehicleEvent
Called when a Player clicks on the vehicle, and wants to open the vehicle GUI
  • Constructor Details

    • VehicleClickEvent

      public VehicleClickEvent(SpawnedVehicle vehicle, org.bukkit.entity.Player clicker)
      Construct a new VehicleClickEvent
      Parameters:
      vehicle - the vehicle that is being clicked on
      clicker - the player that clicked the vehicle
  • Method Details

    • getClicker

      public org.bukkit.entity.Player getClicker()