2015-08-29 14:33:25 +02:00
|
|
|
|
/*
|
|
|
|
|
* This file ("BlockCrafting.java") is part of the Actually Additions Mod for Minecraft.
|
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
|
*
|
|
|
|
|
* <EFBFBD> 2015 Ellpeck
|
|
|
|
|
*/
|
|
|
|
|
|
2015-03-07 12:51:28 +01:00
|
|
|
|
package ellpeck.actuallyadditions.crafting;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
2015-07-02 01:39:15 +02:00
|
|
|
|
import ellpeck.actuallyadditions.blocks.BlockColoredLamp;
|
2015-03-07 12:51:28 +01:00
|
|
|
|
import ellpeck.actuallyadditions.blocks.InitBlocks;
|
2015-03-30 15:08:19 +02:00
|
|
|
|
import ellpeck.actuallyadditions.blocks.metalists.TheMiscBlocks;
|
2015-04-24 19:22:03 +02:00
|
|
|
|
import ellpeck.actuallyadditions.config.values.ConfigCrafting;
|
2015-05-20 22:39:43 +02:00
|
|
|
|
import ellpeck.actuallyadditions.items.InitItems;
|
2015-03-07 12:51:28 +01:00
|
|
|
|
import ellpeck.actuallyadditions.items.metalists.TheMiscItems;
|
2015-07-17 22:49:00 +02:00
|
|
|
|
import ellpeck.actuallyadditions.items.metalists.TheSpecialDrops;
|
2015-06-12 21:29:21 +02:00
|
|
|
|
import ellpeck.actuallyadditions.util.Util;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
import net.minecraft.init.Blocks;
|
|
|
|
|
import net.minecraft.init.Items;
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
2015-08-29 01:09:09 +02:00
|
|
|
|
import net.minecraft.item.crafting.IRecipe;
|
2015-04-04 05:20:19 +02:00
|
|
|
|
import net.minecraftforge.oredict.ShapedOreRecipe;
|
|
|
|
|
import net.minecraftforge.oredict.ShapelessOreRecipe;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
public class BlockCrafting{
|
|
|
|
|
|
2015-08-29 01:09:09 +02:00
|
|
|
|
public static IRecipe recipeSmileyCloud;
|
|
|
|
|
public static IRecipe recipePhantomface;
|
|
|
|
|
public static IRecipe recipeLiquiface;
|
|
|
|
|
public static IRecipe recipeEnergyface;
|
|
|
|
|
public static IRecipe recipePhantomBreaker;
|
|
|
|
|
public static IRecipe recipePhantomPlacer;
|
|
|
|
|
public static IRecipe recipeBreaker;
|
|
|
|
|
public static IRecipe recipePlacer;
|
|
|
|
|
public static IRecipe recipeLiquidPlacer;
|
|
|
|
|
public static IRecipe recipeLiquidCollector;
|
2015-08-30 01:19:03 +02:00
|
|
|
|
public static IRecipe recipeCase;
|
|
|
|
|
public static IRecipe recipeStoneCase;
|
|
|
|
|
public static IRecipe recipeEnderCase;
|
|
|
|
|
public static IRecipe recipeEnderPearlBlock;
|
|
|
|
|
public static IRecipe recipeESD;
|
|
|
|
|
public static IRecipe recipeAdvancedESD;
|
|
|
|
|
public static IRecipe recipePhantomBooster;
|
2015-08-30 04:02:28 +02:00
|
|
|
|
public static IRecipe recipeCoffeeMachine;
|
2015-08-30 05:11:05 +02:00
|
|
|
|
public static IRecipe recipeCrusher;
|
|
|
|
|
public static IRecipe recipeDoubleCrusher;
|
2015-08-30 19:10:10 +02:00
|
|
|
|
public static IRecipe recipeFurnace;
|
2015-08-31 05:44:09 +02:00
|
|
|
|
public static IRecipe recipeSolidifier;
|
|
|
|
|
public static IRecipe recipeMiner;
|
|
|
|
|
public static IRecipe recipeCasing;
|
|
|
|
|
public static IRecipe recipeGlass;
|
|
|
|
|
public static IRecipe recipeLavaFactory;
|
|
|
|
|
public static IRecipe recipeEnergizer;
|
|
|
|
|
public static IRecipe recipeEnervator;
|
2015-08-31 07:24:58 +02:00
|
|
|
|
public static IRecipe recipeSolar;
|
|
|
|
|
public static IRecipe recipeHeatCollector;
|
|
|
|
|
public static IRecipe recipeCoalGen;
|
|
|
|
|
public static IRecipe recipeOilGen;
|
|
|
|
|
public static IRecipe recipeRepairer;
|
|
|
|
|
public static IRecipe recipeFisher;
|
|
|
|
|
public static IRecipe recipeQuartzBlock;
|
|
|
|
|
public static IRecipe recipeQuartzChiseled;
|
|
|
|
|
public static IRecipe recipeQuartzPillar;
|
2015-08-31 10:45:05 +02:00
|
|
|
|
public static IRecipe recipeBlockChar;
|
|
|
|
|
public static IRecipe recipeFeeder;
|
|
|
|
|
public static IRecipe recipeCompost;
|
2015-09-06 23:18:50 +02:00
|
|
|
|
public static IRecipe recipeCrate;
|
|
|
|
|
public static IRecipe recipeFermentingBarrel;
|
|
|
|
|
public static IRecipe recipeCanolaPress;
|
2015-09-09 23:44:53 +02:00
|
|
|
|
public static IRecipe[] recipesLamps = new IRecipe[BlockColoredLamp.allLampTypes.length];
|
|
|
|
|
public static IRecipe recipePowerer;
|
2015-10-01 12:11:38 +02:00
|
|
|
|
public static IRecipe recipeLeafGen;
|
2015-08-29 01:09:09 +02:00
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
|
public static void init(){
|
|
|
|
|
|
2015-08-26 17:14:07 +02:00
|
|
|
|
//Smiley Cloud
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.CLOUD.isEnabled()){
|
2015-08-26 17:14:07 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockSmileyCloud),
|
|
|
|
|
" W ", "WXW", " W ",
|
|
|
|
|
'W', new ItemStack(Blocks.wool, 1, Util.WILDCARD),
|
|
|
|
|
'X', new ItemStack(InitItems.itemSpecialDrop, 1, TheSpecialDrops.SOLIDIFIED_EXPERIENCE.ordinal())));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipeSmileyCloud = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-08-26 17:14:07 +02:00
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
|
//Compost
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.COMPOST.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCompost),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"W W", "W W", "WCW",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'W', "plankWood",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal())));
|
2015-08-31 10:45:05 +02:00
|
|
|
|
recipeCompost = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-04-04 05:20:19 +02:00
|
|
|
|
|
2015-07-17 22:49:00 +02:00
|
|
|
|
//XP Solidifier
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.XP_SOLIDIFIER.isEnabled()){
|
2015-07-17 22:49:00 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockXPSolidifier),
|
|
|
|
|
"XXX", "DCD", "XXX",
|
|
|
|
|
'X', new ItemStack(InitItems.itemSpecialDrop, 1, TheSpecialDrops.SOLIDIFIED_EXPERIENCE.ordinal()),
|
|
|
|
|
'D', "blockDiamond",
|
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeSolidifier = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-07-17 22:49:00 +02:00
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
|
//Charcoal Block
|
|
|
|
|
GameRegistry.addRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.CHARCOAL_BLOCK.ordinal()),
|
|
|
|
|
"CCC", "CCC", "CCC",
|
|
|
|
|
'C', new ItemStack(Items.coal, 1, 1));
|
2015-08-31 10:45:05 +02:00
|
|
|
|
recipeBlockChar = Util.lastIRecipe();
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addShapelessRecipe(new ItemStack(Items.coal, 9, 1),
|
|
|
|
|
new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.CHARCOAL_BLOCK.ordinal()));
|
|
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
|
//Wood Casing
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.WOOD_CASING.isEnabled()){
|
2015-04-24 19:22:03 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()),
|
|
|
|
|
"WSW", "SRS", "WSW",
|
|
|
|
|
'W', "plankWood",
|
2015-07-01 18:14:21 +02:00
|
|
|
|
'R', "logWood",
|
2015-04-24 19:22:03 +02:00
|
|
|
|
'S', "stickWood"));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipeCase = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-04-04 05:20:19 +02:00
|
|
|
|
|
2015-06-12 19:12:06 +02:00
|
|
|
|
//Ender Casing
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.ENDER_CASING.isEnabled()){
|
2015-06-12 19:12:06 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()),
|
|
|
|
|
"WSW", "SRS", "WSW",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'W', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()),
|
|
|
|
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()),
|
2015-06-12 19:12:06 +02:00
|
|
|
|
'S', Blocks.obsidian));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipeEnderCase = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-12 19:12:06 +02:00
|
|
|
|
|
|
|
|
|
//Phantom Booster
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PHANTOM_BOOSTER.isEnabled()){
|
2015-06-12 19:12:06 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomBooster),
|
|
|
|
|
"RDR", "DCD", "RDR",
|
|
|
|
|
'R', "dustRedstone",
|
|
|
|
|
'D', "gemDiamond",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipePhantomBooster = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-12 19:12:06 +02:00
|
|
|
|
|
|
|
|
|
//Coffee Machine
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.COFFEE_MACHINE.isEnabled()){
|
2015-06-12 19:12:06 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCoffeeMachine),
|
|
|
|
|
" C ", " S ", "A A",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', InitItems.itemCoffeeBean,
|
|
|
|
|
'S', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
'A', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal())));
|
2015-08-30 04:02:28 +02:00
|
|
|
|
recipeCoffeeMachine = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-12 19:12:06 +02:00
|
|
|
|
|
2015-06-21 02:28:49 +02:00
|
|
|
|
//Energizer
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.ENERGIZER.isEnabled()){
|
2015-06-21 02:28:49 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockEnergizer),
|
|
|
|
|
"I I", "CAC", "I I",
|
|
|
|
|
'I', "ingotIron",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
|
'A', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal())));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeEnergizer = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-21 02:28:49 +02:00
|
|
|
|
|
2015-08-31 05:44:09 +02:00
|
|
|
|
//Enervator
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.ENERVATOR.isEnabled()){
|
2015-06-21 02:28:49 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockEnervator),
|
|
|
|
|
" I ", "CAC", " I ",
|
|
|
|
|
'I', "ingotIron",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
|
'A', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal())));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeEnervator = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-21 02:28:49 +02:00
|
|
|
|
|
2015-06-12 19:12:06 +02:00
|
|
|
|
//Lava Factory
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.LAVA_FACTORY.isEnabled()){
|
2015-06-12 19:12:06 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLavaFactoryController),
|
2015-08-02 02:04:31 +02:00
|
|
|
|
"SCS", "ISI", "LLL",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2015-06-12 19:12:06 +02:00
|
|
|
|
'I', "blockIron",
|
|
|
|
|
'L', Items.lava_bucket));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeLavaFactory = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-12 19:12:06 +02:00
|
|
|
|
|
2015-08-01 01:30:50 +02:00
|
|
|
|
//Casing
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.CASING.isEnabled()){
|
2015-08-02 02:04:31 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 32, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
2015-06-12 19:12:06 +02:00
|
|
|
|
"ICI",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
2015-06-12 19:12:06 +02:00
|
|
|
|
'I', "blockIron"));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeCasing = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-06-12 19:12:06 +02:00
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
|
//Canola Press
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.CANOLA_PRESS.isEnabled()){
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCanolaPress),
|
|
|
|
|
"CHC", "CDC", "CRC",
|
|
|
|
|
'C', "cobblestone",
|
|
|
|
|
'H', Blocks.hopper,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CANOLA.ordinal())));
|
2015-09-06 23:18:50 +02:00
|
|
|
|
recipeCanolaPress = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
|
2015-08-02 07:18:27 +02:00
|
|
|
|
//Ore Magnet
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.ORE_MAGNET.isEnabled()){
|
2015-08-02 07:18:27 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockOreMagnet),
|
|
|
|
|
"SSS", "CBC", "ISI",
|
|
|
|
|
'S', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
'B', new ItemStack(InitItems.itemBatteryDouble),
|
|
|
|
|
'I', new ItemStack(Blocks.iron_block)));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeMiner = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-08-02 07:18:27 +02:00
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
|
//Fermenting Barrel
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.FERMENTING_BARREL.isEnabled()){
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFermentingBarrel),
|
|
|
|
|
"CHC", "CDC", "CRC",
|
|
|
|
|
'C', "logWood",
|
|
|
|
|
'H', Blocks.hopper,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()),
|
|
|
|
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CANOLA.ordinal())));
|
2015-09-06 23:18:50 +02:00
|
|
|
|
recipeFermentingBarrel = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
|
|
|
|
|
//Phantomface
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PHANTOMFACE.isEnabled()){
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomface),
|
2015-05-30 17:47:57 +02:00
|
|
|
|
" C ", "EBE", " S ",
|
2015-05-20 22:39:43 +02:00
|
|
|
|
'E', Items.ender_eye,
|
|
|
|
|
'C', Blocks.chest,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
|
'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal())));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipePhantomface = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
|
2015-05-30 17:47:57 +02:00
|
|
|
|
//Phantom Placer
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PHANTOM_PLACER.isEnabled()){
|
2015-05-30 17:47:57 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockPhantomPlacer),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
InitBlocks.blockPlacer,
|
|
|
|
|
InitBlocks.blockPhantomface));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipePhantomPlacer = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
|
|
|
|
|
//Phantom Breaker
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PHANTOM_BREAKER.isEnabled()){
|
2015-05-30 17:47:57 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockPhantomBreaker),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
InitBlocks.blockBreaker,
|
|
|
|
|
InitBlocks.blockPhantomface));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipePhantomBreaker = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
|
|
|
|
|
//Phantom Energyface
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PHANTOM_ENERGYFACE.isEnabled()){
|
2015-05-30 17:47:57 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomEnergyface),
|
|
|
|
|
" R ", "RFR", " R ",
|
|
|
|
|
'R', "dustRedstone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'F', InitBlocks.blockPhantomface));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipeEnergyface = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
|
|
|
|
|
//Phantom Liquiface
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PHANTOM_LIQUIFACE.isEnabled()){
|
2015-05-30 17:47:57 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomLiquiface),
|
|
|
|
|
"RFR",
|
|
|
|
|
'R', Items.bucket,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'F', InitBlocks.blockPhantomface));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipeLiquiface = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
|
|
|
|
|
//Liquid Placer
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.LIQUID_PLACER.isEnabled()){
|
2015-05-30 17:47:57 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFluidPlacer),
|
|
|
|
|
"RFR",
|
|
|
|
|
'R', Items.bucket,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'F', InitBlocks.blockPlacer));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipeLiquidPlacer = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
|
|
|
|
|
//Liquid Breaker
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.LIQUID_BREAKER.isEnabled()){
|
2015-05-30 17:47:57 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFluidCollector),
|
|
|
|
|
"RFR",
|
|
|
|
|
'R', Items.bucket,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'F', InitBlocks.blockBreaker));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipeLiquidCollector = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
|
//Oil Generator
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.OIL_GENERATOR.isEnabled()){
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockOilGenerator),
|
|
|
|
|
"CRC", "CBC", "CRC",
|
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
'B', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CANOLA.ordinal())));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeOilGen = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
|
|
|
|
|
//Coal Generator
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.COAL_GENERATOR.isEnabled()){
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCoalGenerator),
|
|
|
|
|
"CRC", "CBC", "CRC",
|
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
2015-06-12 21:29:21 +02:00
|
|
|
|
'B', new ItemStack(Items.coal, 1, Util.WILDCARD)));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeCoalGen = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
|
2015-10-01 12:11:38 +02:00
|
|
|
|
//Leaf Generator
|
|
|
|
|
if(ConfigCrafting.LEAF_GENERATOR.isEnabled()){
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLeafGenerator),
|
|
|
|
|
"IEI", "GLG", "ICI",
|
|
|
|
|
'I', "ingotIron",
|
|
|
|
|
'G', "ingotGold",
|
|
|
|
|
'E', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
'L', "treeLeaves",
|
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
|
|
|
|
recipeLeafGen = Util.lastIRecipe();
|
|
|
|
|
}
|
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
|
//Enderpearl Block
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()),
|
|
|
|
|
"EE", "EE",
|
|
|
|
|
'E', Items.ender_pearl));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipeEnderPearlBlock = Util.lastIRecipe();
|
2015-05-20 22:39:43 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.ender_pearl, 4),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal())));
|
2015-05-20 22:39:43 +02:00
|
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
|
//Stone Casing
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.STONE_CASING.isEnabled()){
|
2015-04-24 19:22:03 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
"WSW", "SRS", "WSW",
|
|
|
|
|
'W', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()),
|
2015-04-24 19:22:03 +02:00
|
|
|
|
'S', "stickWood"));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipeStoneCase = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
2015-03-30 15:08:19 +02:00
|
|
|
|
//Quartz Block
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()),
|
2015-03-30 15:08:19 +02:00
|
|
|
|
"QQ", "QQ",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeQuartzBlock = Util.lastIRecipe();
|
2015-03-30 15:08:19 +02:00
|
|
|
|
|
|
|
|
|
//Fishing Net
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.FISHING_NET.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFishingNet),
|
2015-03-31 20:37:55 +02:00
|
|
|
|
"SSS", "SDS", "SSS",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'D', "gemDiamond",
|
|
|
|
|
'S', Items.string));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeFisher = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-31 20:37:55 +02:00
|
|
|
|
|
2015-04-02 12:06:42 +02:00
|
|
|
|
//Repairer
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.REPAIRER.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockItemRepairer),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"DID", "OCO", "DID",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'D', "gemDiamond",
|
|
|
|
|
'I', "ingotIron",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeRepairer = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-04-02 12:06:42 +02:00
|
|
|
|
|
2015-03-31 20:37:55 +02:00
|
|
|
|
//Solar Panel
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.SOLAR_PANEL.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFurnaceSolar),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"IQI", "CDC", "IBI",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'D', "blockDiamond",
|
|
|
|
|
'I', "ingotIron",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2015-05-20 22:39:43 +02:00
|
|
|
|
'B', new ItemStack(Blocks.iron_bars)));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeSolar = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-31 20:37:55 +02:00
|
|
|
|
|
|
|
|
|
//Heat Collector
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.HEAT_COLLECTOR.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockHeatCollector),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"BRB", "CDC", "BQB",
|
2015-05-20 22:39:43 +02:00
|
|
|
|
'D', "gemDiamond",
|
2015-03-31 20:37:55 +02:00
|
|
|
|
'R', new ItemStack(Items.repeater),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
2015-03-31 20:37:55 +02:00
|
|
|
|
'L', new ItemStack(Items.lava_bucket),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2015-05-20 22:39:43 +02:00
|
|
|
|
'B', new ItemStack(Blocks.iron_bars)));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeHeatCollector = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-30 15:08:19 +02:00
|
|
|
|
|
|
|
|
|
//Quartz Pillar
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_PILLAR.ordinal()),
|
2015-03-30 15:08:19 +02:00
|
|
|
|
"Q", "Q",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeQuartzPillar = Util.lastIRecipe();
|
2015-03-30 15:08:19 +02:00
|
|
|
|
|
|
|
|
|
//Chiseled Quartz
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 2, TheMiscBlocks.QUARTZ_CHISELED.ordinal()),
|
2015-03-30 15:08:19 +02:00
|
|
|
|
"Q", "Q",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal())));
|
2015-08-31 07:24:58 +02:00
|
|
|
|
recipeQuartzChiseled = Util.lastIRecipe();
|
2015-03-30 15:08:19 +02:00
|
|
|
|
|
2015-03-21 16:11:22 +01:00
|
|
|
|
//Inputter
|
2015-04-24 19:22:03 +02:00
|
|
|
|
if(ConfigCrafting.INPUTTER.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockInputter),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"WWW", "CHC", "WWW",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'W', "plankWood",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()),
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'H', new ItemStack(Blocks.hopper)));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipeESD = Util.lastIRecipe();
|
2015-04-04 05:20:19 +02:00
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockInputterAdvanced),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
InitBlocks.blockInputter,
|
|
|
|
|
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
|
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()),
|
2015-04-04 05:20:19 +02:00
|
|
|
|
"dustRedstone"));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
recipeAdvancedESD = Util.lastIRecipe();
|
2015-04-04 05:20:19 +02:00
|
|
|
|
}
|
2015-03-21 16:11:22 +01:00
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
|
//Crusher
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.CRUSHER.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGrinder),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"CFC", "DQD", "CFC",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
|
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
2015-03-07 02:23:31 +01:00
|
|
|
|
'P', new ItemStack(Blocks.piston),
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'F', new ItemStack(Items.flint)));
|
2015-08-30 05:11:05 +02:00
|
|
|
|
recipeCrusher = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
//Double Crusher
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.DOUBLE_CRUSHER.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGrinderDouble),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"CDC", "RFR", "CDC",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
|
'R', InitBlocks.blockGrinder,
|
|
|
|
|
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'P', new ItemStack(Blocks.piston)));
|
2015-08-30 05:11:05 +02:00
|
|
|
|
recipeDoubleCrusher = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
//Double Furnace
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.COMPOST.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFurnaceDouble),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"CDC", "RFR", "CDC",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
2015-03-07 02:23:31 +01:00
|
|
|
|
'R', new ItemStack(Blocks.furnace),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'P', "ingotBrick"));
|
2015-08-30 19:10:10 +02:00
|
|
|
|
recipeFurnace = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
//Feeder
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.DOUBLE_FURNACE.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFeeder),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"WCW", "DHD", "WCW",
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'W', "plankWood",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
2015-03-07 02:23:31 +01:00
|
|
|
|
'C', new ItemStack(Items.golden_carrot),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'H', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal())));
|
2015-08-31 10:45:05 +02:00
|
|
|
|
recipeFeeder = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
|
|
//Giant Chest
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.GIANT_CHEST.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGiantChest),
|
2015-04-06 15:51:59 +02:00
|
|
|
|
"CWC", "WDW", "CWC",
|
2015-03-07 02:23:31 +01:00
|
|
|
|
'C', new ItemStack(Blocks.chest),
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'D', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()),
|
2015-04-04 05:20:19 +02:00
|
|
|
|
'W', "plankWood"));
|
2015-09-06 23:18:50 +02:00
|
|
|
|
recipeCrate = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
2015-04-24 19:22:03 +02:00
|
|
|
|
//Greenhouse Glass
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.GREENHOUSE_GLASS.isEnabled()){
|
2015-07-17 22:49:00 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGreenhouseGlass, 3),
|
2015-04-24 19:22:03 +02:00
|
|
|
|
"GSG", "SDS", "GSG",
|
|
|
|
|
'G', "blockGlass",
|
2015-06-12 19:12:06 +02:00
|
|
|
|
'D', Blocks.obsidian,
|
2015-04-24 19:22:03 +02:00
|
|
|
|
'S', "treeSapling"));
|
2015-08-31 05:44:09 +02:00
|
|
|
|
recipeGlass = Util.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-04-24 19:22:03 +02:00
|
|
|
|
|
|
|
|
|
//Placer
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.PLACER.isEnabled()){
|
2015-04-24 19:22:03 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPlacer),
|
|
|
|
|
"CCC", "CRP", "CCC",
|
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
2015-04-24 19:22:03 +02:00
|
|
|
|
'P', Blocks.piston));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipePlacer = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-04-24 19:22:03 +02:00
|
|
|
|
|
|
|
|
|
//Breaker
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.BREAKER.isEnabled()){
|
2015-04-24 19:22:03 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockBreaker),
|
|
|
|
|
"CCC", "CRP", "CCC",
|
|
|
|
|
'C', "cobblestone",
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
2015-05-30 17:47:57 +02:00
|
|
|
|
'P', Items.iron_pickaxe));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
recipeBreaker = Util.lastIRecipe();
|
|
|
|
|
}
|
2015-04-24 19:22:03 +02:00
|
|
|
|
|
2015-05-04 17:26:50 +02:00
|
|
|
|
//Dropper
|
2015-08-29 01:09:09 +02:00
|
|
|
|
if(ConfigCrafting.DROPPER.isEnabled()){
|
2015-05-04 17:26:50 +02:00
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDropper),
|
|
|
|
|
"CCC", "CDR", "CCC",
|
|
|
|
|
'C', "cobblestone",
|
|
|
|
|
'D', Blocks.dropper,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
2015-08-29 01:09:09 +02:00
|
|
|
|
}
|
2015-05-04 17:26:50 +02:00
|
|
|
|
|
2015-07-02 01:39:15 +02:00
|
|
|
|
if(ConfigCrafting.LAMPS.isEnabled()){
|
|
|
|
|
for(int i = 0; i < BlockColoredLamp.allLampTypes.length; i++){
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockColoredLamp, 6, i),
|
|
|
|
|
"GGG", "DQD", "GGG",
|
|
|
|
|
'G', "glowstone",
|
|
|
|
|
'D', "dye"+BlockColoredLamp.allLampTypes[i].name,
|
2015-07-02 10:45:15 +02:00
|
|
|
|
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
2015-09-09 23:44:53 +02:00
|
|
|
|
recipesLamps[i] = Util.lastIRecipe();
|
2015-07-02 01:39:15 +02:00
|
|
|
|
}
|
2015-07-07 15:31:10 +02:00
|
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLampPowerer, 4),
|
|
|
|
|
"XXX", "XLX", "XXX",
|
|
|
|
|
'X', "dustRedstone",
|
|
|
|
|
'L', new ItemStack(InitBlocks.blockColoredLamp, 1, Util.WILDCARD)));
|
2015-09-09 23:44:53 +02:00
|
|
|
|
recipePowerer = Util.lastIRecipe();
|
2015-07-02 01:39:15 +02:00
|
|
|
|
}
|
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|