亮点
- 支持使用任何编程语言(只要支持 JSON 和 TCP)的程序来调试红石计算机
- 特别地,提供了一个 Python 库以简化开发
- 该 Python 库采用异步网络通信,提供高级 API、用户友好的 CLI 并支持静态类型检查。
- 特别地,提供了一个 Python 库以简化开发
- 支持任意大小和形状的红石线,包括水平、垂直甚至对角线方向
- 为所有命令的每个参数提供补全和建议
- 仅服务端实现,完全兼容原版客户端
- 兼容由其他模组实现的刻速控制、步进和暂停功能
- 内置英文和简体中文翻译
安装
本模组支持 Minecraft 1.16–1.19.3,需要 Java 17、最新版本的 Fabric Loader 和最新版本的 Fabric API。
多人游戏仅需安装服务端,单人游戏则需安装客户端。
使用提供的 Python 库需要 Python 3.7.2 或更高版本(CPython 或 PyPy)。
$ pip install redstone-computer-utilities
或者
# pyproject.toml
redstone-computer-utilities = "^0.2.0"
基本用法
- 执行
/rcu获取一根法杖物品(也可以自行选择粉色染料)。 - 将目标方块附着到待调试的红石机械中的红石线上。
- 使用法杖左键点击以选择最高有效位,右键点击以选择最低有效位。
- 执行
/rcu new [接口名称]创建接口。 - 编写调试程序并将其封装为脚本。
- 启动脚本。
- 执行
/rcu run [脚本名称] [接口名称]运行脚本。
如果耗时过长,您也可以加速刻速。
有关更多详细信息,请查阅 GitHub 仓库 NKID00/redstone-computer-utilities。
Highlights
- Empowers programs in any programming language (as long as it supports JSON and TCP) to debug redstone computers
- Specially, a Python library is provided to simplify development
- The Python library uses asynchronous network communication, features high-level APIs and a user-friendly CLI and supports static typing.
- Specially, a Python library is provided to simplify development
- Supports redstone wires in any sizes and shapes from horizontal, vertical to even diagonal ones
- Completions and suggestions for every argument of all commands
- Server-side-only implementation, fully compatible with vanilla clients
- Compatibility with tick speed controlling, stepping and pausing implemented by other mods
- Built-in English and Simplified Chinese translations
Installation
This mod supports Minecraft 1.16-1.19.3 and requires Java 17, the latest Fabric Loader and the latest Fabric API.
Only server-side installation is required for multiplayer and client-side installation is required for singleplayer.
Python 3.7.2 or newer (CPython or PyPy) is required to use the provided Python library.
$ pip install redstone-computer-utilities
or
# pyproject.toml
redstone-computer-utilities = "^0.2.0"
Basic Usage
- Execute
/rcuto receive a wand item (or pick a pink dye by yourself). - Attach target blocks to redstone wires of your redstone mechanics to be debugged.
- Left click with the wand item to select the most significant bit, right click to select the least significant bit.
- Execute
/rcu new [interface name]to create an interface. - Write debugging program and wrap it as a script.
- Start up the script.
- Execute
/rcu run [script name] [interface name]to run the script.
You may also accelerate tick speed if it takes too long.
Check the GitHub repository NKID00/redstone-computer-utilities for details.
下载 Redstone Computer Utilities
下载 Redstone Computer Utilities
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Redstone Computer Utilities
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Redstone Computer Utilities
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Redstone Computer Utilities
特性
- 移植至 MC1.19.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧