Interface FuzzyItemEntry
- All Superinterfaces:
Cloneable, ItemEntry, Serializable
- All Known Implementing Classes:
DefaultFuzzyItemEntry
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ItemQueryResultsgetContained(ItemQuery query) getKey()intintbooleanisStrict()Deprecated.Methods inherited from interface ItemEntry
clone, clone, contained, contained, contained, getContained, getEquipmentSlot, getMinimumQuantity, getQuantity, getRestockMeta, getSetup, interchange, isNoted, isOptional, isStackable, setSetup
-
Method Details
-
getKey
-
isStrict
Deprecated.- Returns:
trueif the item consumable quantity should be strict to the maximum.- See Also:
-
getMaximumConsumableQuantity
int getMaximumConsumableQuantity()- Returns:
- The maximum consumptions this item allows in a loadout. For example a ring of dueling has 8 charges, while potions have 4 charges. You can set a lower maximum if you wish to only use lower charge/dose items, the restock handler will purchase items based on the charge/dose from this method
-
getMinimumConsumableQuantity
int getMinimumConsumableQuantity()- Returns:
- The minimum consumptions this item allows in a loadout. For example if you don't want to withdraw 1 dose potions but 2-4 is ok, set this to 2.
-
getContained
- Specified by:
getContainedin interfaceItemEntry
-
contained
-