User Tools

Site Tools


tutorial:blockstate

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:blockstate [2019/08/29 07:47] – [Adding models for your blockstates] JavaScript formatting, add file names jamieswhiteshirttutorial:blockstate [2019/11/14 11:14] fudge
Line 8: Line 8:
 it would become harder and gain a hardness of ''2''   it would become harder and gain a hardness of ''2''  
      
-First we define the boolean property of the block - whether or not it is hard:+First we define the boolean property of the block - whether or not it is hard (careful not to import the wrong BooleanProperty!):
 <code java> <code java>
 public class MyBlock extends Block { public class MyBlock extends Block {
tutorial/blockstate.txt · Last modified: 2023/11/18 08:13 by solidblock