Home›Java›Datapacks›Item Names Support Text Components│物品名稱支援文字組件
Item Names Support Text Components│物品名稱支援文字組件
DatapacksJava

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

Java data pack listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Special_TT · on Modrinth

You can use item components when renaming items with an anvil to add more variety to the names.│你可以在使用鐵砧為物品重命名時使用物品元件來使名稱有更多花樣。

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.9–1.21.11 · Data pack⬇ Download for 1.21.5–1.21.7 · Data pack⬇ Download for 1.21.9–1.21.11 · Fabric⬇ Download for 1.21.5–1.21.7 · Fabric⬇ Download for 1.21.9–1.21.11 · Forge⬇ Download for 1.21.5–1.21.7 · Forge⬇ Download for 1.21.9–1.21.11 · NeoForge⬇ Download for 1.21.5–1.21.7 · NeoForge⬇ Download for 1.21.9–1.21.11 · Quilt⬇ Download for 1.21.5–1.21.7 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Function│功能

Text components are a technical feature that controls text color, text effects, and more. Unfortunately, when you rename an item in survival mode using an anvil, if you enter a name composed of text components, it will not work. With this data pack, when you rename an item using an anvil, enter a name composed of text components, and then take the item out of your inventory, the item's name will be converted to the text content defined by the text component.│文字元件是一個技術性功能,它可以控制文字顏色、文字效果等等。遺憾的是,在生存模式中使用鐵砧給物品重命名時,如果輸入用文字組件組成的名稱,那麼它不會起作用。有了這個資料包,當你使用鐵砧給物品重命名時,輸入用文字組件組成的名稱,並將該物品取出放入物品欄,該物品的名稱就會轉換為文字組件所定義的文字內容。

However, it doesn’t matter if you don’t know how to use text components. The following content will provide you with text component content with commonly used name styles.│不過,如果你不會使用文字組件也沒有關係,以下內容會為你提供常用的名稱樣式的文字組件內容。

Frequently used text components│常用文字組件

  1. {text:"",italic:false}
    • Note: Please fill in your custom item name│備註:請填入你自訂的物品名稱
    • Function: Make item names not italic│功能:使物品名稱不是斜體
  2. {text:"",color:}
    • Note: Please fill in your custom item name, Please fill in your custom item color│備註:請填入你自訂的物品名稱、請填入你自訂的物品顏色
    • Function: Change the color of text│功能:改變文字的顏色
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more