Added solar panel
This commit is contained in:
parent
ba19a60fcc
commit
ed3d3c78b5
5 changed files with 105 additions and 0 deletions
|
@ -79,6 +79,7 @@ public class ModBlocks {
|
|||
public static Block Compressor;
|
||||
public static Block Extractor;
|
||||
public static Block ElectricFurnace;
|
||||
public static Block solarPanel;
|
||||
|
||||
public static BlockOre ore;
|
||||
public static BlockOre2 ore2;
|
||||
|
@ -284,6 +285,9 @@ public class ModBlocks {
|
|||
GameRegistry.registerBlock(ElectricFurnace, "techreborn.electricfurnace");
|
||||
GameRegistry.registerTileEntity(TileElectricFurnace.class, "TileElectricFurnaceTR");
|
||||
|
||||
solarPanel = new BlockSolarPanel();
|
||||
GameRegistry.registerBlock(solarPanel, "techreborn.solarpanel");
|
||||
GameRegistry.registerTileEntity(TileSolarPanel.class, "TileSolarPanel");
|
||||
|
||||
GameRegistry.registerTileEntity(TileMachineBase.class, "TileMachineBaseTR");
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ public class RecipeCompact implements IRecipeCompact {
|
|||
recipes.put("macerator", new ItemStack(ModBlocks.Grinder));
|
||||
recipes.put("diamondDrill", new ItemStack(ModItems.diamondDrill));
|
||||
recipes.put("miningDrill", new ItemStack(ModItems.ironDrill));
|
||||
recipes.put("solarPanel", new ItemStack(ModBlocks.solarPanel));
|
||||
inited = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue