Added all ores to Oredict

This commit is contained in:
Gig 2015-04-12 14:59:29 +01:00
parent ee14540196
commit 961e8f047a

View file

@ -1,8 +1,9 @@
package techreborn.init;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import techreborn.blocks.BlockOre;
import techreborn.blocks.BlockQuantumChest;
import techreborn.blocks.BlockQuantumTank;
@ -15,6 +16,7 @@ import techreborn.tiles.TileQuantumChest;
import techreborn.tiles.TileQuantumTank;
import techreborn.tiles.TileThermalGenerator;
import techreborn.util.LogHelper;
import cpw.mods.fml.common.registry.GameRegistry;
public class ModBlocks {
@ -46,7 +48,18 @@ public class ModBlocks {
public static void registerOreDict()
{
//TODO
OreDictionary.registerOre("oreGalena", new ItemStack(ore,0));
OreDictionary.registerOre("oreIridium", new ItemStack(ore,1));
OreDictionary.registerOre("oreRuby", new ItemStack(ore,2));
OreDictionary.registerOre("oreSapphire", new ItemStack(ore,3));
OreDictionary.registerOre("oreBauxite", new ItemStack(ore,4));
OreDictionary.registerOre("orePyrite", new ItemStack(ore,5));
OreDictionary.registerOre("oreCinnabar", new ItemStack(ore,6));
OreDictionary.registerOre("oreSphalerite", new ItemStack(ore,7));
OreDictionary.registerOre("oreTungston", new ItemStack(ore,8));
OreDictionary.registerOre("oreSheldonite", new ItemStack(ore,9));
OreDictionary.registerOre("oreOlivine", new ItemStack(ore,10));
OreDictionary.registerOre("oreSodalite", new ItemStack(ore,11));
}
}