User Tools

Site Tools


zh_cn:tutorial:armor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
zh_cn:tutorial:armor [2023/08/19 12:16] – [创建盔甲材料类] wjz_pzh_cn:tutorial:armor [2024/08/23 13:24] (current) solidblock
Line 1: Line 1:
 +~~REDIRECT>https://docs.fabricmc.net/zh-cn/develop/items/custom-armor~~
 +:!: 本页已过时,请看上面的 Fabric Docs 教程。
 ====== 添加盔甲 ====== ====== 添加盔甲 ======
  
Line 171: Line 173:
 重复上述过程,完成其他物品。 重复上述过程,完成其他物品。
  
-要给予穿着的盔甲的纹理,只需要将X_layer_1.png和X_layer_2.png(其中X是你在你的盔甲材料类中选择参数)放到 'resources/assets/minecraft/textures/models/armor'+要给予穿着的盔甲的纹理,只需要将X_layer_1.png和X_layer_2.png(其中X是你在你的盔甲材料类中重载getName方法的返回值)放到 'resources/assets/**minecraft**/textures/models/armor'
  
  
zh_cn/tutorial/armor.1692447364.txt.gz · Last modified: 2023/08/19 12:16 by wjz_p