Chromatic Subtitles
Chromatic Subtitles 是 haykam821 的 Colorful Subtitles 的一个延续分支(fork)。
根据声音类别更改字幕颜色。
该模组目前仅支持 Fabric,但计划支持 NeoForge。
安装
- 从项目发布页面下载 Chromatic Subtitles。
- 将下载的文件放入你的
mods文件夹中。
使用方法
安装此模组后,字幕会根据其声音类别自动显示为不同的颜色:
- Music(音乐):深紫色
- Records(唱片):深红色
- Weather(天气):青色
- Blocks(方块):绿色
- Hostile(敌对生物):红色
- Neutral(中立生物):黄色
- Players(玩家):金色
- Ambient(环境):灰色
- Voice(语音):淡紫色
- UI(用户界面):蓝色
配置
Chromatic Subtitles 会在以下位置创建配置文件:config/chromaticsubtitles.toml。如果存在旧版 Colorful Subtitles 的 JSON 配置文件(位于 config/colorfulsubtitles.json),它将在首次启动时转换为 config/chromaticsubtitles.toml。旧的 JSON 文件会保留在原处。
在开发过程中,如果不存在 TOML 格式的配置文件,现有的 config/chromaticsubtitles.json 文件也可以转换为新的 TOML 格式。
可以使用简单的颜色表单进行配置:
default_color = "white"
[colors]
music = "dark_purple"
record = "dark_red"
weather = "aqua"
block = "green"
hostile = "red"
neutral = "yellow"
player = "gold"
ambient = "gray"
voice = "light_purple"
ui = "blue"
或者在需要自定义背景颜色时使用表格表单:
default_color = "white"
[colors]
music = "dark_purple"
record = "dark_red"
[colors.weather]
text = "aqua"
background = "#002233"
[colors.hostile]
text = "red"
background = "#330000"
default_color 也支持表格表单:
[default_color]
text = "white"
background = "#000000"
颜色可以使用 Minecraft 格式化颜色名称(如 dark_purple)或十六进制颜色值(如 #AA00AA)。
许可证
本模组采用 MIT 许可证。 详情请参阅 LICENSE 文件。
Chromatic Subtitles
Chromatic Subtitles is a continuation fork of Colorful Subtitles by haykam821.
Changes subtitle colors based on their sound category.
The mod currently supports Fabric only, but NeoForge support is planned.
Installation
- Download Chromatic Subtitles from the project releases page.
- Place the downloaded file in your
modsfolder.
Usage
When this mod is installed, subtitles will automatically have a different color depending on their sound category:
- Music: dark purple
- Records: dark red
- Weather: aqua
- Blocks: green
- Hostile: red
- Neutral: yellow
- Players: gold
- Ambient: gray
- Voice: light purple
- UI: blue
Configuration
Chromatic Subtitles creates its config at: config/chromaticsubtitles.toml. If a legacy Colorful Subtitles JSON config
exists at: config/colorfulsubtitles.json, it will be converted to: config/chromaticsubtitles.toml on first launch.
The legacy JSON file is left in place.
During development, an existing config/chromaticsubtitles.json file can also be converted to the new TOML format if no
TOML config exists.
Colors can be configured with the simple color form:
default_color = "white"
[colors]
music = "dark_purple"
record = "dark_red"
weather = "aqua"
block = "green"
hostile = "red"
neutral = "yellow"
player = "gold"
ambient = "gray"
voice = "light_purple"
ui = "blue"
or with the table form when a custom background color is needed:
default_color = "white"
[colors]
music = "dark_purple"
record = "dark_red"
[colors.weather]
text = "aqua"
background = "#002233"
[colors.hostile]
text = "red"
background = "#330000"
default_color also supports the table form:
[default_color]
text = "white"
background = "#000000"
Colors can be Minecraft formatting color names, such as dark_purple, or hex colors, such as #AA00AA.
License
The mod is licensed under MIT License. See LICENSE file for details.
下载 Chromatic Subtitles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Chromatic Subtitles
下载 Chromatic Subtitles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Chromatic Subtitles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Chromatic Subtitles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Chromatic Subtitles
下载 Chromatic Subtitles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Chromatic Subtitles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Chromatic Subtitles
下载 Chromatic Subtitles
Chromatic Subtitles 2.3.0 新增了可选的 Cloth Config GUI 和全新的 v2 配置格式,提供适用于 Minecraft 26.1.2 和 26.3 的 Fabric 与 NeoForge 版本。
新增
- 在 Fabric(通过 Mod Menu)和 NeoForge 上提供可选的 Cloth Config GUI。如果未安装 Cloth Config,模组仍可正常运行,且不会显示配置按钮。
- 新增配置选项:
enabled、text_shadow、background_opacity、hide_background、hidden_sources,以及针对每个声音的sound_overrides。 - 在 GUI 中支持为每个来源设置文本颜色和背景颜色。
- 提供英文和中文翻译。
更改
text_shadow默认值设为true,以匹配原版字幕渲染效果。- 背景透明度现在可配置;各来源的背景颜色仍保持 RGB 格式。
- 更新 NeoForge 至 26.1.2.126 / 26.3.0.102。
- 更新构建工具至 Stonecutter 0.10。
注意事项
- Cloth Config 为可选依赖。Mod Menu 仅在 Fabric 上使用 GUI 时需要。
- 现有的 TOML 和旧版 JSON 配置文件会自动迁移。
MASTER使用default_color,不会出现在配置界面中。- 已有的字幕会保留其原有颜色,直到它们消失为止。
下载
| Minecraft | Fabric | NeoForge |
|---|---|---|
| 26.1.2 | chromaticsubtitles-fabric-2.3.0+26.1.2.jar |
chromaticsubtitles-neoforge-2.3.0+26.1.2.jar |
| 26.3 | chromaticsubtitles-fabric-2.3.0+26.3.jar |
chromaticsubtitles-neoforge-2.3.0+26.3.jar |
同时提供了源码包(Source jars)。
新增
- 支持 Minecraft 26.1.2 和 26.3 的 NeoForge。
- 为每个支持的 Minecraft 版本提供独立的 Fabric 和 NeoForge 构建版本。
更改
- 使用 Stonecutter 和 Architectury Loom 重构了构建流程。
- 客户端初始化和配置处理现在与加载器无关。配置文件路径保持不变:
config/chromaticsubtitles.toml。
说明
- 本版本不包含 Minecraft 26.2;如需使用 26.2,请改用 2.1.0+26.2。
- 无游戏机制或配置格式变更。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧