Add silicon wafer and recipe

This commit is contained in:
pjht 2018-03-10 18:25:50 -06:00
parent 16d0fac768
commit 8a2b145625
7 changed files with 22 additions and 14 deletions

View File

@ -7,11 +7,13 @@ import net.minecraftforge.registries.IForgeRegistry;
public class ModItems { public class ModItems {
public static ItemOre ingotCopper = new ItemOre("ingot_copper", "ingotCopper"); public static ItemOre ingotCopper = new ItemOre("ingot_copper", "ingotCopper");
public static ItemOre rawSilicon = new ItemOre("raw_silicon","itemSilicon"); public static ItemOre rawSilicon = new ItemOre("raw_silicon","itemSilicon");
public static ItemBase siliconWafer = new ItemBase("silicon_wafer");
public static ItemFuel coke = new ItemFuel("coke","itemCoke", 1000); public static ItemFuel coke = new ItemFuel("coke","itemCoke", 1000);
public static void register(IForgeRegistry<Item> registry) { public static void register(IForgeRegistry<Item> registry) {
registry.registerAll( registry.registerAll(
ingotCopper, ingotCopper,
rawSilicon, rawSilicon,
siliconWafer,
coke coke
); );
} }
@ -19,6 +21,7 @@ public class ModItems {
public static void registerModels() { public static void registerModels() {
ingotCopper.registerItemModel(); ingotCopper.registerItemModel();
rawSilicon.registerItemModel(); rawSilicon.registerItemModel();
siliconWafer.registerItemModel();
coke.registerItemModel(); coke.registerItemModel();
} }
} }

View File

@ -1,6 +1,7 @@
# Items # Items
item.ingot_copper.name=Copper Ingot item.ingot_copper.name=Copper Ingot
item.raw_silicon.name=Raw Silicon item.raw_silicon.name=Raw Silicon
item.silicon_wafer.name=Silicon Wafer
item.coke.name=Coke item.coke.name=Coke
# Blocks # Blocks

View File

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

View File

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

View File

@ -1,13 +0,0 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:sand",
"item": "ssspcore:coke"
}
],
"result": {
"item": "ssspcore:silicon",
"count": 2
}
}

View File

@ -0,0 +1,11 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "ssspcore:raw_silicon"
}
],
"result": {
"item": "ssspcore:silicon_wafer"
}
}

View File

Before

Width:  |  Height:  |  Size: 449 B

After

Width:  |  Height:  |  Size: 449 B