Merge pull request #10 from pjht/add-wafer

Add wafer
This commit is contained in:
pjht 2018-03-11 08:56:12 -05:00 committed by GitHub
commit 9e98d4809f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 22 additions and 14 deletions

View File

@ -7,11 +7,13 @@ import net.minecraftforge.registries.IForgeRegistry;
public class ModItems {
public static ItemOre ingotCopper = new ItemOre("ingot_copper", "ingotCopper");
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 void register(IForgeRegistry<Item> registry) {
registry.registerAll(
ingotCopper,
rawSilicon,
siliconWafer,
coke
);
}
@ -19,6 +21,7 @@ public class ModItems {
public static void registerModels() {
ingotCopper.registerItemModel();
rawSilicon.registerItemModel();
siliconWafer.registerItemModel();
coke.registerItemModel();
}
}

View File

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

View File

@ -1,6 +1,6 @@
{
"parent": "item/generated",
"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

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B