ModMIT
CC: Item Utils
A mod that adds a few nice item utilities in ComputerCraft fashion
35
Downloads
0
Followers
3 months ago
Updated
📦
1
Versions
📖About CC: Item Utils
Welcome to CC: Item Utils
Adds useful item utilities to CC:Tweaked.
At the moment there's only the Item Extractor, which works as a peripheral to extract your item of choice from any storage above the block to any storage below it.
Using: The Item Extractor
- Place it down with a storage above (source) and a storage below (destination).
- Connect to a computer like you would any other peripheral.
- Get a reference to the peripheral as normal, using peripheral.wrap() or similar.
- Call on the .extract(itemId, amount) to extract a chosen amount of items from the source.
- Success.
The item extractor will always return the number of successful transfers.
If any of the storages are missing you will get a return of 0 and if there is an insufficient amount of items in the source storage it will only transfer what it can and return the value.
##GitHub
If you are interested in the source code it can be found at the mod's GitHub