MinecraftForge/MinecraftForge — pull request #297 by Exsaliver (2012-12-06 16:39:05+00:00)
Title: Ore Dictionary API

The class used by
http://www.minecraftforum.net/topic/1591777-mod-api-genoredictionary-one-world-one-ore/ so now modders can register thier ores to the dictionary.
also Minecraft base class change required:
Class: World
From:
public boolean setBlockAndMetadata(int par1, int par2, int par3, int par4, int par5)
{
return this.setBlockAndMetadataWithUpdate(par1, par2, par3, par4, par5, true);
}

To:
public boolean setBlockAndMetadata(int par1, int par2, int par3, int par4, int par5)
{
return this.setBlockAndMetadataWithUpdate(par1, par2, par3, GenOreDictionary.oreMasterID(par4), par5, true);
}