User Tools

Site Tools


tutorial:inventory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:inventory [2024/08/27 03:03] solidblocktutorial:inventory [2025/03/30 22:06] (current) – [Storing items in a block as an Inventory] technici4n
Line 2: Line 2:
 Make sure you've [[tutorial:blockentity|made a block entity]] before reading this tutorial.   Make sure you've [[tutorial:blockentity|made a block entity]] before reading this tutorial.  
  
-The standard way to store items in a BlockEntity is to make it an ''Inventory''. This allows hoppers (or other mods) to insert and extract items from your BlockEntity without any extra work.+The simplest way to store items in a BlockEntity is to make it an ''Inventory''. This allows hoppers (or other mods) to insert and extract items from your BlockEntity without any extra work. For more flexible and complex ways to store items, refer to the [[tutorial:transfer-api_item_storage|Item transfer with Storage<ItemVariant>]] tutorial.
  
 This tutorial is written for 1.21. For older versions, some methods may change. This tutorial is written for 1.21. For older versions, some methods may change.
tutorial/inventory.1724727807.txt.gz · Last modified: 2024/08/27 03:03 by solidblock