From 6dc00b0deabc00d1b774264d4e48d2fe17826e8f Mon Sep 17 00:00:00 2001 From: Zach Date: Wed, 7 May 2014 23:50:23 -0400 Subject: [PATCH] register all toolrods to new rod names as well --- src/main/java/tconstruct/common/TRecipes.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/tconstruct/common/TRecipes.java b/src/main/java/tconstruct/common/TRecipes.java index 12c4e0ce334..4ee28fc2cf2 100644 --- a/src/main/java/tconstruct/common/TRecipes.java +++ b/src/main/java/tconstruct/common/TRecipes.java @@ -1051,10 +1051,13 @@ public void oreRegistry () OreDictionary.registerOre("torchStone", new ItemStack(TRepo.stoneTorch)); - String[] matNames = { "wood", "stone", "iron", "flint", "cactus", "bone", "obsidian", "netherrack", "slime", "paper", "cobalt", "ardite", "manyullyn", "copper", "bronze", "alumite", "steel", - "blueslime" }; - for (int i = 0; i < matNames.length; i++) - OreDictionary.registerOre(matNames[i] + "Rod", new ItemStack(TRepo.toolRod, 1, i)); + String[] matNames = { "Wood", "Stone", "Iron", "Flint", "Cactus", "Bone", "Obsidian", "Netherrack", "Slime", "Paper", "Cobalt", "Ardite", "Manyullyn", "Copper", "Bronze", "Alumite", "Steel", + "Blueslime" }; + for (int i = 0; i < matNames.length; i++){ + //TODO 1.8 remove this ore dict entry as it's outdated(use materialRod instead) + OreDictionary.registerOre(matNames[i].toLowerCase() + "Rod", new ItemStack(TRepo.toolRod, 1, i)); + OreDictionary.registerOre("rod" + matNames[i] , new ItemStack(TRepo.toolRod, 1, i)); + } OreDictionary.registerOre("thaumiumRod", new ItemStack(TRepo.toolRod, 1, 31)); String[] glassTypes = { "glassBlack", "glassRed", "glassGreen", "glassBrown", "glassBlue", "glassPurple", "glassCyan", "glassLightGray", "glassGray", "glassPink", "glassLime", "glassYellow",