Remove log, and add small dusts to ore dict

This commit is contained in:
modmuss50 2016-12-12 17:54:20 +00:00
parent 29f40e1f98
commit 0d7e26e74a
2 changed files with 7 additions and 2 deletions

View file

@ -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,

View file

@ -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!