Move dusts and smalldusts to json
This commit is contained in:
parent
3da6083c68
commit
8012abee3b
133 changed files with 700 additions and 77 deletions
|
@ -7,10 +7,7 @@ import net.minecraft.util.ResourceLocation;
|
|||
import net.minecraftforge.client.model.ModelLoader;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.ModItems;
|
||||
import techreborn.items.ItemGems;
|
||||
import techreborn.items.ItemIngots;
|
||||
import techreborn.items.ItemNuggets;
|
||||
import techreborn.items.ItemPlates;
|
||||
import techreborn.items.*;
|
||||
|
||||
public class RegisterItemJsons {
|
||||
public static void registerModels() {
|
||||
|
@ -59,6 +56,16 @@ public class RegisterItemJsons {
|
|||
String[] name = ItemNuggets.types.clone();
|
||||
registerBlockstate(ModItems.nuggets, i, name[i]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < ItemDusts.types.length; ++i) {
|
||||
String[] name = ItemDusts.types.clone();
|
||||
registerBlockstate(ModItems.dusts, i, name[i]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < ItemDustsSmall.types.length; ++i) {
|
||||
String[] name = ItemDustsSmall.types.clone();
|
||||
registerBlockstate(ModItems.smallDusts, i, name[i]);
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerBlocks() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue