This commit is contained in:
gigabit101 2016-02-25 18:26:07 +00:00
commit 9ce8d58062
6 changed files with 106 additions and 1 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;
}