zh_cn:tutorial:datagen_model
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
zh_cn:tutorial:datagen_model [2023/02/20 05:16] – [严格验证] solidblock | zh_cn:tutorial:datagen_model [2023/02/20 05:17] – [添加物品模型] Please do not use machine translation solidblock | ||
---|---|---|---|
Line 56: | Line 56: | ||
'' | '' | ||
- | 在这个例子中,我们重写上一个例子中的 '' | + | 在这个例子中,我们重写上一个例子中的 '' |
<code java> | <code java> | ||
- | public static Block SIMPLE_BLOCK = Registry.register(Registry.BLOCK, new Identifier(" | + | public static Block SIMPLE_BLOCK = Registry.register(Registries.BLOCK, new Identifier(" |
- | public static BlockItem SIMPLE_BLOCK_ITEM = Registry.register(Registry.ITEM, ..., new BlockItem(SIMPLE_BLOCK, | + | public static BlockItem SIMPLE_BLOCK_ITEM = Registry.register(Registries.ITEM, ..., new BlockItem(SIMPLE_BLOCK, |
// ... | // ... | ||
zh_cn/tutorial/datagen_model.txt · Last modified: 2023/02/24 10:41 by hanatomizu