Uses of Class
net.risingworld.api.objects.Area
Package
Description
-
Uses of Area in net.risingworld.api
Modifier 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.Modifier 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
-
Uses of Area in net.risingworld.api.objects
Modifier and TypeFieldDescriptionstatic final Area
Area.INFINITE
An "infinite" area (more precisely, the largest possible area).Modifier 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.Modifier 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.Modifier 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. -
Uses of Area in net.risingworld.api.worldelements