Text Effects
by moehreag
Text Effects is a library for building styled text components, with pre-made effects and a registry for custom ones.
What it does
Developers get a TextEffect class with a few factory methods for common operations, plus a TextEffects class that provides several pre-made effects and small helper methods. Each effect is registered with an id, and registered effects can be serialized to and deserialized from components automatically. A new effect can be built on top of an existing one by combining them through TextEffect.
Some of the effects work with vanilla text components and are integrated into the game's own text handling. The format can also be produced from commands, for example by a tellraw command. Because component handling changed in version 26.1, the mod uses JSON components instead on the versions that need it, so the same effect is written differently depending on the game version.
Text Effects is published for Fabric, NeoForge and Ornithe, with files for 1.7.2 – 26.3 and snapshot builds included. The client needs the mod to display the effects, while a server can run without it. The code is released under the GNU Lesser General Public License v3.0 or later and is open source.
Key features
Factory methods
A TextEffect class offers a few factory methods that cover the common operations on effect text.
Pre-made effects
A TextEffects class supplies ready effects and helper methods, so common styling does not have to be written from scratch.
Registration handling
Effects are registered with an id, which lets the mod read and write them as components without extra code.
Combined effects
A new effect can be assembled from existing ones through TextEffect, building a custom style on top of a current one.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
36 older game versions (1.7.2 – 1.13.2) not shown. All files on Modrinth
Use cases
Mod developers
Authors of other mods can reuse the effect classes instead of writing their own text component logic.
Command output
Effects can be expressed in commands such as tellraw, for scripted text in datapacks and command blocks.
Who it’s for: Mod developers who need styled text components on Fabric, NeoForge or Ornithe. Players do not need to configure anything, since the effects are used by other mods and commands.
Questions
Does Text Effects have to be installed on the server?
Which loaders does Text Effects support?
Why do some versions use JSON components?
In the catalog
Text Effects is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.
More from moehreag
Similar mods
What the author says
A few factory methods for common operations are provided in the TextEffect class. Some pre-made effects are provided in the TextEffects class, with a few additional helper methods as well as registration handling. If you'd like to build on top of another effect you can use TextEffect#combine. Effects are…
Official listing
- Modrinth page
- modrinth.com/mod/text-effects
- Owner
- moehreag
- Published
- 2026-05-08
- Updated on Modrinth
- 2026-09-27
- Facts verified
- 2026-10-15
