Inventory
Types
Link copied to clipboard
enum DropPattern
A pattern, or order, to drop items in
Functions
Link copied to clipboard
Checks if any inventory item exists with any of the specified ids param id the item ids
Checks if any inventory item exists with any of the specified names param name the item names
Checks if any inventory item exists matching the specified filter param filter the item filter
Link copied to clipboard
Gets all inventory items
Link copied to clipboard
Sums the item stacks of all inventory items with the specified item ids
Sums the item stacks of all inventory items with the specified item names
Sums the item stacks of all inventory items matching the specified filter
Link copied to clipboard
Gets the number of open inventory slots
Link copied to clipboard
Gets the amount of filled inventory slots
Link copied to clipboard
Gets the selected inventory item, if an item is selected
Link copied to clipboard
Sorts the inventory by ids in the order they are specified
Sorts the inventory by names in the order they are specified
Sorts the inventory by the specified comparator