Well, today as you may have noticed, Merkii posted a tutorial on how to make your own items(obesidian tools). I want to show you how to make your own blocks and how to use them with Merkii's tutorial. So check out his You must login or register to view this content. and download the pre-requirements. 
and double-click '
ECOMPILE.BAT'. Let that load and do its stuff. Once done (when it says "Press any key on the keyboard to continue") you should have a folder called 'SRC'. Now your ready to make your actual codes! 
Ok. Paste this inbetween 'public class mod_Block extends BaseMod' and 'public mod_Lally()'
'setBlockName("asdf")' is the name Minecraft recognizes it. I think. I just put 'asdf'. 'setLightValue(1.3F)' is how much light it will produce in dark places like GlowStone.
, Block.dirt
, Block.dirt ' is declaring that '*' is dirt. All together, your code should look like this:
, Block.dirt
, Block.dirt
public static final Block BlackDirtBlock = new BlockBlackDirt([COLOR="#FF0000"]13113[/COLOR],0)
public int idDropped(int i, Random random)
{
return Block.oreGold.blockID;
}
public int idDropped(int i, Random random)
{
[COLOR="#FF0000"]return mod_Lally.BlockNGU.blockID;[/COLOR]
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.