Add silicon item
This commit is contained in:
parent
989736de06
commit
2edd4ecce9
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
# Items
|
||||
item.ingot_copper.name=Copper Ingot
|
||||
item.silicon.name=Silicon
|
||||
|
||||
# Blocks
|
||||
tile.ore_copper.name=Copper Ore
|
||||
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "ssspcore:items/silicon"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user