Class TileService


  • @Singleton
    public class TileService
    extends java.lang.Object
    Loaded tile lookup and entity grouping.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean actionAt​(net.runelite.api.coords.WorldPoint location, java.lang.String action)
      Interact with the first matching object on a tile.
      java.util.List<TileRef> all()  
      TileRef at​(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)  
      boolean takeAt​(net.runelite.api.coords.WorldPoint location)
      Take the first loaded ground item on a tile, if present.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.