Interactive Sorter

The interactive sorter is a peripheral with one inventory slot. It can provide information about the item and push and pull to connected inventories.

Functions

Function Returns Description
analyze() table item_info Returns item info about the item in the slot
push(string/number direction, number amount) boolean success Attempts to push the item to the inventory
pull(string/number direction, number amount, number slot_to_attempt_to_pull_from) boolean success Try to pull from an inventory
isInventoryPresent(string/number direction) boolean is_present Check if inventory is on the specified side