Interface IBankInventoryItem

All Superinterfaces:
Identifiable, IItem, Interactable, Nameable, RuneLiteWrapper<net.runelite.api.Item>

public interface IBankInventoryItem extends IItem
Represents an inventory item as visible within the bank interface with deposit capabilities.

This interface extends IItem with methods specific to depositing items into the bank. It represents items in the inventory panel that appears alongside the bank interface when the bank is open.

Usage notes:

  • The bank interface must be open to interact with these items
  • Items are deposited from the player's inventory into the bank
  • Depositing noted items will convert them to un-noted form in the bank

See Also:
  • IItem
  • invalid reference
    IBank
  • invalid reference
    IBankInventory
  • IBankItem
  • Method Details

    • deposit

      void deposit(int amount)
      Deposits a specific amount of this item into the bank.

      The specified quantity will be moved from the inventory to the bank. If the specified amount exceeds the quantity in inventory, only the available amount will be deposited.

      Parameters:
      amount - the number of items to deposit
    • depositAll

      void depositAll()
      Deposits all of this item into the bank.

      All items of this type in the inventory will be transferred to the bank.