介绍
中文介绍正在准备中,下面暂时显示原文。
Lingua Peripherals
A CC: Tweaked addon mod for Minecraft 1.21.1 (NeoForge) and 1.20.1 (Forge), adding language-related peripherals controllable via Computers. From text-to-speech to data display, from file storage to audio playback — Lingua Peripherals enriches the CC:Tweaked ecosystem with speech, text, and audio capabilities.
Features
🗣 Speech Synthesis
- Narrator — A TTS block using Minecraft’s built-in Narrator system. Exposed as a CC peripheral with
playVoice(text, rad)for distance-based speech broadcast. - Creative Narrator — An indestructible variant with
globalVoice(text)for cross-dimension, server-wide announcements. - Chinese text support — Input non-ASCII characters via
\uXXXXUnicode escape sequences. - Online converter — Unicode escape converter, paste Chinese → instant CC-compatible output.
voice_finishedevent — Enables sequential multi-segment speech playback.- Configurable — Max range (default 128 blocks) and speech frequency interval adjustable via config file.
📀 Cassette Drive & Audio Playback
- Cassette Drive — A single-slot drive block that accepts cassette tapes. Functions as a CC peripheral with data I/O and DFPWM audio playback.
- Cassette Tape — A dyeable item in 16 colors, crafted with dyes in a crafting table. Stores up to 1 MB of data (configurable).
- Data I/O API —
open(mode)returns a Luaio-compatible file handle supportingread/write/writeLine/seek/close. - Audio playback API —
playTape()/pauseTape()/stopTape()/seekTape(seconds)control DFPWM audio playback. Position and volume can be queried and adjusted in real time. saveAudioAPI — Encode a PCM sample table directly from CC code to DFPWM format and write it to tape.- Redstone control — A redstone pulse triggers playback from the beginning; comparator outputs strength 15 while playing.
- Playback events —
tape_play_start/tape_play_endevents for CC computers to listen on. - Audio sources — Supports both CC
cc.audio.dfpwmlibrary output and raw ffmpeg DFPWM files. - Volume system — Audible range =
max(volume, 1.0) × 16meters, with spherical distance attenuation. Upper limit configurable (default 3.0).
📺 Display Peripherals (zero new blocks)
Place a Computer adjacent to these existing blocks to use them as peripherals:
- Sign Display (
sign_display) — Read/write 4 lines of text on vanilla wood/iron signs. - Lectern Display (
lectern_display) — Page-based read/write of Book & Quill on lecterns, with add/delete page support. - Flap Display (
flap_display) — Control Create mod’s Flap Displays. Only enabled when Create is detected at runtime.
All display peripherals support \uXXXX Unicode escape sequences for Chinese text input.
🔧 General
- Wrench support — Right-click to rotate blocks; Shift + right-click to dismantle and return to inventory.
- JEI integration — 16 cassette tape subtypes by dye color, visible in recipe book.
- Multi-language — 中文, English, 日本語, 한국어.
- Crafting recipes — Narrator (CC Speaker + Skull); Cassette Drive and Cassette Tape are craftable.
- License — CC BY-NC-SA 4.0.
Links
- GitHub: github.com/Dr-Asm/Lingua-Peripherals
- Unicode escape converter: unicode-converter.soe-hentai.win
- MCMod (MCMOD.cn): https://www.mcmod.cn/class/28025.html
常见问题
Lingua Peripherals 支持哪些 Minecraft 版本?
Lingua Peripherals 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Lingua Peripherals 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分