Описание
# Use formatting codes in anvils to style your item names
[](https://discord.gg/ZPXPEXdQQ9)
This is an unofficial port of [Colorful Anvils](https://modrinth.com/mod/colorfulanvils) by rogi27 for Minecraft 1.21.8+.
## How to Use
1. Place an item in an anvil
2. Type your name with formatting codes (e.g. `&c&lFire Sword`)
3. Take the item, it now has colored text
Check the gallery for examples of each formatting style.
## No Character Limit
Vanilla Minecraft caps anvil input at 50 characters. This mod removes that cap entirely, so you can type long gradients, lore lines, and complex formatting without getting cut off.
## Formatting Codes
| Code | Effect |
|------|--------|
| `&0`–`&9`, `&a`–`&f` | Colors |
| `&l` | **Bold** |
| `&o` | *Italic* |
| `&n` | Underline |
| `&m` | ~~Strikethrough~~ |
| `&k` | Obfuscated |
| `&r` | Reset |
| `&#RRGGBB` | Hex color |
| `&&c` | Escape (shows literal `&c`) |
## Advanced
- `text` for gradients
- `text` for rainbow text
## Lore Support
Add lore lines using `|` as a separator:
- `&c&lFire Sword|&7Burns everything|&eDeals fire damage`
The part before the first `|` becomes the item name, everything after it becomes lore lines. Renaming without a `|` clears any lore that was already there.
## Server Config
The config file lives at `config/colorfulanvils.json`. It lets you toggle colors, formatting, hex, gradient, rainbow, and lore on or off individually. Permission support through fabric-permissions-api is available but off by default.
**Permissions** (when enabled):
- `colorfulanvils.use`: basic formatting
- `colorfulanvils.lore`: lore support
- `colorfulanvils.gradient`: gradient text
- `colorfulanvils.rainbow`: rainbow text
## Requirements
- Minecraft 1.21.8+
- Fabric Loader
- Fabric API
## Credits
- Original mod by [rogi27](https://modrinth.com/user/rogi27)
- Uses [Text Placeholder API](https://modrinth.com/mod/placeholder-api) by Patbox
## Bug Reports & Feature Requests
Found a bug or want a new feature? Join the Discord and let us know.
[](https://discord.gg/ZPXPEXdQQ9)