Uses of Class
net.risingworld.api.objects.Vehicle
Packages that use Vehicle
Package
Description
-
Uses of Vehicle in net.risingworld.api
Methods in net.risingworld.api that return VehicleModifier and TypeMethodDescriptionstatic Vehicle
World.findNearestVehicle
(float x, float y, float z) Gets the vehicle (any vehicle) which has the shortest distance to a world position.static Vehicle
World.findNearestVehicle
(short typeID, float x, float y, float z) Gets the vehicle (with a certain type id) which has the shortest distance to a world position.static Vehicle
World.findNearestVehicle
(short typeID, Vector3f position) Gets the vehicle (with a certain type id) which has the shortest distance to a world position.static Vehicle
World.findNearestVehicle
(Vector3f position) Gets the vehicle (any vehicle) which has the shortest distance to a world position.static Vehicle[]
World.getAllVehicles()
Gets all vehicles which are spawned in this world.static Vehicle[]
World.getAllVehiclesInArea
(Area area) Gets all vehicles which are inside an area.static Vehicle[]
World.getAllVehiclesInRange
(Vector3f position, float range) Gets all vehicles which are in range to a specific world position.static Vehicle
World.getVehicle
(long globalID) Gets the vehicle with the provided id.static Vehicle
World.spawnVehicle
(short typeID, int constructionStage, int color, Vector3f position, Quaternion rotation) Spawns a new vehicle in the world. -
Uses of Vehicle in net.risingworld.api.events.player
Methods in net.risingworld.api.events.player that return Vehicle -
Uses of Vehicle in net.risingworld.api.objects
Methods in net.risingworld.api.objects that return VehicleModifier and TypeMethodDescriptionPlayer.getVehicle()
If the player is currently passenger in a vehicle, this method returns the vehicle.