Class Npcs.Query
java.lang.Object
com.botwithus.bot.api.entities.EntityQuery<Npc, Npcs.Query>
com.botwithus.bot.api.entities.Npcs.Query
- Enclosing class:
Npcs
Query subclass — wires the snapshot stream + name resolution to
EntityQuery.-
Method Summary
Modifier and TypeMethodDescriptionwithGameval(String... gamevals) Filter by gameval symbolic name, e.g.Methods inherited from class EntityQuery
all, count, exists, filter, findFirst, findNearest, first, limit, named, namedExact, nameMatching, nearest, onPlane, sortByDistance, stream, visible, withId, within, withinDistance
-
Method Details
-
withGameval
Filter by gameval symbolic name, e.g."HANS". Pass several to match any of them. Names are resolved once when the filter is added; an unknown name narrows the query to nothing and logs a warning.
-