Описание
Enchantment Desc adds **short enchantment descriptions** to item tooltips.
It is designed to work **server-side** (tooltips are sent via item components), so players can see enchantment explanations without needing a client-side mod.
## Features
- **Name + description per enchantment**
- For items and enchanted books with multiple enchantments, each enchantment is shown as:
- Enchantment name (with level)
- Description lines directly underneath
- **Works for enchanted items and enchanted books**
- **Automatically updates results**
- **Anvil** combine
- **Grindstone** (including [grind-enchantments](https://modrinth.com/mod/grind-enchantments) workflows)
- **Command-friendly**
- Tooltips are refreshed when items are granted/modified via commands such as `/give` and `/enchant`.
## Configuration
Descriptions are loaded from the config file:
- `config/enchantment.json`
Format:
- Key: enchantment id
- You can use either:
- `minecraft:sharpness`
- `sharpness` (defaults to `minecraft:`)
- Value: description text
Example:
```json
{
"mending": "Repairs the item using experience.",
"minecraft:unbreaking": "Reduces durability damage."
}
```
## Compatibility notes
- **[NeoEnchant](https://modrinth.com/datapack/neoenchant)**
- If the mod [NeoEnchant](https://modrinth.com/datapack/neoenchant) is installed, Enchantment Desc will also read description entries from that mod.
- **[grind-enchantments](https://modrinth.com/mod/grind-enchantments)**
- Enchantment Desc refreshes grindstone output so descriptions appear on the resulting stack.