Constructor and Description |
---|
BaseVehicle() |
Modifier and Type | Method and Description |
---|---|
StorageUpgradeable |
getAccelerationSettings()
The acceleration settings, max, min and upgrade steps
|
java.util.List<org.bukkit.Color> |
getBaseColorList()
A list of colors the vehicle comes in on purchase
|
java.lang.Boolean |
getCanExitWhileMoving()
Can players exit this vehicle while moving (Recommended setting this to on when using Bukkit/Spigot)
|
java.lang.Boolean |
getDrift()
Can this vehicle drift
|
StorageSmoke |
getExhaustSettings()
Exhaust settings
|
StorageFuel |
getFuelSettings()
The fuel settings
|
StorageUpgradeable |
getFuelTankSettings()
The fuel tank settings, max, min and upgrade steps
|
java.lang.Integer |
getHealth()
The vehicles health
|
StorageHitbox |
getHitbox()
Hitbox settings of the vehicle
|
StorageHorn |
getHornSettings()
Horn settings
|
java.util.List<java.lang.String> |
getInfoList() |
java.lang.String |
getName()
The name of the vehicle
|
java.lang.String |
getOwner() |
java.util.List<Part> |
getPartList()
A list of vehicle parts (Wheels, Seats)
|
java.lang.Double |
getPrice()
The vehicle price, when set to 0 it will not load in the shop
|
StorageUpgradeable |
getSpeedSettings()
The speed settings, max, min and upgrade steps
|
java.lang.Boolean |
getSteeringType()
Steering settings
|
java.lang.Integer |
getTrunkSize()
Trunk size of the vehicle.
|
StorageUpgradeable |
getTurningRadiusSettings()
The turning radius settings, max, min and upgrade steps
|
java.lang.String |
getVehicleType()
The type of the vehicle
|
void |
removeVehicle(org.bukkit.entity.Player player) |
void |
saveVehicle() |
void |
setAccelerationSettings(StorageUpgradeable accelerationSettings)
The acceleration settings, max, min and upgrade steps
|
void |
setBaseColorList(java.util.List<org.bukkit.Color> baseColorList)
A list of colors the vehicle comes in on purchase
|
void |
setCanExitWhileMoving(java.lang.Boolean canExitWhileMoving)
Can players exit this vehicle while moving (Recommended setting this to on when using Bukkit/Spigot)
|
void |
setDrift(java.lang.Boolean drift)
Can this vehicle drift
|
void |
setExhaustSettings(StorageSmoke exhaustSettings)
Exhaust settings
|
void |
setFuelSettings(StorageFuel fuelSettings)
The fuel settings
|
void |
setFuelTankSettings(StorageUpgradeable fuelTankSettings)
The fuel tank settings, max, min and upgrade steps
|
void |
setHealth(java.lang.Integer health)
The vehicles health
|
void |
setHitbox(StorageHitbox hitbox)
Hitbox settings of the vehicle
|
void |
setHornSettings(StorageHorn hornSettings)
Horn settings
|
void |
setName(java.lang.String name)
The name of the vehicle
|
void |
setPartList(java.util.List<Part> partList)
A list of vehicle parts (Wheels, Seats)
|
void |
setPrice(java.lang.Double price)
The vehicle price, when set to 0 it will not load in the shop
|
void |
setSpeedSettings(StorageUpgradeable speedSettings)
The speed settings, max, min and upgrade steps
|
void |
setSteeringType(java.lang.Boolean steeringType)
Steering settings
|
void |
setTrunkSize(java.lang.Integer trunkSize)
Trunk size of the vehicle.
|
void |
setTurningRadiusSettings(StorageUpgradeable turningRadiusSettings)
The turning radius settings, max, min and upgrade steps
|
void |
setVehicleType(java.lang.String vehicleType)
The type of the vehicle
|
public java.util.List<java.lang.String> getInfoList()
public void saveVehicle()
saveVehicle
in interface IVehicle
public void removeVehicle(org.bukkit.entity.Player player)
removeVehicle
in interface IVehicle
public java.lang.String getName()
public java.lang.String getVehicleType()
public java.util.List<org.bukkit.Color> getBaseColorList()
public java.util.List<Part> getPartList()
public StorageUpgradeable getSpeedSettings()
public StorageUpgradeable getFuelTankSettings()
public StorageUpgradeable getTurningRadiusSettings()
public StorageUpgradeable getAccelerationSettings()
public StorageHorn getHornSettings()
public java.lang.Boolean getDrift()
public StorageSmoke getExhaustSettings()
public java.lang.Boolean getCanExitWhileMoving()
public java.lang.Double getPrice()
public StorageFuel getFuelSettings()
public java.lang.Integer getHealth()
public java.lang.Integer getTrunkSize()
public StorageHitbox getHitbox()
public java.lang.Boolean getSteeringType()
True = Realistic False = Instant
public void setName(java.lang.String name)
public void setVehicleType(java.lang.String vehicleType)
public void setBaseColorList(java.util.List<org.bukkit.Color> baseColorList)
public void setPartList(java.util.List<Part> partList)
public void setSpeedSettings(StorageUpgradeable speedSettings)
public void setFuelTankSettings(StorageUpgradeable fuelTankSettings)
public void setTurningRadiusSettings(StorageUpgradeable turningRadiusSettings)
public void setAccelerationSettings(StorageUpgradeable accelerationSettings)
public void setHornSettings(StorageHorn hornSettings)
public void setDrift(java.lang.Boolean drift)
public void setExhaustSettings(StorageSmoke exhaustSettings)
public void setCanExitWhileMoving(java.lang.Boolean canExitWhileMoving)
public void setPrice(java.lang.Double price)
public void setFuelSettings(StorageFuel fuelSettings)
public void setHealth(java.lang.Integer health)
public void setTrunkSize(java.lang.Integer trunkSize)
public void setHitbox(StorageHitbox hitbox)
public void setSteeringType(java.lang.Boolean steeringType)
True = Realistic False = Instant