Uses of Class
privbot.hooks.Inventory
Packages that use Inventory
Package
Description
Plugin-scoped runtime:
PrivContext and
GameThread.ctx.* facades: inventory, bank, NPCs, widgets, and the other one-liners.-
Uses of Inventory in privbot.context
Fields in privbot.context declared as Inventory -
Uses of Inventory in privbot.hooks
Methods in privbot.hooks with parameters of type InventoryModifier and TypeMethodDescriptionstatic PrivItemInventoryFoodQueries.firstByNamePatternsPreferEat(Inventory inventory, String... namePatterns) The first carried item whose name contains one ofnamePatterns, preferring items that listInventoryFoodQueries.EAT_ACTION(for servers whose item definitions report wrong actions); lowest potion dose, then lowest slot, first.static PrivItemInventoryFoodQueries.firstWithEatAction(Inventory inventory) The first carried item (no placeholders) whose actions includeInventoryFoodQueries.EAT_ACTION. -
Uses of Inventory in privbot.task
Fields in privbot.task declared as InventoryModifier and TypeFieldDescriptionfinal InventoryPrivTaskContext.inventorySame object asPrivContext.inventory.