styled renaming

Mod Overview
With the styled renaming mod, you can apply various colors and formatting when renaming items in an anvil. The functionality is based on Patbox's placeholder api. All details about usage possibilities can be found in the project documentation!
Available Formatting Options
All players can use built-in color tags like <red>, <blue>, and others, as well as apply any hexadecimal color codes through <color> tags or their abbreviated version <c>.
Various text styles are also supported: bold, italic, underlined, strikethrough, and obfuscated font.
Creating Gradients and Special Effects
To create smooth color transitions, you can use <gradient> (or <gr>) and <hard_gradient> (or <hgr>) tags. The package includes a ready-made <rainbow> tag for rainbow effects.
Usage Examples:
<red>My Swordturns into "My Sword" in red color<c #d4c8ff><b>styled</b> <c #f580ad>renamingcreates text with different colors and bold formatting
By default, the mod removes italic styling that usually appears when renaming items in an anvil.
(There are also additional tags available only to server operators.)
Installation and Requirements
The mod only needs to be installed on the server! However, installing it on the client provides additional quality-of-life features:
- Increased maximum length of the anvil text field to accommodate tags
- Display of tags when placing a renamed item back into an anvil
- Various minor improvements and fixes
For the mod to work, additional dependencies are required: polymer and text placeholder api, which need to be downloaded separately.
Credits to Developers
- Colorful anvils - served as the basis for part of this mod's code
- Patbox - creator of placeholder api and many other interesting modifications