Modrinth · Minecraft mod
RichLocalTextLib
Rich text support for translations
Quick answer
Which RichLocalTextLib release matches 1.17 Fabric?
RichLocalTextLib 1.0.0+1.17.1-fabric targets 1.17, 1.17.1 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.
Where it goes
Is RichLocalTextLib required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does RichLocalTextLib 1.0.0+1.17.1-fabric need?
1.0.0+1.17.1-fabric on 1.17 Fabric. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add RichLocalTextLib without breaking your instance.
Built for RichLocalTextLib 1.0.0+1.17.1-fabric on 1.17 Fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0+1.17.1-fabric. It targets 1.17, 1.17.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0+1.17.1-fabric. It opens that exact file at the source.
About this project
What does RichLocalTextLib add?
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:
//en_us.json
{
"chat.type.text":
[
"",
{"text":"A mysterious stranger known only as <", "color": "gray"},
{"index":0, "obfuscated": true},
{"text":"> uttered: \"", "color": "gray"},
{"index":1},
{"text":"\"", "color": "gray"}
]
}
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:
Project description from Modrinth.
Pick your setup
RichLocalTextLib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.17
1 loader build1.16.5
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
RichLocalTextLib versions and loaders
1.0.0+1.17.1-fabric
richlocaltextlib-1.0.0+1.17.1-fabric.jar
9 Oct 2021
Looking for an older file? The official Modrinth project page is in Resources.