ItemContainer
Beginnernet.runelite.api
Represents a container of items, such as inventory, equipment, or bank. Provides methods to access and iterate through items.
Category
Game State
Methods
4
Properties
1
Methods (4)
Properties (1)
items
Item[]Array of items in the container (accessed via getItems() method)
java
1ItemContainer container = client.getItemContainer(InventoryID.INVENTORY);
2Item[] items = container.getItems();
3// items array contains all items in the container