Package net.runelite.api.queries
Class NPCQuery
- java.lang.Object
-
- net.runelite.api.Query<EntityType,QueryType,LocatableQueryResults<EntityType>>
-
- net.runelite.api.queries.LocatableQuery<EntityType,QueryType>
-
- net.runelite.api.queries.ActorQuery<NPC,NPCQuery>
-
- net.runelite.api.queries.NPCQuery
-
public class NPCQuery extends ActorQuery<NPC,NPCQuery>
-
-
Constructor Summary
Constructors Constructor Description NPCQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NPCQueryidEquals(int... ids)NPCQueryidEquals(java.util.Collection<java.lang.Integer> ids)LocatableQueryResults<NPC>result(Client client)Executes the query and filters through possible objects, returning only those who evaluate true usingQuery.predicate.-
Methods inherited from class net.runelite.api.queries.ActorQuery
animationEquals, filter, hasNoHealthBar, isInteractingWith, isLevel, isWithinArea, nameContains, nameEquals
-
Methods inherited from class net.runelite.api.queries.LocatableQuery
atLocalLocation, atWorldLocation, isWithinArea, isWithinDistance, isWithinDistance
-
-
-
-
Method Detail
-
result
public LocatableQueryResults<NPC> result(Client client)
Description copied from class:QueryExecutes the query and filters through possible objects, returning only those who evaluate true usingQuery.predicate.
-
idEquals
public NPCQuery idEquals(int... ids)
-
idEquals
public NPCQuery idEquals(java.util.Collection<java.lang.Integer> ids)
-
-