Uses of Class
net.risingworld.api.objects.Area
Packages that use Area
Package
Description
-
Uses of Area in net.risingworld.api
Methods in net.risingworld.api that return AreaModifier and TypeMethodDescriptionstatic Area[]
Server.getAllAreas()
Gets an array containing allAreas
that are currently registered with the server.static Area
Server.getArea
(long id) Gets theArea
with the provided global id.Methods in net.risingworld.api with parameters of type AreaModifier and TypeMethodDescriptionstatic void
Adds a temporaryArea
to the server.static void
Adds anArea
to the server.static WorldItem[]
World.getAllItemsInArea
(Area area) static Npc[]
World.getAllNpcsInArea
(Area area) Gets all npcs which are inside an area.static Vehicle[]
World.getAllVehiclesInArea
(Area area) Gets all vehicles which are inside an area.static void
Server.removeArea
(Area area) Removes anArea
that has been added to the server previously.static void
World.setTerrainDataInArea
(int terrainID, Area area, EditRestriction restriction) Modifies terrain within a given area. -
Uses of Area in net.risingworld.api.events.player
Methods in net.risingworld.api.events.player that return Area -
Uses of Area in net.risingworld.api.objects
Fields in net.risingworld.api.objects declared as AreaModifier and TypeFieldDescriptionstatic final Area
Area.INFINITE
An "infinite" area (more precisely, the largest possible area).Methods in net.risingworld.api.objects that return AreaModifier and TypeMethodDescriptionPlayer.getCurrentArea()
Gets the highest ranking (i.e most relevant) Area the player is currently inside.Area[]
Player.getCurrentAreas()
Gets an array of all Areas the player is currently inside.Methods in net.risingworld.api.objects with parameters of type AreaModifier and TypeMethodDescriptionboolean
Area.intersects
(Area area) Checks whether or not the provided area intersects this area.void
Player.setAreaSelectionData
(Area area) Sets an area for the "area selection tool" for this player, i.e the selection tool will adapt to the position and size of the provided area.Method parameters in net.risingworld.api.objects with type arguments of type AreaModifier and TypeMethodDescriptionvoid
Player.getAreaInLineOfSight
(float distance, Callback<Area> callback) Gets the area in line-of-sight of the player (i.e the area the player is currently looking at).void
Player.getAreaSelectionData
(Callback<Area> callback) Gets the currently selected area.Constructors in net.risingworld.api.objects with parameters of type Area -
Uses of Area in net.risingworld.api.worldelements
Methods in net.risingworld.api.worldelements that return AreaMethods in net.risingworld.api.worldelements with parameters of type AreaConstructors in net.risingworld.api.worldelements with parameters of type Area