Nuggets now use jsons, and nuggets now return proper subtypes
This commit is contained in:
parent
c880fbe2f8
commit
3da6083c68
26 changed files with 133 additions and 17 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue