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 NpcQueryactions(String... actions)Supplier<List<Npc>>getDefaultProvider()NpcQueryids(int... ids)NpcQueryindexes(int... indexes)NpcQueryself()booleantest(Npc e)-
Methods inherited from class org.rspeer.game.query.scene.PathingEntityQuery
acceptPlayerTargeters, acceptPlayerTargeters, acceptSelfTargeter, acceptSelfTargeter, 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:
getDefaultProviderin classQuery<Npc,NpcQuery,SceneNodeQueryResults<Npc>>
-
actions
public NpcQuery actions(String... actions)
- Specified by:
actionsin interfaceActionable.Query<NpcQuery>
-
ids
public NpcQuery ids(int... ids)
- Specified by:
idsin interfaceIdentifiable.Query<NpcQuery>
-
indexes
public NpcQuery indexes(int... indexes)
- Overrides:
indexesin classPathingEntityQuery<RSNpc,Npc,NpcQuery>
-
-