
578
1
CC: Terminals
GUI-based (dumb) terminal peripheral blocks for CC:Tweaked.
Content
- Terminal and Advanced Terminal blocks
- Full
termAPI exposed as a peripheral computercraft:terminal_sizedata component support- Bundled
terminalprogram 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.
Совместимость
Создатели
Детали
Лицензия:MIT
Опубликован:2 недели назад
Обновлён:2 недели назад
