Package org.rspeer.game.query.scene
Class NpcQuery
- java.lang.Object
-
- org.rspeer.game.query.Query<T,Q,SceneNodeQueryResults<T>>
-
- org.rspeer.game.query.scene.SceneNodeQuery<T,Q>
-
- org.rspeer.game.query.scene.PathingEntityQuery<RSNpc,Npc,NpcQuery>
-
- org.rspeer.game.query.scene.NpcQuery
-
- All Implemented Interfaces:
Cloneable
,Predicate<Npc>
,SelfTyped<NpcQuery>
,Actionable.Query<NpcQuery>
,Animable.Query<PathingEntityQuery<RSNpc,Npc,NpcQuery>>
,Identifiable.Query<NpcQuery>
,Mobile.Query<PathingEntityQuery<RSNpc,Npc,NpcQuery>>
,Nameable.Query<PathingEntityQuery<RSNpc,Npc,NpcQuery>>
,SceneNode.Query<SceneNodeQuery<Npc,NpcQuery>>
public class NpcQuery extends PathingEntityQuery<RSNpc,Npc,NpcQuery> implements Actionable.Query<NpcQuery>, Identifiable.Query<NpcQuery>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NpcQuery
actions(String... actions)
Supplier<List<Npc>>
getDefaultProvider()
NpcQuery
ids(int... ids)
NpcQuery
indexes(int... indexes)
NpcQuery
self()
boolean
test(Npc e)
-
Methods inherited from class org.rspeer.game.query.scene.PathingEntityQuery
acceptPlayerTargeters, animating, animations, dialogues, health, health, inanimate, moving, nameContains, names, stances, stationary, targeted, targeted, targeters, targeting, targeting, targetless
-
Methods inherited from class org.rspeer.game.query.scene.SceneNodeQuery
distanceEvaluator, nonInstanced, on, positionInteractable, reachable, within, within, within
-
-
-
-
Method Detail
-
getDefaultProvider
public Supplier<List<Npc>> getDefaultProvider()
- Specified by:
getDefaultProvider
in classQuery<Npc,NpcQuery,SceneNodeQueryResults<Npc>>
-
actions
public NpcQuery actions(String... actions)
- Specified by:
actions
in interfaceActionable.Query<NpcQuery>
-
ids
public NpcQuery ids(int... ids)
- Specified by:
ids
in interfaceIdentifiable.Query<NpcQuery>
-
indexes
public NpcQuery indexes(int... indexes)
- Overrides:
indexes
in classPathingEntityQuery<RSNpc,Npc,NpcQuery>
-
-