
Item Names Support Text Components│物品名稱支援文字組件
You can use item components when renaming items with an anvil to add more variety to the names.│你可以在使用鐵砧為物品重命名時使用物品元件來使名稱有更多花樣。
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│常用文字組件
- {text:"
",italic:false} - Note:
Please fill in your custom item name│備註: 請填入你自訂的物品名稱 - Function: Make item names not italic│功能:使物品名稱不是斜體
- Note:
- {text:"
",color: } - Note:
Please fill in your custom item name, Please fill in your custom item color│備註: 請填入你自訂的物品名稱、 請填入你自訂的物品顏色 - Function: Change the color of text│功能:改變文字的顏色
- Note:
