User Tools

Site Tools


tutorial:containers

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:containers [2020/02/27 13:45] – Update BlockEntity part mkpolitutorial:containers [2020/02/27 16:19] – [Orgnizing] typo mkpoli
Line 88: Line 88:
 BlockEntities are used for managing container inventories. Actually, it implements Inventory interface. BlockEntities are used for managing container inventories. Actually, it implements Inventory interface.
  
-<code java [enable_line_numbers="true"] BiggerChestBlockEntity>+<code java [enable_line_numbers="true"] BiggerChestBlockEntity.java>
 public class BiggerChestBlockEntity extends LootableContainerBlockEntity { public class BiggerChestBlockEntity extends LootableContainerBlockEntity {
     private DefaultedList<ItemStack> inventory;     private DefaultedList<ItemStack> inventory;
Line 265: Line 265:
 </code> </code>
  
-==== Orgnizing ====+==== Organizing ====
 After all the steps, you should have your ExampleMod Class and ExampleClientMod Class as such: After all the steps, you should have your ExampleMod Class and ExampleClientMod Class as such:
  
tutorial/containers.txt · Last modified: 2022/05/27 15:57 by solidblock