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

public static final class Npcs.Query extends EntityQuery<Npc, Npcs.Query>
Query subclass — wires the snapshot stream + name resolution to EntityQuery.
  • Method Details

    • withGameval

      public Npcs.Query withGameval(String... gamevals)
      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.