Change name of silicon to raw silicon and add recipe
This commit is contained in:
parent
c31f9f7a36
commit
8e6f5d8a33
@ -6,19 +6,19 @@ 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 ItemOre rawSilicon = new ItemOre("raw_silicon","itemSilicon");
|
||||
public static ItemFuel coke = new ItemFuel("coke","itemCoke", 1000);
|
||||
public static void register(IForgeRegistry<Item> registry) {
|
||||
registry.registerAll(
|
||||
ingotCopper,
|
||||
silicon,
|
||||
rawSilicon,
|
||||
coke
|
||||
);
|
||||
}
|
||||
|
||||
public static void registerModels() {
|
||||
ingotCopper.registerItemModel();
|
||||
silicon.registerItemModel();
|
||||
rawSilicon.registerItemModel();
|
||||
coke.registerItemModel();
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Items
|
||||
item.ingot_copper.name=Copper Ingot
|
||||
item.silicon.name=Silicon
|
||||
item.raw_silicon.name=Raw Silicon
|
||||
item.coke.name=Coke
|
||||
|
||||
# Blocks
|
||||
|
16
src/main/resources/assets/ssspcore/recipes/raw_silicon.json
Normal file
16
src/main/resources/assets/ssspcore/recipes/raw_silicon.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:sand",
|
||||
"data": 0
|
||||
},
|
||||
{
|
||||
"item": "ssspcore:coke"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "ssspcore:raw_silicon",
|
||||
"count": 2
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user