BlockSilicon.java
package net.minecraft.src;
import java.util.Random;
public class BlockSilicon extends Block
{
public BlockSilicon(int i)
{
super(i, 0, Material.rock);
}
public int idDropped(int i, Random random, int j)
{
return Block.BlockSilicon.blockID;
}
public int quantityDropped(Random random)
{
return 1;
}
}
diff Block.java
blockSilicon = (new BlockSilicon(ID)).setHardness(5.0F).setResistance(15F).setStepSound(Block.soundStoneFootstep).setBlockName("Блок Кремния(Шахтерского)");
diff CraftingManager.java
addRecipe(new ItemStack(blockSilicon, 1), new Object[]
{
"###", "###", "###", '#', Item.silicon
});
addRecipe(new ItemStack(Item.silicon, 9), new Object[]
{
"#", '#', blockSilicon
});
P.S. не забудь указать автора :3