You can call OreDictionary.registerOre from any class as long as it's done in the init phase (i.e. called from the @EventHandler method with the FMLInitializationEvent argument). I'd recommend creating a class that adds all of your mod's recipes and adding any Ore Dictionary entries in there as well.
thanks, it worked! I'm begginer in mod creation! XD
Call one of the overloads of OreDictionary.registerOre in the init phase with the Block, Item or ItemStack you want to add to the Ore Dictionary and the ore name to add it under (e.g. oreCopper, gemRuby, ingotBrass).
Can i put the ore registration in the main class or not...
0
thanks, it worked! I'm begginer in mod creation! XD
0
Can i put the ore registration in the main class or not...
0
[HELP] Adding an ore to Ore Dictionary [1.7.10]
[FORGE]
I need help to add an modded ore to OreDic.
Minecraft----> modded Minecraft 1.7.10
Program-----> Eclipse