Package net.openosrs.api.service.tile
Class TileService
- java.lang.Object
-
- net.openosrs.api.service.tile.TileService
-
@Singleton public class TileService extends java.lang.ObjectLoaded tile lookup and entity grouping.
-
-
Constructor Summary
Constructors Constructor Description TileService(net.runelite.api.Client client, ObjectService objects, GroundItemService groundItems)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanactionAt(net.runelite.api.coords.WorldPoint location, java.lang.String action)Interact with the first matching object on a tile.java.util.List<TileRef>all()TileRefat(net.runelite.api.coords.WorldPoint location)java.util.List<GroundItemRef>groundItemsAt(net.runelite.api.coords.WorldPoint location)java.util.List<ObjectRef>objectsAt(net.runelite.api.coords.WorldPoint location)booleantakeAt(net.runelite.api.coords.WorldPoint location)Take the first loaded ground item on a tile, if present.
-
-
-
Constructor Detail
-
TileService
@Inject public TileService(net.runelite.api.Client client, ObjectService objects, GroundItemService groundItems)
-
-
Method Detail
-
all
public java.util.List<TileRef> all()
-
at
public TileRef at(net.runelite.api.coords.WorldPoint location)
-
objectsAt
public java.util.List<ObjectRef> objectsAt(net.runelite.api.coords.WorldPoint location)
-
groundItemsAt
public java.util.List<GroundItemRef> groundItemsAt(net.runelite.api.coords.WorldPoint location)
-
actionAt
public boolean actionAt(net.runelite.api.coords.WorldPoint location, java.lang.String action)Interact with the first matching object on a tile.
-
takeAt
public boolean takeAt(net.runelite.api.coords.WorldPoint location)
Take the first loaded ground item on a tile, if present.
-
-