Added solar panel

This commit is contained in:
modmuss50 2016-02-25 18:21:59 +00:00
parent ba19a60fcc
commit ed3d3c78b5
5 changed files with 105 additions and 0 deletions

View file

@ -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");

View file

@ -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;
}