commit
933fdc7d7c
@ -6,14 +6,16 @@ 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 silicon = new ItemOre("silicon","itemSilicon");
|
||||||
public static void register(IForgeRegistry<Item> registry) {
|
public static void register(IForgeRegistry<Item> registry) {
|
||||||
registry.registerAll(
|
registry.registerAll(
|
||||||
ingotCopper
|
ingotCopper,
|
||||||
|
silicon
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void registerModels() {
|
public static void registerModels() {
|
||||||
ingotCopper.registerItemModel();
|
ingotCopper.registerItemModel();
|
||||||
|
silicon.registerItemModel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Items
|
# Items
|
||||||
item.ingot_copper.name=Copper Ingot
|
item.ingot_copper.name=Copper Ingot
|
||||||
|
item.silicon.name=Silicon
|
||||||
|
|
||||||
# Blocks
|
# Blocks
|
||||||
tile.ore_copper.name=Copper Ore
|
tile.ore_copper.name=Copper Ore
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "ssspcore:items/silicon"
|
||||||
|
}
|
||||||
|
}
|
BIN
src/main/resources/assets/ssspcore/textures/items/silicon.png
Normal file
BIN
src/main/resources/assets/ssspcore/textures/items/silicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 449 B |
Loading…
x
Reference in New Issue
Block a user