zh_cn:tutorial:terms
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zh_cn:tutorial:terms [2019/12/18 10:21] – created lightcolour | zh_cn:tutorial:terms [2022/03/20 13:33] (current) – [Mod ID] solidblock | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | + | 在开始用 | |
- | Before starting with Fabric | + | |
==== Mod ID ==== | ==== Mod ID ==== | ||
- | Throughout the documentation, | ||
- | A mod ID is often a compact version of the name of the mod which makes it short but recognizeable and prevents naming conflicts. Conventionally, | + | 在整个文档中,我们经常会提到 Mod ID 或代码中的 modid。 Mod ID 代表 Mod 标识符(Mod Identifier),它是一个字符串,应该唯一地标识你的 |
+ | |||
+ | Mod ID 通常是 | ||
+ | |||
+ | 一些入门教程将使用占位符 mod ID 并在占位符命名空间下注册物品和方块,你可以将其视为入门模板。Fabric Wiki 统一使用 '' | ||
+ | |||
+ | ==== 标签(Tags) ==== | ||
+ | |||
+ | 标签是由一系列拥有相似属性的方块、物品或流体组成的,例如标签 '' | ||
+ | |||
+ | 前往[[https:// | ||
+ | |||
+ | ==== Entry Points 和 Initializers ==== | ||
+ | |||
+ | Fabric Loader 使用 '' | ||
+ | |||
+ | 一个 mod 通常包含至少一个 Initializer 类,这个类应该实现了 '' | ||
+ | |||
+ | <code java> | ||
+ | { | ||
+ | [...] | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | ] | ||
+ | } | ||
+ | [...] | ||
+ | } | ||
+ | </ | ||
- | Some of the starter tutorials will use a placeholder mod ID and register items and blocks under a placeholder namespace, and you can think of it as a starter template-- while leaving this unchanged is not dangerous for testing, remember to change it if you intend to release your project. | + | 为了实现 Mod Initializer 系列接口,你必须实现 '' |
- | ==== Tags ==== | + | 此外,也有一个名称为 '' |
- | Draft. Edit it. | + | |
- | Convention namespace for tags is '' | + | ==== Maven Group 和 Package 的名称 ==== |
- | ==== Maven Group & Package Names ==== | + | 根据 |
- | According to Oracle' | + |
zh_cn/tutorial/terms.1576664479.txt.gz · Last modified: 2019/12/18 10:21 by lightcolour