Fix ore dict recipes
This commit is contained in:
parent
2911e7f0ca
commit
7e0b84360c
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue