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
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:inventory [2020/12/27 16:21] – [Inventory] Update Inventory and SidedInventory to recent yarn names (thank you Arbee!) technici4ntutorial:inventory [2020/12/28 11:01] – oops yanis48
Line 158: Line 158:
     [...]     [...]
     @Override     @Override
-    public void fromTag(CompoundTag tag) { +    public void fromTag(BlockState state, CompoundTag tag) { 
-        super.fromTag(tag);+        super.fromTag(state, tag);
         Inventories.fromTag(tag,items);         Inventories.fromTag(tag,items);
     }     }
tutorial/inventory.txt · Last modified: 2023/11/06 23:28 by binaris00