zh_cn:tutorial:blockentity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
zh_cn:tutorial:blockentity [2022/08/08 04:26] – external edit 127.0.0.1 | zh_cn:tutorial:blockentity [2023/09/03 01:37] (current) – [序列化数据] wjz_p | ||
---|---|---|---|
Line 28: | Line 28: | ||
<code java> | <code java> | ||
public static final BlockEntityType< | public static final BlockEntityType< | ||
- | | + | |
new Identifier(" | new Identifier(" | ||
FabricBlockEntityTypeBuilder.create(DemoBlockEntity:: | FabricBlockEntityTypeBuilder.create(DemoBlockEntity:: | ||
Line 54: | Line 54: | ||
===== 序列化数据 ===== | ===== 序列化数据 ===== | ||
- | 如果要将任何数据存储在 '' | + | 如果您想在 '' |
'' | '' |
zh_cn/tutorial/blockentity.txt · Last modified: 2023/09/03 01:37 by wjz_p