Fix ore dict recipes

This commit is contained in:
ProfessorProspector 2016-12-10 14:27:37 -08:00
parent 2911e7f0ca
commit 7e0b84360c

View file

@ -82,7 +82,7 @@ public class OreDict {
for (String type : ItemGems.types) { for (String type : ItemGems.types) {
if (type.equals(ModItems.META_PLACEHOLDER)) if (type.equals(ModItems.META_PLACEHOLDER))
continue; //Aware of placeholders! continue; //Aware of placeholders!
OreDictionary.registerOre("gem" + CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, type), ItemGems.getGemByName(type)); OreDictionary.registerOre("gem" + CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "gem_" + type), ItemGems.getGemByName(type));
boolean ignoreIt = false; boolean ignoreIt = false;
for (String ignore : plateGenIgnores) for (String ignore : plateGenIgnores)
if (type.startsWith(ignore)) if (type.startsWith(ignore))
@ -95,7 +95,7 @@ public class OreDict {
for (String type : ItemIngots.types) { for (String type : ItemIngots.types) {
if (type.equals(ModItems.META_PLACEHOLDER)) if (type.equals(ModItems.META_PLACEHOLDER))
continue; //Aware of placeholders! continue; //Aware of placeholders!
OreDictionary.registerOre("ingot" + CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, type), ItemIngots.getIngotByName(type)); OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "ingot_" + type), ItemIngots.getIngotByName(type));
boolean ignoreIt = false; boolean ignoreIt = false;
for (String ignore : plateGenIgnores) for (String ignore : plateGenIgnores)
if (type.startsWith(ignore)) if (type.startsWith(ignore))