Copper and Tin ore

This commit is contained in:
gigabit101 2016-02-25 13:35:12 +00:00
parent cebb49555a
commit 46cd99cdf5
5 changed files with 151 additions and 1 deletions

View file

@ -81,6 +81,7 @@ public class ModBlocks {
public static Block ElectricFurnace;
public static BlockOre ore;
public static BlockOre2 ore2;
public static Block storage;
public static Block storage2;
public static Block machineframe;
@ -156,6 +157,9 @@ public class ModBlocks {
ore = new BlockOre(Material.rock);
GameRegistry.registerBlock(ore, ItemBlockOre.class, "techreborn.ore");
ore2 = new BlockOre2(Material.rock);
GameRegistry.registerBlock(ore2, ItemBlockOre2.class, "techreborn.ore2");
storage = new BlockStorage(Material.iron);
GameRegistry.registerBlock(storage, ItemBlockStorage.class, "techreborn.storage");

View file

@ -51,11 +51,16 @@ public class
addImplosionCompressorRecipes();
addReactorRecipes();
addIc2Recipes();
addGrinderRecipes();
// DEBUG
RecipeHandler.addRecipe(new GrinderRecipe(new ItemStack(Items.diamond), new ItemStack(Blocks.dirt), 5, 20));
RecipeHandler.addRecipe(new ExtractorRecipe(new ItemStack(Items.diamond), new ItemStack(Blocks.dirt), 5, 20));
RecipeHandler.addRecipe(new CompressorRecipe(new ItemStack(Items.diamond), new ItemStack(Blocks.dirt), 5, 20));
}
static void addGrinderRecipes(){
RecipeHandler.addRecipe(new GrinderRecipe(new ItemStack(Blocks.iron_ore), ItemDusts.getDustByName("iron", 2), 100, 20));
RecipeHandler.addRecipe(new GrinderRecipe(new ItemStack(Blocks.gold_ore), ItemDusts.getDustByName("gold", 2), 100, 20));
}
static void addReactorRecipes(){
FusionReactorRecipeHelper.registerRecipe(new FusionReactorRecipe(ItemCells.getCellByName("tritium"), ItemCells.getCellByName("deuterium"), ItemCells.getCellByName("helium"), 40000000, 32768, 1024));