Package org.rspeer.game.query.component
Class ItemQuery
- java.lang.Object
-
- org.rspeer.game.query.Query<Item,ItemQuery,ItemQueryResults>
-
- org.rspeer.game.query.component.ItemQuery
-
- All Implemented Interfaces:
Cloneable
,Predicate<Item>
,SelfTyped<ItemQuery>
,Actionable.Query<ItemQuery>
,Identifiable.Query<ItemQuery>
,Nameable.Query<ItemQuery>
public class ItemQuery extends Query<Item,ItemQuery,ItemQueryResults> implements Actionable.Query<ItemQuery>, Identifiable.Query<ItemQuery>, Nameable.Query<ItemQuery>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemQuery
actions(String... actions)
ItemQuery
category(ItemCategory... categories)
ItemQuery
count(int minInclusive)
ItemQuery
count(int minInclusive, int maxInclusive)
Supplier<List<Item>>
getDefaultProvider()
ItemQuery
ids(int... ids)
ItemQuery
nameContains(String... names)
ItemQuery
names(String... names)
ItemQuery
nonstackable()
ItemQuery
noted()
ItemQuery
noted(boolean noted)
ItemQuery
self()
ItemQuery
slots(int... slots)
ItemQuery
stackable()
ItemQuery
stackSize(int minInclusive)
ItemQuery
stackSize(int minInclusive, int maxInclusive)
boolean
test(Item item)
ItemQuery
unnoted()
-
-
-
Method Detail
-
getDefaultProvider
public Supplier<List<Item>> getDefaultProvider()
- Specified by:
getDefaultProvider
in classQuery<Item,ItemQuery,ItemQueryResults>
-
ids
public ItemQuery ids(int... ids)
- Specified by:
ids
in interfaceIdentifiable.Query<ItemQuery>
-
names
public ItemQuery names(String... names)
- Specified by:
names
in interfaceNameable.Query<ItemQuery>
-
nameContains
public ItemQuery nameContains(String... names)
- Specified by:
nameContains
in interfaceNameable.Query<ItemQuery>
-
actions
public ItemQuery actions(String... actions)
- Specified by:
actions
in interfaceActionable.Query<ItemQuery>
-
slots
public ItemQuery slots(int... slots)
-
stackable
public ItemQuery stackable()
-
nonstackable
public ItemQuery nonstackable()
-
noted
public ItemQuery noted()
-
noted
public ItemQuery noted(boolean noted)
-
unnoted
public ItemQuery unnoted()
-
stackSize
public ItemQuery stackSize(int minInclusive)
-
stackSize
public ItemQuery stackSize(int minInclusive, int maxInclusive)
-
count
public ItemQuery count(int minInclusive)
-
count
public ItemQuery count(int minInclusive, int maxInclusive)
-
category
public ItemQuery category(ItemCategory... categories)
-
test
public boolean test(Item item)
-
-