CC: Item Utils
作者:rebot | 分类:模组
Minecraft 版本: 1.20.1
平台: fabric
标签: management storage technology
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
请登录后举报
暂无评论,抢个沙发吧~