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
tutorial:blocks [2025/04/01 08:55] solidblocktutorial:blocks [2025/04/02 01:13] (current) – [Giving your Block Visuals] solidblock
Line 173: Line 173:
   * //For version 1.21.4 and above:// Item Model: ''src/main/resources/assets/tutorial/items/example_block.json''   * //For version 1.21.4 and above:// Item Model: ''src/main/resources/assets/tutorial/items/example_block.json''
  
-The blockstate definition file determines which model a block should use depending on its blockstate. Our block doesn't have any potential states, so we cover everything with ''""''+The blockstate definition file determines which model a block should use depending on its blockstate. Our block doesn't have any properties so it has only one state, so we cover everything with ''%%""%%''
  
 <code JavaScript src/main/resources/assets/tutorial/blockstates/example_block.json> <code JavaScript src/main/resources/assets/tutorial/blockstates/example_block.json>
tutorial/blocks.txt · Last modified: 2025/04/02 01:13 by solidblock