Uses of Class
nl.sbdeveloper.vehiclesplus.api.vehicles.impl.SpawnedVehicle
Packages that use SpawnedVehicle
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.
The Collision package contains all the collision / hitbox related classes.
The Vehicles Implementation package contains the implemented vehicle classes.
The Parts package contains all the parts related API.
-
Uses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api
Methods in nl.sbdeveloper.vehiclesplus.api that return types with arguments of type SpawnedVehicleModifier and TypeMethodDescriptionstatic @NotNull List
<SpawnedVehicle> VehiclesPlusAPI.getSpawnedVehicles()
Get all theSpawnedVehicle
sstatic @NotNull List
<SpawnedVehicle> VehiclesPlusAPI.getSpawnedVehicles
(@NotNull org.bukkit.OfflinePlayer p) Get the spawned vehicles owned by this player.static @NotNull Optional
<SpawnedVehicle> VehiclesPlusAPI.getVehicle
(@NotNull org.bukkit.entity.Player p) Get the vehicle a player is driving.static @NotNull Optional
<SpawnedVehicle> VehiclesPlusAPI.getVehicleFromHolder
(@NotNull org.bukkit.entity.ArmorStand stand) Get the vehicle by a holderArmorStand
.static @NotNull Optional
<SpawnedVehicle> VehiclesPlusAPI.getVehicleFromPart
(@NotNull org.bukkit.entity.ArmorStand stand) Get the vehicle by a partArmorStand
. -
Uses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api.events.impl
Methods in nl.sbdeveloper.vehiclesplus.api.events.impl that return SpawnedVehicleModifier and TypeMethodDescriptionVehicleCollisionEvent.getCollidingVehicle()
TheSpawnedVehicle
the vehicle collided with, or null if no vehicle collision.Constructors in nl.sbdeveloper.vehiclesplus.api.events.impl with parameters of type SpawnedVehicleModifierConstructorDescriptionVehicleCollisionEvent
(SpawnedVehicle thisVehicle, SpawnedVehicle collidingVehicle, boolean vehicleDamaged, double collisionSpeed, HitboxSide collisionSide) VehicleCollisionEvent
(SpawnedVehicle thisVehicle, org.bukkit.entity.Entity collidingEntity, boolean entityPushed, double collisionSpeed, HitboxSide collisionSide) VehicleDespawnEvent
(SpawnedVehicle vehicle, boolean force, org.bukkit.entity.Player despawner) Construct a newVehicleDespawnEvent
.VehicleDespawnEvent
(SpawnedVehicle vehicle, VehicleDespawnEvent.DespawnReason reason, boolean force) Construct a newVehicleDespawnEvent
.VehicleDestroyEvent
(SpawnedVehicle vehicle) Construct a newVehicleDestroyEvent
.VehicleEnterEvent
(SpawnedVehicle vehicle, org.bukkit.entity.Player player, Seat seat) Construct a newVehicleEnterEvent
.VehicleRefuelEvent
(SpawnedVehicle vehicle, String type, double amount) Construct a newVehicleRefuelEvent
.VehicleSpawnedEvent
(SpawnedVehicle vehicle) Construct a newVehicleSpawnedEvent
.VehicleSpawnedEvent
(SpawnedVehicle vehicle, org.bukkit.entity.Player spawner) Construct a newVehicleSpawnedEvent
. -
Uses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api.vehicles
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles that return SpawnedVehicleModifier and TypeMethodDescription@Nullable SpawnedVehicle
Vehicle.getSpawnedVehicle()
Get theSpawnedVehicle
of this vehicle. -
Uses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api.vehicles.collision
Constructors in nl.sbdeveloper.vehiclesplus.api.vehicles.collision with parameters of type SpawnedVehicleModifierConstructorDescriptionCollisionHandler
(SpawnedVehicle spawnedVehicle) Construct a new CollisionHandler -
Uses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api.vehicles.impl
Subclasses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api.vehicles.implModifier and TypeClassDescriptionclass
A spawned vehicle that can be driven by a player.class
A vehicle that is persistent and will not despawn when the player leaves the server. -
Uses of SpawnedVehicle in nl.sbdeveloper.vehiclesplus.api.vehicles.parts
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles.parts that return types with arguments of type SpawnedVehicleModifier and TypeMethodDescriptionPart.getOwningVehicle()
Retrieves theDrivableVehicle
of which this part is a part