文本样式
“让你的文字充满动态动画与特效!”
一款面向 Minecraft 的高级、模块化且高度可定制的文本效果系统。
? 描述
Text Styles 是对原始文本效果概念的强力重构与扩展。它引入了一套基于注册表的稳健系统,允许用户通过简单的标签实现深度个性化的文本动画。无论是在书中书写、在告示牌上留言,还是仅仅在聊天中交流,你现在都可以为文本添加移动、颜色循环以及独特的显现动画。
与其他简单的效果模组不同,Text Styles 专为兼容性和可扩展性而设计,允许其他模组轻松注册自己的样式和参数。
? 功能
- 基于注册表的系统:每种样式都是一个已注册的对象,便于扩展和维护。
- 深度个性化:效果的几乎所有方面(速度、距离、频率等)都可以通过标签参数进行调整。
- 简短别名:支持简短的标签名称和参数别名(例如
<wb d=5>代替<wobble distance=5>),非常适合书籍和告示牌等空间受限的区域。 - Minecraft 原生集成:样式使用 Codecs 进行序列化,确保其与 Minecraft 的文本系统、NBT 和 JSON 完美配合。
- 丰富的动画库:内置超过 15 种样式,包括 Wave、Rainbow、Glitch、Typewriter 等。
- 逐字符渲染:先进的渲染技术,支持平滑渐变和逐字符动画。
⚙️ 兼容性
- Minecraft 版本:
- 完全兼容 26+。
- 模组加载平台:
- Fabric:✅ 完全支持!
- NeoForge:✅ 完全支持!
- 模组兼容性:
- 适用于任何使用标准 Minecraft Components 的模组。
? 安装
- 下载模组:从 GitHub 或你喜欢的模组托管网站获取最新版本。
- 安装 Fabric 或 NeoForge:确保为你的 Minecraft 版本安装了 Fabric Loader 或 Neoforge Loader。
- 添加模组:将
.jar文件放入 Minecraft 实例的mods文件夹中。 - 启动游戏:启动 Minecraft 并开始尝试各种样式吧!
? 使用方法
只需将你的文本包裹在类似 <style_name params>your text</style_name> 的标签中即可。你可以使用完整名称或简短别名。
✅ 原版格式化支持
你现在可以在 < > 系统中使用所有官方 Minecraft 格式化代码:
颜色
<red>、<blue>、<gold>、<green>、<aqua>、<yellow>、<white>等。<dark_red>、<dark_blue>、<light_purple>等。- 旧版代码:
<§c>、<§4>、<§e>、<§l>等。 - 十六进制颜色:
<#ff0000>、<#00ffaa>、<#ffffff>
样式
<bold>或<b>→ 加粗<italic>或<i>→ 斜体<underline>或<u>→ 下划线<strikethrough>或<s>→ 删除线<obfuscated>或<k>→ 乱码<reset>或<r>→ 重置格式
?️ 可用样式与参数
| 样式 | 别名 | 参数(完整 / 简短) | 描述 |
|---|---|---|---|
| Wobble | wb |
distance/d, speed/s |
上下浮动运动。 |
| Shake | sh |
x, y, frequency/f |
随机抖动式移动。 |
| Wave | wv |
amplitude/a, frequency/f, speed/s, vertical/v |
流体般的波浪运动。 |
| Rainbow | rb |
speed/s, frequency/f, saturation/sat, brightness/bri |
在 HSB 颜色之间循环。 |
| Bounce | bn |
amplitude/a, speed/s, delay/dl |
跳跃/弹跳效果。 |
| Pulse | pl |
intensity/i, speed/s, delay/dl, color/c |
在缩放和颜色上脉冲变化。 |
| Fade | fd |
min_alpha/m, max_alpha/x, speed/s, delay/dl |
淡入淡出。 |
| Swing | sw |
amplitude/a, speed/s, delay/dl |
钟摆式的旋转。 |
| Glitch | gl |
intensity/i, frequency/f |
随机偏移和颜色闪烁。 |
| Turbulence | tb |
intensity/i, speed/s |
erratic 但平滑的移动。 |
| Gradient | gr |
color1/c1, color2/c2, speed/s, frequency/f |
两种颜色之间的平滑过渡。 |
| Typewriter | tw |
delay/dl, land/l, snap/sn |
逐个显示字符。 |
| Marquee | mq |
min/m, max/x, vertical/v |
滚动横幅效果。 |
| Shadow | sd |
color/c, x, y |
自定义偏移阴影。 |
| Show After | sa |
delay/dl |
隐藏文本指定时长后显示。 |
? 展示命令
你可以在游戏中运行以下命令来查看所有这些效果的实际演示:
/textstyles showcase
?️ 贡献与反馈
我们欢迎所有的贡献、想法和错误报告!
- 发现了 Bug?请在我们的 GitHub 上报告。
- 想要贡献代码?欢迎 Fork 该项目并提交 Pull Request。
? 许可证
本模组遵循 MIT License 授权。
❤️ 致谢
Text Styles 由 [RazorPlay01] 创建,旨在为 Minecraft 的文本带来更多表现力。感谢使用该模组!如果你喜欢它,请考虑给仓库点个 Star!
Text Styles
"Bring your text to life with dynamic animations and effects!"
An advanced, modular, and highly personalizable text effect system for Minecraft.
? Description
Text Styles is a powerful refactor and expansion of the original text effects concept. It introduces a robust, registry-based system that allows for deeply personalizable text animations using simple tags. Whether you're writing in a book, on a sign, or just chatting, you can now add movement, color cycles, and unique reveal animations to your text.
Unlike other simple effect mods, Text Styles is designed for compatibility and extensibility, allowing other mods to register their own styles and parameters easily.
? Features
- Registry-Based System: Every style is a registered object, making it easy to extend and maintain.
- Deeply Personalizable: Almost every aspect of an effect (speed, distance, frequency, etc.) can be adjusted via tag parameters.
- Short Aliases: Support for short tag names and parameter aliases (e.g.,
<wb d=5>instead of<wobble distance=5>), perfect for space-constrained areas like books and signs. - Minecraft Native Integration: Styles are serialized using Codecs, ensuring they work perfectly with Minecraft's text system, NBT, and JSON.
- Rich Animation Library: Over 15 built-in styles including Wave, Rainbow, Glitch, Typewriter, and more.
- Per-Glyph Rendering: Advanced rendering that allows for smooth gradients and per-character animations.
⚙️ Compatibility
- Minecraft Versions:
- Fully compatible with 26+.
- Modding Platforms:
- Fabric: ✅ Fully supported!
- NeoForge: ✅ Fully supported!
- Mod Compatibility:
- Works with any mod that uses standard Minecraft Components.
? Installation
- Download the mod: Grab the latest version from GitHub or your favorite mod hosting site.
- Install Fabric or NeoForge: Ensure you have Fabric Loader or Neoforge Loader installed for your Minecraft version.
- Add the mod: Place the
.jarfile into themodsfolder of your Minecraft instance. - Launch the game: Start Minecraft and start experimenting with styles!
? How to Use
Simply wrap your text in tags like <style_name params>your text</style_name>. You can use full names or short aliases.
✅ Vanilla Formatting Support
You can now use all official Minecraft formatting codes inside the < > system:
Colors
<red>,<blue>,<gold>,<green>,<aqua>,<yellow>,<white>, etc.<dark_red>,<dark_blue>,<light_purple>, etc.- Legacy codes:
<§c>,<§4>,<§e>,<§l>, etc. - Hex colors:
<#ff0000>,<#00ffaa>,<#ffffff>
Styles
<bold>or<b>→ Negrita<italic>or<i>→ Cursiva<underline>or<u>→ Subrayado<strikethrough>or<s>→ Tachado<obfuscated>or<k>→ Ofuscado<reset>or<r>→ Resetear formato
?️ Available Styles & Parameters
| Style | Alias | Parameters (Full / Short) | Description |
|---|---|---|---|
| Wobble | wb |
distance/d, speed/s |
Vertical bobbing motion. |
| Shake | sh |
x, y, frequency/f |
Random jittery movement. |
| Wave | wv |
amplitude/a, frequency/f, speed/s, vertical/v |
Fluid wave-like motion. |
| Rainbow | rb |
speed/s, frequency/f, saturation/sat, brightness/bri |
Cycles through HSB colors. |
| Bounce | bn |
amplitude/a, speed/s, delay/dl |
Jumping/bouncing effect. |
| Pulse | pl |
intensity/i, speed/s, delay/dl, color/c |
Pulses in scale and color. |
| Fade | fd |
min_alpha/m, max_alpha/x, speed/s, delay/dl |
Fades in and out. |
| Swing | sw |
amplitude/a, speed/s, delay/dl |
Pendulum-like rotation. |
| Glitch | gl |
intensity/i, frequency/f |
Random offsets and color flashes. |
| Turbulence | tb |
intensity/i, speed/s |
Erratic but smooth movement. |
| Gradient | gr |
color1/c1, color2/c2, speed/s, frequency/f |
Smooth transition between two colors. |
| Typewriter | tw |
delay/dl, land/l, snap/sn |
Reveals characters one by one. |
| Marquee | mq |
min/m, max/x, vertical/v |
Scrolling marquee effect. |
| Shadow | sd |
color/c, x, y |
Custom offset shadow. |
| Show After | sa |
delay/dl |
Hides text for a set duration. |
? Showcase Command
You can see all these effects in action in-game by running:
/textstyles showcase
?️ Contributing & Feedback
Contributions, ideas, and bug reports are always welcome!
- Found a bug? Report it on our GitHub.
- Want to contribute? Feel free to fork the project and submit a pull request.
? License
This mod is licensed under the MIT License.
❤️ Acknowledgments
Text Styles was created by [RazorPlay01] to bring more expressiveness to Minecraft's text. Thank you for using the mod! If you enjoy it, please consider leaving a star on the repository!
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Text Styles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧