Package com.botwithus.bot.api.inventory
package com.botwithus.bot.api.inventory
Inventory facades and the constants needed to build raw component
actions. Snapshot-backed reads (via
GameAPI.snapshot())
with cached ItemType lookups for
name resolution.
Standard usage:
if (api.backpack().isFull()) { ... }
api.backpack().interactFirst(LOG_ID, "Drop");
if (api.bank().contains("Coins", 1000)) { ... }
The facades (Backpack,
Bank,
Equipment) are singletons per
GameAPI; only the per-call result lists
allocate.
-
ClassDescriptionAction type IDs corresponding to the game's mini menu system.The local player's backpack (inv id 93, slot grid at iface 1473 comp 5).The bank inventory (inv id 95).Bank interface mode — standard transfer controls or preset selector.Side panel view alongside the bank grid.Bank transfer quantity, with its
BANK_CUSTOMOPvarbit value and its op on the item-slot menus.Bank withdraw mode: as item or as bank note.The local player's worn equipment (inv id 94, equipment iface 1464).Semantic equipment slot names paired with their in-game inventory indices.Snapshot-backed wrapper for one game inventory (backpack, bank, equipment, ...).