Better Formatting Code

Better Formatting Code

Mod

A mod allows you to type section code in GUI and decorate texts!

Client and server

345 downloads
0 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

This mod has two features about text formatting code!

Better Formatting Code Example!

Feature 1. Typing '§' and Decorating

You can input section sign '§' in GUI and decorate chat, sign, item name, mob name, world name, etc.

See the wiki of Formatting Codes.

Formatting Range is a Stack of formatting code.

At the start of range, current formatting codes are saved, and at the end of Formatting Range, restore the saved formatting codes.

Formatting Range Example - Simple

Formatting Range is nestable and can escape '}' by increasing '{'s and '}'s. (The number of '{' is not limited.)

Formatting Range Example - Nesting and Escaping

Feature 2. Adding New Formatting Codes

For modders, this is a library mod that allows you to add new formatting codes.

API documents and wiki pages are currently under construction.

Notes:

  • This is a both(client and server)-side mod.
  • Feel free to use this mod in any modpacks.

Mod Compatibilities:

Preparing now...

  • Optifine
  • Smooth Font
  • Better Line Break

Mod Incompatibilities:

  • Any other mods that modify FontRenderer.class

Details

Licensed LGPL-2.1-only
Published 7 months ago
Updated 7 months ago