Repository navigation
Home
Text Customiser is a Minecraft mod that allows you to customise the colour of text based on various properties such as colour, boldness, font, etc using resourcepacks.
Colour Override Definitions are the main way you will use this mod, read more on the main Colour Override Definition page
See the Examples page for some quick copy+paste examples to use as a base
See Packs using Text Customiser for some packs that use Text Customiser, which you can use as reference
To help with finding specific text colours, this mod adds a config option that logs the properties of all pieces of text the mod sees to the game output log. It will also say which colour override it was matched to (if any). Note that this is disabled on the next game launch to avoid accidental log spam in the background
To enable this:
- Click the Mods button in the title or pause screen (on fabric make sure Mod Menu is installed)
- Find Text Customiser
- Click the config button
- Enable "Log Text Styles"
After enabling this option, it's recommended to reload the resourcepacks to make sure all text information is logged. Below is an example of what this logging looks like:
[Render thread/INFO] [Text Customiser]: Seen (didn't match) style:
[color="#FFFFFF", shadow_color="#3F3F3F", bold=false, italic=false, underlined=true, strikethrough=false, obfuscated=false, font="minecraft:default", decoration_type="NONE"]
[Render thread/INFO] [Text Customiser]: Seen (and matched to 'eg_text_customiser:red_underline_for_white_text') style:
[color="#FFFFFF", shadow_color="#3F3F3F", bold=false, italic=false, underlined=true, strikethrough=false, obfuscated=false, font="minecraft:default", decoration_type="UNDERLINE"]
[Render thread/INFO] [Text Customiser]: Seen (didn't match) style:
[color="{dye=blue, glowing=true, is_glowing_outline=true}", bold=false, italic=false, underlined=false, strikethrough=false, obfuscated=false, font="minecraft:default", decoration_type="NONE"]I recommend installing the following mods while developing resourcepacks for this mod. While these are not necessary for the mod to function, they will help speed up pack development.
- Debug Keys Anywhere - Lets you use F3 + T while in menu screens, makes it much easier to see your changes in-game
- Codecium - Makes codec error messages much more readable, makes it easier to track down any errors that may occur while making colour overrides