GameObjectQuery
open class GameObjectQuery : StreamBackedQuery<GameObject, GameObjectQuery> , ActionableQuery<GameObject, GameObjectQuery> , InteractableQuery<GameObject, GameObjectQuery> , IdentifiableQuery<GameObject, GameObjectQuery> , NamedQuery<GameObject, GameObjectQuery> , OrientableQuery<GameObject, GameObjectQuery>
A query to search over entities of type GameObject
See also
Functions
Link copied to clipboard
Checks if any of the actions of this entity contains any of the specified actions, case insensitive
Link copied to clipboard
Checks if any of the actions of this entity equal any of the specified actions, case sensitive
Link copied to clipboard
Checks if none of the actions of this entity contains any of the specified actions, case insensitive
Link copied to clipboard
Checks if none of the actions of this entity equal any of the specified actions, case sensitive
Link copied to clipboard
Only match game objects whose animation frame equals any of the provided frames.
Link copied to clipboard
Only match game objects whose animation id equals any of the provided ids.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Removes duplicate entities from this query based on the id (keeps the first match, removes the rest)
Link copied to clipboard
Removes duplicate entities from this query based on the name (keeps the first match, removes the rest)
Link copied to clipboard
Creates a new EquipmentQuery
Link copied to clipboard
Applies the specified filter to this query.
Link copied to clipboard
Orders the best entity according to PreferredTargetSelector (the element with the minimum cost)
Link copied to clipboard
Executes this query and gets the closest matching entity to our player
Link copied to clipboard
Executes this query and gets the closest matching entity to our player, based on path distance (the distance it would take to actually walk there based on the surrounding obstacles/collision)
Link copied to clipboard
Executes this query, and gets the first result if it exists
Link copied to clipboard
Executes this query, and selects a random result based on a uniform distribution
Link copied to clipboard
Executes this query and passes each result to the specified consumer
Link copied to clipboard
Creates a new GameObjectQuery
Link copied to clipboard
Creates a new GrandExchangeOfferQuery
Link copied to clipboard
Creates a new GraphicObjectQuery
Link copied to clipboard
Creates a new GroundItemQuery
Link copied to clipboard
Unmaintained.
Link copied to clipboard
Only match entities who do not have the specified id
Link copied to clipboard
Only match entities in the specified areas
Link copied to clipboard
Creates a new InventoryQuery
Link copied to clipboard
Only match game objects that are dynamic (i.e., have a valid animation).
Link copied to clipboard
Only match entities that are being hovered
Link copied to clipboard
Unmaintained.
Link copied to clipboard
Only match game objects that are interactive
Link copied to clipboard
Only match entities that are not being hovered
Link copied to clipboard
Only match game objects that are not interactive
Link copied to clipboard
Only match clickable entities that are not visible
Link copied to clipboard
Only match entities that are on the minimap
Link copied to clipboard
Link copied to clipboard
Creates a new ItemDefinitionQuery
Link copied to clipboard
Only match entities who are at most the specified distance away from our player
Only match entities who are at most the specified distance away from the specified location
Link copied to clipboard
Only match entities who are at most the specified path distance away from our player (the distance it would take to actually walk there based on the surrounding obstacles/collision)
Link copied to clipboard
Only match entities who are at least the specified distance away from our player
Only match entities who are at least the specified distance away from the specified location
Link copied to clipboard
Only match entities who are at least the specified path distance away from our player (the distance it would take to actually walk there based on the surrounding obstacles/collision)
Link copied to clipboard
Only match entities whose name contains any of the specified names, case insensitive
Link copied to clipboard
Only match entities with the specified names, case sensitive
Link copied to clipboard
Only match entities whose name does not contains any of the specified names, case insensitive
Link copied to clipboard
Only match entities whose name does not equal any of the specified names, case sensitive
Link copied to clipboard
Only match entities whose name does not start with any of the specified names, case insensitive
Link copied to clipboard
Only match entities whose name starts with any of the specified names, case insensitive
Link copied to clipboard
Only matches entities with the specified orientation
Link copied to clipboard
Only matches entities that don't have the specified orientation
Link copied to clipboard
Creates a new PlayerQuery
Link copied to clipboard
Creates a new ProjectileQuery
Link copied to clipboard
Creates a new ShopItemQuery
Link copied to clipboard
Orders the query by the specified comparator.
Link copied to clipboard
Sorts the entities by their distance to our player, with the closest appearing first
Sorts the entities by their distance to the specified location, with the closest appearing first
Link copied to clipboard
Orders the entities by PreferredTargetSelector
Link copied to clipboard
Sorts the entities by their path distance (the distance it would take to actually walk there based on the surrounding obstacles/collision)
Link copied to clipboard
Returns this query as a stream.
Link copied to clipboard
Only matches entities at the specified positions
Link copied to clipboard
Only match entities who are not at any of the specified positions
Link copied to clipboard
Executes this query, and gets the results
Link copied to clipboard
Creates a new TradeQuery
Link copied to clipboard
Creates a new WidgetQuery
Link copied to clipboard
Creates a new WorldQuery