Nuggets now use jsons, and nuggets now return proper subtypes

This commit is contained in:
ProfessorProspector 2016-12-11 10:58:20 -08:00
parent c880fbe2f8
commit 3da6083c68
26 changed files with 133 additions and 17 deletions

View file

@ -123,8 +123,7 @@ public class OreDict {
for (String type : ItemNuggets.types) {
if (type.equals(ModItems.META_PLACEHOLDER))
continue; //Aware of placeholders!
String oreDictName = "nugget" + OreDictUtils.toFirstUpper(type);
OreDictionary.registerOre(oreDictName, ItemNuggets.getNuggetByName(type));
OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "nugget_" + type), ItemNuggets.getNuggetByName(type));
}
}