Remove log, and add small dusts to ore dict
This commit is contained in:
parent
29f40e1f98
commit
0d7e26e74a
2 changed files with 7 additions and 2 deletions
|
@ -363,8 +363,6 @@ public class ModRecipes {
|
||||||
2));
|
2));
|
||||||
|
|
||||||
for(String ore : OreUtil.oreNames){
|
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))){
|
if(OreUtil.doesOreExistAndValid("plate" + OreUtil.capitalizeFirstLetter(ore)) && OreUtil.doesOreExistAndValid("ingot" + OreUtil.capitalizeFirstLetter(ore))){
|
||||||
RecipeHandler.addRecipe(
|
RecipeHandler.addRecipe(
|
||||||
new CompressorRecipe(OreUtil.getStackFromName("ingot" + OreUtil.capitalizeFirstLetter(ore), 9), OreUtil.getStackFromName("plate" + OreUtil.capitalizeFirstLetter(ore), 1), 300,
|
new CompressorRecipe(OreUtil.getStackFromName("ingot" + OreUtil.capitalizeFirstLetter(ore), 9), OreUtil.getStackFromName("plate" + OreUtil.capitalizeFirstLetter(ore), 1), 300,
|
||||||
|
|
|
@ -121,6 +121,13 @@ public class OreDict {
|
||||||
OreDictionary.registerOre(oreDictName, ItemDusts.getDustByName(type));
|
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) {
|
for (String type : ItemNuggets.types) {
|
||||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||||
continue; //Aware of placeholders!
|
continue; //Aware of placeholders!
|
||||||
|
|
Loading…
Add table
Reference in a new issue