User Tools

Site Tools


tutorial:blocks

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:blocks [2019/07/05 14:00] – [Registering a BlockItem] itemGroup() -> group() upcraftlptutorial:blocks [2019/11/14 22:00] fudge
Line 34: Line 34:
 </code> </code>
  
-Your block will //not// be accessible as an item, but it can be seen in-game by using /setblock ~ ~ ~ tutorial:example_block.+Your block will //not// be accessible as an item, but it can be seen in-game by using ''/setblock tutorial:example_block.''
  
 ==== Registering a BlockItem ==== ==== Registering a BlockItem ====
Line 159: Line 159:
  
 Your custom block should now be transparent! Your custom block should now be transparent!
 +==== Next Steps ====
 +[[tutorial:blockstate|Adding simple state to a block, like ints and booleans]]. 
 +
 +[[tutorial:blockentity|Giving blocks a block entity so they can have advanced state like inventories and classes]]. Also needed for many things like GUI and custom block rendering.
tutorial/blocks.txt · Last modified: 2024/04/15 01:52 by solidblock