Skip to content

Commit

Permalink
register all toolrods to new rod names as well
Browse files Browse the repository at this point in the history
  • Loading branch information
progwml6 committed May 8, 2014
1 parent e63bd86 commit 6dc00b0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/main/java/tconstruct/common/TRecipes.java
Expand Up @@ -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",
Expand Down

0 comments on commit 6dc00b0

Please sign in to comment.