Ever want to make a new ore in minecraft? Well here you go, just copy the coding and bam!!! Mcp needs to be setup as well, but i wont explain that, you have to look it up.
Heres the coding:
package net.minecraft.src; public class mod_Emeralds extends BaseMod { public static final Block emeraldOre = new BlockEmeraldOre(122, 0).setHardness(2.0F).setResistance(5.0F).setBlockName("emeraldOre" public mod_Emeralds() { ModLoader.RegisterBlock(emeraldOre); emeraldOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/tutorials/emeraldore.png" ModLoader.AddName(emeraldOre, "Emerald Ore" } public String Version() { return "1.8.1"; } }