Added Industrial Sawmill pokes @modmuss50 to look at the nei handler crash issue bet I did it wrong

This commit is contained in:
Gig 2015-05-11 17:04:27 +01:00
parent 3fe5605de3
commit a8a46352c8
10 changed files with 417 additions and 0 deletions

View file

@ -37,6 +37,7 @@ import techreborn.blocks.machine.BlockDistillationTower;
import techreborn.blocks.machine.BlockGrinder;
import techreborn.blocks.machine.BlockImplosionCompressor;
import techreborn.blocks.machine.BlockIndustrialElectrolyzer;
import techreborn.blocks.machine.BlockIndustrialSawmill;
import techreborn.blocks.machine.BlockLathe;
import techreborn.blocks.machine.BlockMatterFabricator;
import techreborn.blocks.machine.BlockPlateCuttingMachine;
@ -65,6 +66,7 @@ import techreborn.tiles.TileGrinder;
import techreborn.tiles.TileHeatGenerator;
import techreborn.tiles.TileImplosionCompressor;
import techreborn.tiles.TileIndustrialElectrolyzer;
import techreborn.tiles.TileIndustrialSawmill;
import techreborn.tiles.TileLathe;
import techreborn.tiles.TileMachineCasing;
import techreborn.tiles.TileMatterFabricator;
@ -117,6 +119,7 @@ public class ModBlocks {
public static Block FusionCoil;
public static Block LightningRod;
public static Block heatGenerator;
public static Block industrialSawmill;
public static Block ore;
public static Block storage;
@ -267,6 +270,10 @@ public class ModBlocks {
heatGenerator = new BlockHeatGenerator(Material.rock);
GameRegistry.registerBlock(heatGenerator, "heatgenerator");
GameRegistry.registerTileEntity(TileHeatGenerator.class, "TileHeatGenerator");
industrialSawmill = new BlockIndustrialSawmill(Material.rock);
GameRegistry.registerBlock(industrialSawmill, "industrialSawmill");
GameRegistry.registerTileEntity(TileIndustrialSawmill.class, "TileIndustrialSawmill");
registerOreDict();
}

View file

@ -13,6 +13,7 @@ import techreborn.config.ConfigTechReborn;
import techreborn.recipes.AlloySmelterRecipe;
import techreborn.recipes.AssemblingMachineRecipe;
import techreborn.recipes.ImplosionCompressorRecipe;
import techreborn.recipes.IndustrialSawmillRecipe;
import techreborn.recipes.LatheRecipe;
import techreborn.util.CraftingHelper;
import techreborn.util.LogHelper;
@ -204,6 +205,7 @@ public class ModRecipes {
RecipeHanderer.addRecipe(new AssemblingMachineRecipe(new ItemStack(Items.coal), new ItemStack(Blocks.sand), new ItemStack(Items.diamond), 120, 5));
//TODO BORKEN
// 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), null, null , 120, 5));
LogHelper.info("Machine Recipes Added");
}