User Tools

Site Tools


zh_cn:tutorial:spawn_egg

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
zh_cn:tutorial:spawn_egg [2023/01/15 01:30] – [创建刷怪蛋] solidblockzh_cn:tutorial:spawn_egg [2023/01/15 01:32] – [给刷怪蛋一个纹理] solidblock
Line 29: Line 29:
 =====给刷怪蛋一个纹理===== =====给刷怪蛋一个纹理=====
 如果您现在运行游戏,您的刷怪蛋将没有纹理,因此要为其添加纹理,您需要执行以下操作: 如果您现在运行游戏,您的刷怪蛋将没有纹理,因此要为其添加纹理,您需要执行以下操作:
-<file javascript src/main/resources/assets/modid/models/item/iron_golem_spawn_egg.json>+<file javascript src/main/resources/assets/tutorial/models/item/iron_golem_spawn_egg.json>
 { {
   "parent": "item/template_spawn_egg"   "parent": "item/template_spawn_egg"
Line 35: Line 35:
 </file> </file>
  
-同时确保添加翻译到语言文件: +同时确保添加翻译到[[lang|语言]]文件: 
-<file javascript src/main/resources/assets/modid/lang/zh_cn.json>+<file javascript src/main/resources/assets/tutorial/lang/en_us.json>
 { {
-    "item.modid.iron_golem_spawn_egg": "铁傀儡刷怪蛋"+    "item.tutorial.iron_golem_spawn_egg": "Iron Golem Spawn Egg" 
 +
 +</file> 
 +<file javascript src/main/resources/assets/tutorial/lang/zh_cn.json> 
 +
 +    "item.tutorial.iron_golem_spawn_egg": "铁傀儡刷怪蛋"
 } }
 </file> </file>
zh_cn/tutorial/spawn_egg.txt · Last modified: 2023/01/15 01:33 by solidblock