tutorial:blocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:blocks [2019/05/28 18:23] – Trying file names on the JSON code blocks jamieswhiteshirt | tutorial:blocks [2019/05/30 11:47] – [Introduction] Explain the use of placeholders jamieswhiteshirt | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== Introduction ==== | ==== Introduction ==== | ||
- | To add a block to your mod, you will need to register a new instance of the Block class. For more control over your block, you can create a custom block class. We'll also look at adding a block model. | + | To add a block to your mod, you will need to register a new instance of the Block class. For more control over your block, you can create a custom block class. We'll also look at adding a block model. |
- | + | ||
- | | + | |
==== Creating a Block ==== | ==== Creating a Block ==== | ||
Line 94: | Line 92: | ||
<code JavaScript src/ | <code JavaScript src/ | ||
{ | { | ||
- | " | + | " |
} | } | ||
</ | </ |
tutorial/blocks.txt · Last modified: 2024/04/15 01:52 by solidblock