2. Messing with terrain generation! - 16Byte/PixelCraft GitHub Wiki

In this one we'll be looking at changing the stone blocks to your emerald block.

Let's get started!

Go ahead and open the TerrainGen Script and navigate down to line 62 where is says new BlockGrass

This is where the script actually starts placing all of the blocks. We're going to change which block it places however.

So instead of BlockGrass we're going to put our block "BlockEmerald"

It should look like this,

Now you can hit play in Unity and you'll see this!

Go ahead and mess around with this as much as you want! If you break it you can always re-download the project from the github source, www.github.com/16Byte/PixelCraft/

Have fun making more blocks!