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
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue