zh_cn:tutorial:terms
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
zh_cn:tutorial:terms [2019/12/18 10:31] – lightcolour | zh_cn:tutorial:terms [2020/11/04 08:27] – [Mod ID] fix machine translation solidblock | ||
---|---|---|---|
Line 5: | Line 5: | ||
==== Mod ID ==== | ==== Mod ID ==== | ||
- | 在整个文档中,我们通常会引用Mod ID或代码中的modid。 Mod ID代表'' | + | 在整个文档中,我们通常会引用Mod ID或代码中的modid。 Mod ID代表'' |
- | mod ID通常是mod名称的紧凑版本,使其简短但可识别并防止命名冲突。 按照惯例,名为'' | + | mod ID通常是mod名称的紧凑版本,使其简短但可识别并防止命名冲突。按照惯例,名为“My Project--”的项目可以称为'' |
- | 一些入门教程将使用占位符mod ID并在占位符命名空间下注册 物品 和 方块,您可以将其视为入门模板-尽管保持不变对测试来说并不危险,请记住要进行更改 | + | 一些入门教程将使用占位符mod ID并在占位符命名空间下注册物品和放块,您可以将其视为入门模板-尽管保持这个不变对测试影响不大,但请记住发布项目之前更改。 |
- | ==== 标签==== | + | ==== 标签 ==== |
- | Draft. Edit it.(草案) | + | Tags are groups of blocks, items, or fluids with similar properties, i.e. '' |
+ | Information about what to call tags for your mod can be found [[tutorial: | ||
- | Convention namespace for tags is '' | + | Read more on what tags are on the [[https:// |
+ | |||
+ | ==== Entry Points and Initializers ==== | ||
+ | Fabric Loader use '' | ||
+ | |||
+ | A mod usually contains at least one initializer class which should implement one of '' | ||
+ | |||
+ | <code java> | ||
+ | { | ||
+ | [...] | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | ] | ||
+ | } | ||
+ | [...] | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | By implementing Mod Initializer interfaces, you must implement an '' | ||
+ | |||
+ | Also, there is a block called | ||
==== Maven组和软件包名称 ==== | ==== Maven组和软件包名称 ==== | ||
- | 根据Oracle的Java文档,它们以小写形式编写,以避免与类或接口的名称冲突。 域名的反字用来启动名称(比如 aaa.com 反过来 com.aaa 就是包名)。 阅读更多[[https:// | + | 根据Oracle的Java文档,它们以小写形式编写,以避免与类或接口的名称冲突。域名反过来用作启动名称。阅读更多[[https:// |
zh_cn/tutorial/terms.txt · Last modified: 2022/03/20 13:33 by solidblock