Verwendungen von Klasse
net.risingworld.api.objects.Vehicle
Package
Beschreibung
-
Verwendungen von Vehicle in net.risingworld.api
Modifizierer und TypMethodeBeschreibungstatic 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. -
Verwendungen von Vehicle in net.risingworld.api.events.player
-
Verwendungen von Vehicle in net.risingworld.api.objects
Modifizierer und TypMethodeBeschreibungPlayer.getVehicle()
If the player is currently passenger in a vehicle, this method returns the vehicle.