跳到正文

CC: Terminals

作者:sashafiesta

GUI-based terminal peripheral blocks for CC:Tweaked.

收藏

截图

介绍

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

CC: Terminals

GUI-based (dumb) terminal peripheral blocks for CC:Tweaked.

Content

  • Terminal and Advanced Terminal blocks
  • Full term API exposed as a peripheral
  • computercraft:terminal_size data component support
  • Bundled terminal program with shell autocompletion
  • Compatibility with CC: Graphics (0.1.4+)

Blocks

  • Terminal – grayscale display, keyboard input
  • Advanced Terminal – color display, keyboard and mouse input

Events

Events fired on attached computers when a player interacts with the terminal GUI:

| Event | Arguments | Normal | Advanced |
|—|—|—|—|
| terminal_key | side, key, isRepeat | yes | yes |
| terminal_key_up | side, key | yes | yes |
| terminal_char | side, character | yes | yes |
| terminal_paste | side, text | yes | yes |
| terminal_mouse_click | side, button, x, y | no | yes |
| terminal_mouse_up | side, button, x, y | no | yes |
| terminal_mouse_drag | side, button, x, y | no | yes |
| terminal_mouse_scroll | side, direction, x, y | no | yes |

Programs

terminal <side> <program> [arguments]

Redirects output to the terminal peripheral and translates terminal_* events into standard events (key, char, mouse_click, etc.) so any program runs unmodified.

Requirements

Requires CC:Tweaked 1.117.0+ on Minecraft 1.21.1. Available for both Fabric and NeoForge.

常见问题

CC: Terminals 支持哪些 Minecraft 版本?

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

CC: Terminals 怎么安装?

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

评论

登录后评论和评分

sashafiesta 的其他作品

查看全部 →