Uses of Class
nl.sbdeveloper.vehiclesplus.api.vehicles.VehicleModel
Packages that use VehicleModel
Package
Description
The API package contains all the VehiclesPlus API classes.
The Events Implementation package contains all the events VehiclesPlus fires.
The Vehicles package contains all the vehicle related API.
This package contains all the default vehicle models.
This package contains the default implementations of the
DefaultVehicleModel
.The Vehicles Implementation package contains the implemented vehicle classes.
The Statics package contains all the vehicle statics related API.
The Strategies package contains the strategies for the vehicle movement which can be applied.
The Types package contains all the Vehicle Type related classes.
-
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api
Methods in nl.sbdeveloper.vehiclesplus.api that return types with arguments of type VehicleModelModifier and TypeMethodDescriptionstatic @NotNull Optional
<VehicleModel> VehiclesPlusAPI.getVehicleModel
(@NotNull String modelID) Get a vehicle model by its ID.static Map
<String, VehicleModel> VehiclesPlusAPI.getVehicleModels()
All the registered vehicle modelsMethods in nl.sbdeveloper.vehiclesplus.api with parameters of type VehicleModelModifier and TypeMethodDescriptionstatic @NotNull StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull VehicleModel model) Create a vehicle using a vehicle model.static StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull VehicleModel model, @NotNull Function<StorageVehicle, StorageVehicle> updater) Create a vehicle using a vehicle model.static @NotNull StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull VehicleModel model, @NotNull Garage garage) Create a vehicle using a vehicle model.static StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull VehicleModel model, Garage garage, Function<StorageVehicle, StorageVehicle> updater) Create a vehicle using a vehicle model. -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.events.impl
Constructors in nl.sbdeveloper.vehiclesplus.api.events.impl with parameters of type VehicleModelModifierConstructorDescriptionVehicleBuyEvent
(VehicleModel vehicle, org.bukkit.entity.Player buyingPlayer) Construct a newVehicleBuyEvent
.VehicleGiveEvent
(@NotNull VehicleModel vehicle, @NotNull org.bukkit.command.CommandSender commandSender, @NotNull Garage garage, @NotNull VehicleGiveEvent.Source source) Construct a newVehicleGiveEvent
. -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles that return VehicleModelModifier and TypeMethodDescriptionVehicleModel.Builder.build()
Builds and returns theVehicleModel
instance.abstract VehicleModel
Vehicle.getVehicleModel()
Get the basevehicle / type of this vehicle -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles.defaults
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.defaults that return VehicleModelModifier and TypeMethodDescriptionabstract VehicleModel
DefaultVehicleModel.build()
Build thisDefaultVehicleModel
-
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.defaults.impl that return VehicleModel -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles.impl
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.impl that return VehicleModelModifier and TypeMethodDescriptionSpawnedVehicle.getVehicleModel()
StorageVehicle.getVehicleModel()
Constructors in nl.sbdeveloper.vehiclesplus.api.vehicles.impl with parameters of type VehicleModelModifierConstructorDescriptionStorageVehicle
(@NotNull UUID uuid, @NotNull VehicleModel model, boolean persistent) Construct a StorageVehicle, that is loaded from storage. -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles.statics
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.statics with parameters of type VehicleModelModifier and TypeMethodDescriptionstatic <T extends MovementStrategy>
TStrategyFactory.createStrategy
(VehicleModel model, MovementType type) Create a MovementStrategy instance for a given VehicleModel and MovementTypeConstructors in nl.sbdeveloper.vehiclesplus.api.vehicles.statics with parameters of type VehicleModelModifierConstructorDescriptionVehicleStatics
(VehicleModel model) Construct a VehicleStatics instance for a VehicleModel -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles.statics.strategies
Constructors in nl.sbdeveloper.vehiclesplus.api.vehicles.statics.strategies with parameters of type VehicleModelModifierConstructorDescriptionAirMovementStrategy
(VehicleModel model) Default construct of AirMovementStrategyLandMovementStrategy
(VehicleModel model) Default construct of AirMovementStrategyDefault construct of AirMovementStrategy -
Uses of VehicleModel in nl.sbdeveloper.vehiclesplus.api.vehicles.types
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.types that return VehicleModelModifier and TypeMethodDescriptionVehicleType.constructDefaultModel()
Construct a new default model