Verwendungen von Klasse
net.risingworld.api.objects.Area
Package
Beschreibung
-
Verwendungen von Area in net.risingworld.api
Modifizierer und TypMethodeBeschreibungstatic 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.Modifizierer und TypMethodeBeschreibungstatic 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. -
Verwendungen von Area in net.risingworld.api.events.player
-
Verwendungen von Area in net.risingworld.api.objects
Modifizierer und TypFeldBeschreibungstatic final Area
Area.INFINITE
An "infinite" area (more precisely, the largest possible area).Modifizierer und TypMethodeBeschreibungPlayer.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.Modifizierer und TypMethodeBeschreibungboolean
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.Modifizierer und TypMethodeBeschreibungvoid
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. -
Verwendungen von Area in net.risingworld.api.worldelements