zh_cn:tutorial:spawn_egg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
zh_cn:tutorial:spawn_egg [2023/01/15 01:30] – [创建刷怪蛋] solidblock | zh_cn:tutorial:spawn_egg [2023/01/15 01:32] – [给刷怪蛋一个纹理] solidblock | ||
---|---|---|---|
Line 29: | Line 29: | ||
=====给刷怪蛋一个纹理===== | =====给刷怪蛋一个纹理===== | ||
如果您现在运行游戏,您的刷怪蛋将没有纹理,因此要为其添加纹理,您需要执行以下操作: | 如果您现在运行游戏,您的刷怪蛋将没有纹理,因此要为其添加纹理,您需要执行以下操作: | ||
- | <file javascript src/ | + | <file javascript src/ |
{ | { | ||
" | " | ||
Line 35: | Line 35: | ||
</ | </ | ||
- | 同时确保添加翻译到语言文件: | + | 同时确保添加翻译到[[lang|语言]]文件: |
- | <file javascript src/ | + | <file javascript src/ |
{ | { | ||
- | "item.modid.iron_golem_spawn_egg": | + | "item.tutorial.iron_golem_spawn_egg": |
+ | } | ||
+ | </ | ||
+ | <file javascript src/ | ||
+ | { | ||
+ | " | ||
} | } | ||
</ | </ |
zh_cn/tutorial/spawn_egg.txt · Last modified: 2023/01/15 01:33 by solidblock