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

@ -9,6 +9,7 @@ import techreborn.init.ModBlocks;
import techreborn.init.ModItems;
import techreborn.items.ItemGems;
import techreborn.items.ItemIngots;
import techreborn.items.ItemNuggets;
import techreborn.items.ItemPlates;
public class RegisterItemJsons {
@ -53,6 +54,11 @@ public class RegisterItemJsons {
String[] name = ItemPlates.types.clone();
registerBlockstate(ModItems.plate, i, name[i]);
}
for (int i = 0; i < ItemNuggets.types.length; ++i) {
String[] name = ItemNuggets.types.clone();
registerBlockstate(ModItems.nuggets, i, name[i]);
}
}
private static void registerBlocks() {