跳到正文

CC: Item Utils

作者:H3mlin

A mod that adds a few nice item utilities in ComputerCraft fashion

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

  1. Place it down with a storage above (source) and a storage below (destination).
  2. Connect to a computer like you would any other peripheral.
  3. Get a reference to the peripheral as normal, using peripheral.wrap() or similar.
  4. Call on the .extract(itemId, amount) to extract a chosen amount of items from the source.
  5. 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

常见问题

CC: Item Utils 支持哪些 Minecraft 版本?

CC: Item Utils 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

CC: Item Utils 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

H3mlin 的其他作品

查看全部 →