Class VehicleSpawnedEvent

java.lang.Object
org.bukkit.event.Event
me.legofreak107.vehiclesplus.vehicles.api.events.interfaces.VehicleEvent
me.legofreak107.vehiclesplus.vehicles.api.events.VehicleSpawnedEvent

public class VehicleSpawnedEvent extends VehicleEvent
  • Constructor Details

    • VehicleSpawnedEvent

      public VehicleSpawnedEvent(SpawnedVehicle vehicle, SpawnMode spawnMode)
      Construct a new VehicleSpawnedEvent
      Parameters:
      vehicle - the vehicle that is spawned
      spawnMode - the spawn mode of the vehicle
  • Method Details

    • getSpawnMode

      public SpawnMode getSpawnMode()