本模组包含两个关于文本格式化代码的功能!
功能 1. 输入 '§' 并进行装饰
你可以在图形界面(GUI)中输入节符号 '§',并对聊天、告示牌、物品名称、生物名称、世界名称等进行装饰。
请参阅 格式化代码 的 wiki。
格式化范围由一组格式化代码组成。
在范围的开始处,会保存当前的格式化代码;在格式化范围的末尾,将恢复保存的格式化代码。

格式化范围是可嵌套的,可以通过增加 '{' 和 '}' 的数量来转义 '}'。('{' 的数量没有限制。)

功能 2. 添加新的格式化代码
对于模组开发者来说,这是一个库模组,允许你添加新的格式化代码。
API 文档和 wiki 页面目前仍在建设中。
2
注意事项:
- 这是一个同时适用于客户端和服务器的模组。
- 欢迎在任何整合包中使用此模组。
模组兼容性:
正在准备中...
- Optifine
- Smooth Font
- Better Line Break
模组不兼容项:
- 任何修改
FontRenderer.class的其他模组
This mod has two features about text formatting code!
Feature 1. Typing '§' and Decorating
You can input section sign '§' in GUI and decorate chat, sign, item name, mob name, world name, etc.
See the wiki of Formatting Codes.
Formatting Range is a Stack of formatting code.
At the start of range, current formatting codes are saved, and at the end of Formatting Range, restore the saved formatting codes.

Formatting Range is nestable and can escape '}' by increasing '{'s and '}'s. (The number of '{' is not limited.)

Feature 2. Adding New Formatting Codes
For modders, this is a library mod that allows you to add new formatting codes.
API documents and wiki pages are currently under construction.
2
Notes:
- This is a both(client and server)-side mod.
- Feel free to use this mod in any modpacks.
Mod Compatibilities:
Preparing now...
- Optifine
- Smooth Font
- Better Line Break
Mod Incompatibilities:
- Any other mods that modify FontRenderer.class
下载 Better Formatting Code
下载 Better Formatting Code
下载 Better Formatting Code
下载 Better Formatting Code
下载 Better Formatting Code
下载 Better Formatting Code
下载 Better Formatting Code
更新内容
- 对 stencil-text API 进行了大量优化改动。
- 修复了 FontRenderer.fontRandom 的种子,使其在普通文本和阴影文本之间保持一致。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧