Class PreVehicleSpawnEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PreVehicleSpawnEvent extends CancellableVehicleEvent
  • Constructor Details

    • PreVehicleSpawnEvent

      public PreVehicleSpawnEvent(StorageVehicle vehicle, SpawnMode spawnMode)
      Construct a new PreVehicleSpawnEvent
      Parameters:
      vehicle - the vehicle that will be spawned
      spawnMode - the spawn mode of the vehicle
  • Method Details

    • getSpawnMode

      public SpawnMode getSpawnMode()