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 allAreasthat are currently registered with the server.static AreaServer.getArea(long id) Gets theAreawith the provided global id.Methods in net.risingworld.api with parameters of type AreaModifier and TypeMethodDescriptionstatic voidAdds a temporaryAreato the server.static voidAdds anAreato 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 voidServer.removeArea(Area area) Removes anAreathat has been added to the server previously.static voidWorld.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 AreaArea.INFINITEAn "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 TypeMethodDescriptionbooleanArea.intersects(Area area) Checks whether or not the provided area intersects this area.voidPlayer.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 TypeMethodDescriptionvoidPlayer.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).voidPlayer.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