zh_cn:tutorial:inventory
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:inventory [2021/09/25 14:37] – [实现Inventory接口] solidblock | zh_cn:tutorial:inventory [2021/09/25 14:39] – solidblock | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== 在方块中存储物品 |
- | 阅读本教程之前,请确保您已将[[tutorial: | + | 阅读本教程之前,请确保已经做好了[[zh_cn:tutorial: |
- | 将物品存储在BlockEntity中的标准方法是使其成为'' | + | 将物品存储在 BlockEntity(方块实体)中的标准方法是使其成为'' |
- | 这使得漏斗(或其他mods)无需任何额外的工作即可从您的BlockEntity放入和提取物品。 | + | ===== 实现 Inventory 接口 ===== |
- | ===== 实现Inventory接口 ===== | + | |
'' | '' | ||
<code java ImplementedInventory.java> | <code java ImplementedInventory.java> |
zh_cn/tutorial/inventory.txt · Last modified: 2023/08/28 10:14 by wjz_p