User Tools

Site Tools


tutorial:blockentity

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:blockentity [2020/02/09 12:46] – mapping update juuztutorial:blockentity [2020/03/30 20:40] draylar
Line 35: Line 35:
 } }
 </code> </code>
 +
 +==== Connecting a Block Entity to a Block ====
  
 Once your ''BlockEntityType'' has been created and registered as seen above, you can simply implement ''BlockEntityProvider'' in your ''Block'' class: Once your ''BlockEntityType'' has been created and registered as seen above, you can simply implement ''BlockEntityProvider'' in your ''Block'' class:
tutorial/blockentity.txt · Last modified: 2023/09/20 19:18 by haykam