Sunday 24 May 2015

Common Mistakes in Blocks with variants

The diagram below shows the typical files needed to render a simple block with variants (BlockMT01).  The most common errors related to variants are highlighted. 


Note that for blockstates with multiple properties the order in the blockstates file  is important, i.e.
colour=red,facing=north 
won't match
facing=north,colour=red

For the list of symptoms that these errors produce, see here.

For common mistakes in Blocks that aren't related to variants, see here.
For common mistakes in Items, see here.
For common mistakes with filenames and directory structure, see here.

2 comments:

  1. Thank you for this information. I'm still having problems though. Where is the best place to get help regarding a block with variants?

    ReplyDelete
  2. Hi
    Try posting your question (with code and error log) on this forum
    http://www.minecraftforge.net/forum/index.php/board,73.0.html

    -TGG

    ReplyDelete