Add silicon item

This commit is contained in:
pjht 2018-02-18 18:06:59 -06:00
parent 989736de06
commit 2edd4ecce9
3 changed files with 11 additions and 2 deletions

View File

@ -6,14 +6,16 @@ import net.minecraftforge.registries.IForgeRegistry;
public class ModItems {
public static ItemOre ingotCopper = new ItemOre("ingot_copper", "ingotCopper");
public static ItemOre silicon = new ItemOre("silicon","itemSilicon");
public static void register(IForgeRegistry<Item> registry) {
registry.registerAll(
ingotCopper
ingotCopper,
silicon
);
}
public static void registerModels() {
ingotCopper.registerItemModel();
silicon.registerItemModel();
}
}

View File

@ -1,5 +1,6 @@
# Items
item.ingot_copper.name=Copper Ingot
item.silicon.name=Silicon
# Blocks
tile.ore_copper.name=Copper Ore

View File

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "ssspcore:items/silicon"
}
}