跳到正文

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

作者:Special_TT

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│常用文字組件

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

常见问题

Item Names Support Text Components│物品名稱支援文字組件 支持哪些 Minecraft 版本?

Item Names Support Text Components│物品名稱支援文字組件 支持 Minecraft Java 版 1.21.5–1.21.11,共 6 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Item Names Support Text Components│物品名稱支援文字組件 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Special_TT 的其他作品

查看全部 →