Class TileItemQuery


  • public class TileItemQuery
    extends Query<KSGroundItem,​TileItemQuery>
    A specialized query class for filtering and retrieving ground items in the game.
    • Constructor Detail

      • TileItemQuery

        public TileItemQuery​(java.util.Collection<KSGroundItem> tileItems)
    • Method Detail

      • inLocation

        public TileItemQuery inLocation​(WorldArea area)
        Filters ground items located within a specific area.
      • notInLocation

        public TileItemQuery notInLocation​(WorldArea area)
        Filters ground items located outside a specific area.
      • yourLoot

        public TileItemQuery yourLoot()
        Filters ground items belonging to the player's loot list.
      • notYourLoot

        public TileItemQuery notYourLoot()
        Filters ground items not in the player's loot list.
      • onlyNoted

        public TileItemQuery onlyNoted()
        Filters only noted ground items.
      • onlyUnnoted

        public TileItemQuery onlyUnnoted()
        Filters only unnoted ground items.
      • abovePriceItem

        public TileItemQuery abovePriceItem​(int value)
        Filters ground items with a price greater than or equal to a specified value.
      • abovePrice

        public TileItemQuery abovePrice​(int value)
        Filters ground items whose total value (price * quantity) exceeds a value.
      • withinDistance

        public TileItemQuery withinDistance​(int distance)
        Filters ground items within a certain distance of the local player.
      • withinDistanceToPoint

        public TileItemQuery withinDistanceToPoint​(int distance,
                                                   net.runelite.api.coords.WorldPoint point)
        Filters ground items within a certain distance of a given point.
      • nearestToPlayer

        public KSGroundItem nearestToPlayer()
        Finds the ground item nearest to the local player.
      • nearestToPoint

        public KSGroundItem nearestToPoint​(net.runelite.api.coords.WorldPoint point)
        Finds the ground item nearest to a specific point.