Uses of Class
nl.sbdeveloper.vehiclesplus.api.vehicles.VehicleModel.Builder
Packages that use VehicleModel.Builder
Package
Description
The Vehicles package contains all the vehicle related API.
-
Uses of VehicleModel.Builder in nl.sbdeveloper.vehiclesplus.api.vehicles
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles that return VehicleModel.BuilderModifier and TypeMethodDescriptionVehicleModel.Builder.acceleration
(UpgradableSetting acceleration) Sets the acceleration setting.VehicleModel.Builder.availableColors
(nl.sbdeveloper.vehiclesplus.utils.jackson.ColorList availableColors) Sets the available colors for the vehicle model.static VehicleModel.Builder
VehicleModel.builder()
Get a new builder of aVehicleModel
VehicleModel.Builder.displayName
(String displayName) Sets the display name of the vehicle model.VehicleModel.Builder.drift
(boolean drift) Enables or disables drifting capability.Sets the exhaust system for the vehicle.VehicleModel.Builder.exitWhileMoving
(boolean exitWhileMoving) Allows exiting the vehicle while moving.Sets the fuel type of the vehicle.VehicleModel.Builder.fuelTank
(UpgradableSetting fuelTank) Sets the fuel tank capacity.Sets the gearbox for the vehicle.VehicleModel.Builder.health
(int health) Sets the health points of the vehicle.VehicleModel.Builder.heightLimit
(HeightLimit heightLimit) Sets the height limit for the vehicle.Sets the hitbox for the vehicle model.Sets the horn for the vehicle.Sets the ID of the vehicle model.VehicleModel.Builder.maxSpeed
(UpgradableSetting maxSpeed) Sets the maximum speed setting.Adds a single part to the vehicle model.Adds multiple parts to the vehicle model.VehicleModel.Builder.permissions
(Permissions permissions) Sets the permissions for the vehicle model.VehicleModel.Builder.price
(double price) Sets the price of the vehicle model.VehicleModel.Builder.realisticSteering
(boolean realisticSteering) Enables or disables realistic steering.Sets the vehicle sounds.VehicleModel.Builder.trunkSize
(int trunkSize) Sets the trunk size of the vehicle.VehicleModel.Builder.turningRadius
(UpgradableSetting turningRadius) Sets the turning radius.Sets the type ID of the vehicle model.VehicleModel.Builder.typeStrategies
(MovementStrategy... typeStrategies) Adds movement strategies to the vehicle.