Mineuniverse
Mods
RichLocalTextLib

RichLocalTextLib

MOD
Rich text support for translations
by ResonantVampireBee
Download Claim this project
420 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library
Advertisement Remove ads with Premium →

RichLokalТекстLib

RichLocalText is a library that allows modders and pack-makers to use translated rich text.
Easily add font styles and colors anywhere without code!

Installation

Drop the .jar into the /mods folder, and enjoy rich localization text.
Requires no other dependencies.

*resourcepack utilizing the Rich™ Lokal™ Текст™ Capabilities™ not included.

Usage

Use /tellraw-like format in language files.
When overriding a string that has format placeholders use {"index":n} instead;

Example, changing the default chat text format: screenshot of code
N.B.: If your first text component is styled, all components after it will inherit its style. This is a Minecraft quirk that we are not going to fix.

This results in text like this:
screenshot of rich text

1.0.0 (1.16.5 Forge)
MC 1.16.5, Forge
Release 2021-10-10 Get
1.0.0 (1.16.5 Fabric)
MC Fabric, 1.16.5
Release 2021-10-10 Get
1.0.0 (1.17 Forge)
MC 1.17.1, Forge
Release 2021-10-10 Get
1.0.0 (1.17 Fabric)
MC 1.17.1, Fabric
Release 2021-10-10 Get

More from ResonantVampireBee

Advertisement Remove ads with Premium →

You Might Also Like