Class VehicleGiveEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public class VehicleGiveEvent extends CancellableVehicleEvent
  • Constructor Details

    • VehicleGiveEvent

      public VehicleGiveEvent(StorageVehicle vehicle, org.bukkit.command.CommandSender giver, org.bukkit.entity.Player receiver)
      Construct a new VehicleGiveEvent
      Parameters:
      vehicle - the vehicle the player is receiving
      giver - the CommandSender that is giving the vehicle
      receiver - the player that is receiving the vehicle
  • Method Details

    • getGiver

      public org.bukkit.command.CommandSender getGiver()
    • getReceiver

      public org.bukkit.entity.Player getReceiver()