Interface InventoryType

All Superinterfaces:
ConfigType
All Known Implementing Classes:
InventoryTypeImpl

public interface InventoryType extends ConfigType
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The capacity of this inventory, as in the max amount of items it can hold.
    Gets the items that this inventory contains by default.

    Methods inherited from interface net.botwithus.rs3.game.js5.types.configs.ConfigType

    getId
  • Method Details

    • getCapacity

      int getCapacity()
      The capacity of this inventory, as in the max amount of items it can hold.
      Returns:
      The max amount of items that can be stored in inventories of this type.
    • getStockItems

      List<Item> getStockItems()
      Gets the items that this inventory contains by default.
      Returns:
      a non-null List of Items that this inventory contains by default