Interactive Sorter
The interactive sorter makes it easy for a computer to process items. It acts like an item buffer, holding up to one stack at a time.
Functions
Function | Returns | Description |
---|---|---|
analyze() | table result | Gathers information about the item in the sorter, the table has the keys: amount, stringId, numericalId, oreDictionaryEntries, meta, name, and nbt |
push(string or number direction[, number amount]) | boolean successful | Pushes the item in the sorter to the inventory in the provided direction |
pull(string or number direction[, number amount[, number slot]]) | boolean successful | Pulls an item from the inventory in the provided directino into the sorter |
isInventoryPresent(string or number directio) | boolean inventoryPresent | Checks if an inventory is present in the provided inventory |