Download 物品名稱支援文字組件│Item Names Support Text Components — Minecraft Mods — MetaMods

物品名稱支援文字組件│Item Names Support Text Components

Active

Downloads

0

Last update

3 months ago

Versions

1.21.5
Server
Fabric
Forge
Neoforge
Quilt
Decor
Game mechanics
Game optimization

Functionality

Text components are a technical feature that allows controlling text color, various effects, and other parameters. Unfortunately, when renaming items in survival mode using an anvil, if you enter a name composed of text components, it won't work properly. With this data pack, when you rename an item through an anvil, enter a name using text components, and then take the item into your inventory, the item's name is converted to the text content defined by these components.

If you're not familiar with using text components, don't worry - below are the most common name styling examples with component samples.

Popular Text Components

  1. {text:"<name>",italic:false}

    • Note: replace <name> with your desired item name
    • Purpose: makes the item name non-italic
  2. {text:"<name>",color:<color>}

    • Note: replace <name> with the item name, replace <color> with the desired color
    • Purpose: changes the text color

Additional Information

For more detailed information about text components, it's recommended to refer to the official Minecraft documentation.

Project members
special_TT

special_TT

Developer

Created: 19 Jul 2025

ID: 257656