java.lang.Object
me.legofreak107.vehiclesplus.vehicles.vehicles.objects.BaseVehicle
All Implemented Interfaces:
IVehicle

public class BaseVehicle extends Object implements IVehicle
  • Constructor Details

    • BaseVehicle

      public BaseVehicle()
  • Method Details

    • getInfoList

      public List<String> getInfoList()
    • saveVehicle

      public void saveVehicle()
      Specified by:
      saveVehicle in interface IVehicle
    • removeVehicle

      public void removeVehicle(org.bukkit.entity.Player player)
      Specified by:
      removeVehicle in interface IVehicle
    • getOwner

      public String getOwner()
      Specified by:
      getOwner in interface IVehicle
    • getName

      public String getName()
      The name of the vehicle
    • getVehicleType

      public String getVehicleType()
      The type of the vehicle
    • getBaseColorList

      public List<org.bukkit.Color> getBaseColorList()
      A list of colors the vehicle comes in on purchase
    • getPartList

      public List<Part> getPartList()
      A list of vehicle parts (Wheels, Seats)
    • getSpeedSettings

      public StorageUpgradeable getSpeedSettings()
      The speed settings, max, min and upgrade steps
    • getFuelTankSettings

      public StorageUpgradeable getFuelTankSettings()
      The fuel tank settings, max, min and upgrade steps
    • getTurningRadiusSettings

      public StorageUpgradeable getTurningRadiusSettings()
      The turning radius settings, max, min and upgrade steps
    • getAccelerationSettings

      public StorageUpgradeable getAccelerationSettings()
      The acceleration settings, max, min and upgrade steps
    • getHornSettings

      public StorageHorn getHornSettings()
      Horn settings
    • getDrift

      public Boolean getDrift()
      Can this vehicle drift
    • getExhaustSettings

      public StorageSmoke getExhaustSettings()
      Exhaust settings
    • getCanExitWhileMoving

      public Boolean getCanExitWhileMoving()
      Can players exit this vehicle while moving (Recommended setting this to on when using Bukkit/Spigot)
    • getPrice

      public Double getPrice()
      The vehicle price, when set to 0 it will not load in the shop
    • getFuelSettings

      public StorageFuel getFuelSettings()
      The fuel settings
    • getHealth

      public Integer getHealth()
      The vehicles health
    • getTrunkSize

      public Integer getTrunkSize()
      Trunk size of the vehicle. When set to 0 it will not have a trunk
    • getHitbox

      public StorageHitbox getHitbox()
      Hitbox settings of the vehicle
    • getSteeringType

      public Boolean getSteeringType()
      Steering settings

      True = Realistic False = Instant

    • setName

      public void setName(String name)
      The name of the vehicle
    • setVehicleType

      public void setVehicleType(String vehicleType)
      The type of the vehicle
    • setBaseColorList

      public void setBaseColorList(List<org.bukkit.Color> baseColorList)
      A list of colors the vehicle comes in on purchase
    • setPartList

      public void setPartList(List<Part> partList)
      A list of vehicle parts (Wheels, Seats)
    • setSpeedSettings

      public void setSpeedSettings(StorageUpgradeable speedSettings)
      The speed settings, max, min and upgrade steps
    • setFuelTankSettings

      public void setFuelTankSettings(StorageUpgradeable fuelTankSettings)
      The fuel tank settings, max, min and upgrade steps
    • setTurningRadiusSettings

      public void setTurningRadiusSettings(StorageUpgradeable turningRadiusSettings)
      The turning radius settings, max, min and upgrade steps
    • setAccelerationSettings

      public void setAccelerationSettings(StorageUpgradeable accelerationSettings)
      The acceleration settings, max, min and upgrade steps
    • setHornSettings

      public void setHornSettings(StorageHorn hornSettings)
      Horn settings
    • setDrift

      public void setDrift(Boolean drift)
      Can this vehicle drift
    • setExhaustSettings

      public void setExhaustSettings(StorageSmoke exhaustSettings)
      Exhaust settings
    • setCanExitWhileMoving

      public void setCanExitWhileMoving(Boolean canExitWhileMoving)
      Can players exit this vehicle while moving (Recommended setting this to on when using Bukkit/Spigot)
    • setPrice

      public void setPrice(Double price)
      The vehicle price, when set to 0 it will not load in the shop
    • setFuelSettings

      public void setFuelSettings(StorageFuel fuelSettings)
      The fuel settings
    • setHealth

      public void setHealth(Integer health)
      The vehicles health
    • setTrunkSize

      public void setTrunkSize(Integer trunkSize)
      Trunk size of the vehicle. When set to 0 it will not have a trunk
    • setHitbox

      public void setHitbox(StorageHitbox hitbox)
      Hitbox settings of the vehicle
    • setSteeringType

      public void setSteeringType(Boolean steeringType)
      Steering settings

      True = Realistic False = Instant