Class GroundItems.Query
java.lang.Object
com.botwithus.bot.api.entities.EntityQuery<GroundItem, GroundItems.Query>
com.botwithus.bot.api.entities.GroundItems.Query
- Enclosing class:
GroundItems
-
Method Summary
Modifier and TypeMethodDescriptionwithGameval(String... gamevals) Filter by the item's gameval symbolic name, e.g.withItemId(int itemId) Convenience alias forwithId.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 the item's gameval symbolic name, e.g."COINS". 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. -
withItemId
Convenience alias forwithId.
-