From 0d7e26e74a4c605f05f7dac64f958573dfc9ac93 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Mon, 12 Dec 2016 17:54:20 +0000 Subject: [PATCH] Remove log, and add small dusts to ore dict --- src/main/java/techreborn/init/ModRecipes.java | 2 -- src/main/java/techreborn/init/OreDict.java | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/techreborn/init/ModRecipes.java b/src/main/java/techreborn/init/ModRecipes.java index 5f018eeec..0aff4c1e9 100644 --- a/src/main/java/techreborn/init/ModRecipes.java +++ b/src/main/java/techreborn/init/ModRecipes.java @@ -363,8 +363,6 @@ public class ModRecipes { 2)); for(String ore : OreUtil.oreNames){ - System.out.println(ore); - System.out.println("plate" + OreUtil.capitalizeFirstLetter(ore)); if(OreUtil.doesOreExistAndValid("plate" + OreUtil.capitalizeFirstLetter(ore)) && OreUtil.doesOreExistAndValid("ingot" + OreUtil.capitalizeFirstLetter(ore))){ RecipeHandler.addRecipe( new CompressorRecipe(OreUtil.getStackFromName("ingot" + OreUtil.capitalizeFirstLetter(ore), 9), OreUtil.getStackFromName("plate" + OreUtil.capitalizeFirstLetter(ore), 1), 300, diff --git a/src/main/java/techreborn/init/OreDict.java b/src/main/java/techreborn/init/OreDict.java index ff537a32f..ddc237c8f 100644 --- a/src/main/java/techreborn/init/OreDict.java +++ b/src/main/java/techreborn/init/OreDict.java @@ -121,6 +121,13 @@ public class OreDict { OreDictionary.registerOre(oreDictName, ItemDusts.getDustByName(type)); } + for (String type : ItemDustsSmall.types) { + if (type.equals(ModItems.META_PLACEHOLDER)) + continue; //Aware of placeholders! + String oreDictName = "dustSmall" + OreDictUtils.toFirstUpper(type); + OreDictionary.registerOre(oreDictName, ItemDusts.getDustByName(type)); + } + for (String type : ItemNuggets.types) { if (type.equals(ModItems.META_PLACEHOLDER)) continue; //Aware of placeholders!