Added ChemicalReactor

This commit is contained in:
Gig 2015-05-12 00:17:17 +01:00
parent 1de5de9cec
commit a23243cd02
10 changed files with 328 additions and 1 deletions

View file

@ -59,6 +59,7 @@ import techreborn.tiles.TileAlloySmelter;
import techreborn.tiles.TileAssemblingMachine;
import techreborn.tiles.TileBlastFurnace;
import techreborn.tiles.TileCentrifuge;
import techreborn.tiles.TileChemicalReactor;
import techreborn.tiles.TileChunkLoader;
import techreborn.tiles.TileDieselGenerator;
import techreborn.tiles.TileDragonEggSiphoner;
@ -215,6 +216,7 @@ public class ModBlocks {
ChemicalReactor = new BlockChemicalReactor(Material.rock);
GameRegistry.registerBlock(ChemicalReactor, "chemicalreactor");
GameRegistry.registerTileEntity(TileChemicalReactor.class, "TileChemicalReactor");
lathe = new BlockLathe(Material.rock);
GameRegistry.registerBlock(lathe, "lathe");

View file

@ -9,9 +9,11 @@ import techreborn.api.BlastFurnaceRecipe;
import techreborn.api.CentrifugeRecipie;
import techreborn.api.TechRebornAPI;
import techreborn.api.recipe.RecipeHanderer;
import techreborn.compat.nei.recipes.ChemicalReactorRecipeHandler;
import techreborn.config.ConfigTechReborn;
import techreborn.recipes.AlloySmelterRecipe;
import techreborn.recipes.AssemblingMachineRecipe;
import techreborn.recipes.ChemicalReactorRecipe;
import techreborn.recipes.ImplosionCompressorRecipe;
import techreborn.recipes.IndustrialSawmillRecipe;
import techreborn.recipes.LatheRecipe;
@ -207,6 +209,8 @@ public class ModRecipes {
RecipeHanderer.addRecipe(new LatheRecipe(new ItemStack(Items.coal), new ItemStack(Items.diamond), 120, 5));
RecipeHanderer.addRecipe(new IndustrialSawmillRecipe(new ItemStack(Items.coal), new ItemStack(Blocks.sand), new ItemStack(Items.diamond), new ItemStack(Items.diamond), new ItemStack(Items.diamond) , 120, 5));
RecipeHanderer.addRecipe(new PlateCuttingMachineRecipe(new ItemStack(Items.coal), new ItemStack(Items.diamond), 120, 5));
//TODO
RecipeHanderer.addRecipe(new ChemicalReactorRecipe(new ItemStack(Items.coal), new ItemStack(Blocks.sand), new ItemStack(Items.diamond), 120, 5));
LogHelper.info("Machine Recipes Added");
}