2015-08-29 14:33:25 +02:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("BlockCrafting.java") is part of the Actually Additions mod for Minecraft.
|
2015-08-29 14:33:25 +02:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2015-08-29 14:33:25 +02:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2016-05-16 22:54:42 +02:00
|
|
|
* © 2015-2016 Ellpeck
|
2015-08-29 14:33:25 +02:00
|
|
|
*/
|
|
|
|
|
2016-01-05 04:47:35 +01:00
|
|
|
package de.ellpeck.actuallyadditions.mod.crafting;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
2016-01-05 04:47:35 +01:00
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.BlockColoredLamp;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.metalists.TheMiscBlocks;
|
2016-07-26 19:40:28 +02:00
|
|
|
import de.ellpeck.actuallyadditions.mod.config.values.ConfigBoolValues;
|
2016-01-05 04:47:35 +01:00
|
|
|
import de.ellpeck.actuallyadditions.mod.config.values.ConfigCrafting;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.items.InitItems;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.items.metalists.TheMiscItems;
|
2016-03-18 18:41:37 +01:00
|
|
|
import de.ellpeck.actuallyadditions.mod.util.RecipeUtil;
|
2016-01-05 04:47:35 +01:00
|
|
|
import de.ellpeck.actuallyadditions.mod.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;
|
2016-01-07 18:20:59 +01:00
|
|
|
import net.minecraftforge.fml.common.registry.GameRegistry;
|
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
|
|
|
|
2016-06-17 23:50:38 +02:00
|
|
|
public final class BlockCrafting{
|
2015-03-07 02:23:31 +01:00
|
|
|
|
2016-06-17 23:50:38 +02:00
|
|
|
public static final IRecipe[] RECIPES_LAMPS = new IRecipe[BlockColoredLamp.ALL_LAMP_TYPES.length];
|
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;
|
2015-10-29 20:54:10 +01:00
|
|
|
public static IRecipe recipeIronCase;
|
2015-08-30 01:19:03 +02:00
|
|
|
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 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;
|
2016-06-27 20:34:58 +02:00
|
|
|
public static IRecipe recipeCrateMedium;
|
|
|
|
public static IRecipe recipeCrateLarge;
|
2015-09-06 23:18:50 +02:00
|
|
|
public static IRecipe recipeFermentingBarrel;
|
|
|
|
public static IRecipe recipeCanolaPress;
|
2015-09-09 23:44:53 +02:00
|
|
|
public static IRecipe recipePowerer;
|
2015-10-01 12:11:38 +02:00
|
|
|
public static IRecipe recipeLeafGen;
|
2015-10-05 19:55:28 +02:00
|
|
|
public static IRecipe recipeDirectionalBreaker;
|
2015-10-06 12:40:13 +02:00
|
|
|
public static IRecipe recipeDropper;
|
2015-10-10 03:39:42 +02:00
|
|
|
public static IRecipe recipeRangedCollector;
|
2015-10-28 20:35:39 +01:00
|
|
|
public static IRecipe recipeLaserRelay;
|
2016-07-17 14:09:57 +02:00
|
|
|
public static IRecipe recipeLaserRelayAdvanced;
|
|
|
|
public static IRecipe recipeLaserRelayExtreme;
|
2015-11-15 15:15:32 +01:00
|
|
|
public static IRecipe recipeAtomicReconstructor;
|
2015-12-09 20:59:10 +01:00
|
|
|
public static IRecipe recipeMiner;
|
2015-12-13 17:43:35 +01:00
|
|
|
public static IRecipe recipeFireworkBox;
|
2016-05-05 17:37:12 +02:00
|
|
|
public static IRecipe recipePhantomRedstoneface;
|
2016-05-11 19:30:19 +02:00
|
|
|
public static IRecipe recipeLaserRelayItem;
|
|
|
|
public static IRecipe recipeLaserRelayItemWhitelist;
|
|
|
|
public static IRecipe recipeItemInterface;
|
2016-06-05 04:34:01 +02:00
|
|
|
public static IRecipe recipePlayerInterface;
|
2016-06-09 17:39:01 +02:00
|
|
|
public static IRecipe recipeDisplayStand;
|
2016-07-05 18:32:22 +02:00
|
|
|
public static IRecipe recipeShockSuppressor;
|
2016-08-03 19:01:12 +02:00
|
|
|
public static IRecipe recipeEmpowerer;
|
2016-07-14 22:04:24 +02:00
|
|
|
public static IRecipe[] recipesTinyTorch = new IRecipe[2];
|
2016-09-08 17:34:54 +02:00
|
|
|
public static IRecipe recipeFluidLaser;
|
2015-08-29 01:09:09 +02:00
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
public static void init(){
|
|
|
|
|
2016-08-03 19:01:12 +02:00
|
|
|
//Empowerer
|
|
|
|
if(ConfigCrafting.EMPOWERER.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockEmpowerer),
|
|
|
|
" R ", " B ", "CDC",
|
|
|
|
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
|
|
|
'B', new ItemStack(InitItems.itemBatteryDouble, 1, Util.WILDCARD),
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
|
|
|
'D', new ItemStack(InitBlocks.blockDisplayStand)));
|
|
|
|
recipeEmpowerer = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
2016-07-14 22:04:24 +02:00
|
|
|
//Tiny Torch
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTinyTorch, 2),
|
|
|
|
"C",
|
|
|
|
"W",
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.TINY_COAL.ordinal()),
|
|
|
|
'W', "stickWood"));
|
|
|
|
recipesTinyTorch[0] = RecipeUtil.lastIRecipe();
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTinyTorch, 2),
|
|
|
|
"C",
|
|
|
|
"W",
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.TINY_CHAR.ordinal()),
|
|
|
|
'W', "stickWood"));
|
|
|
|
recipesTinyTorch[1] = RecipeUtil.lastIRecipe();
|
|
|
|
|
2015-12-13 17:43:35 +01:00
|
|
|
//Firework Box
|
|
|
|
if(ConfigCrafting.FIREWORK_BOX.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFireworkBox),
|
|
|
|
"GGG", "SSS", "CCC",
|
2016-04-20 21:39:03 +02:00
|
|
|
'G', new ItemStack(Items.GUNPOWDER),
|
|
|
|
'S', new ItemStack(Items.STICK),
|
2015-12-13 17:43:35 +01:00
|
|
|
'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeFireworkBox = RecipeUtil.lastIRecipe();
|
2015-12-13 17:43:35 +01:00
|
|
|
}
|
|
|
|
|
2016-07-05 18:32:22 +02:00
|
|
|
//Shock Suppressor
|
|
|
|
if(ConfigCrafting.SHOCK_SUPPRESSOR.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockShockSuppressor),
|
2016-08-03 17:59:27 +02:00
|
|
|
"OAO", "ACA", "OAO",
|
|
|
|
'A', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.COAL.ordinal()),
|
2016-07-05 18:32:22 +02:00
|
|
|
'O', new ItemStack(Blocks.OBSIDIAN),
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
|
|
|
recipeShockSuppressor = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
2016-06-09 17:39:01 +02:00
|
|
|
//Display Stand
|
|
|
|
if(ConfigCrafting.DISPLAY_STAND.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDisplayStand),
|
|
|
|
" R ", "EEE", "GGG",
|
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
'E', new ItemStack(InitBlocks.blockTestifiBucksGreenWall),
|
|
|
|
'G', new ItemStack(InitBlocks.blockTestifiBucksWhiteWall)));
|
|
|
|
recipeDisplayStand = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
2015-12-09 20:59:10 +01:00
|
|
|
//Miner
|
|
|
|
if(ConfigCrafting.MINER.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMiner),
|
|
|
|
"IRI", "RCR", "IDI",
|
|
|
|
'R', "blockRedstone",
|
|
|
|
'I', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2016-08-03 17:59:27 +02:00
|
|
|
'C', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.COAL.ordinal()),
|
2015-12-09 20:59:10 +01:00
|
|
|
'D', new ItemStack(InitItems.itemDrill, 1, Util.WILDCARD)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeMiner = RecipeUtil.lastIRecipe();
|
2015-12-09 20:59:10 +01:00
|
|
|
}
|
|
|
|
|
2015-12-17 20:18:22 +01:00
|
|
|
//Quartz
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockQuartzWall, 6),
|
|
|
|
"XXX", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal())));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockQuartzSlab, 6),
|
|
|
|
"XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal())));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockQuartzStair, 6),
|
|
|
|
"X ", "XX ", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal())));
|
|
|
|
|
|
|
|
//PillarQuartz
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPillarQuartzWall, 6),
|
|
|
|
"XXX", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_PILLAR.ordinal())));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPillarQuartzSlab, 6),
|
|
|
|
"XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_PILLAR.ordinal())));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPillarQuartzStair, 6),
|
|
|
|
"X ", "XX ", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_PILLAR.ordinal())));
|
|
|
|
|
|
|
|
//ChiseledQuartz
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockChiseledQuartzWall, 6),
|
|
|
|
"XXX", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_CHISELED.ordinal())));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockChiseledQuartzSlab, 6),
|
|
|
|
"XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_CHISELED.ordinal())));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockChiseledQuartzStair, 6),
|
|
|
|
"X ", "XX ", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ_CHISELED.ordinal())));
|
|
|
|
|
2015-11-20 22:31:43 +01:00
|
|
|
//White Ethetic Blocks
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTestifiBucksWhiteFence, 6),
|
|
|
|
"XXX", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockTestifiBucksWhiteWall)));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTestifiBucksWhiteSlab, 6),
|
|
|
|
"XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockTestifiBucksWhiteWall)));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTestifiBucksWhiteStairs, 6),
|
|
|
|
"X ", "XX ", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockTestifiBucksWhiteWall)));
|
|
|
|
|
|
|
|
//Green Ethetic Blocks
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTestifiBucksGreenFence, 6),
|
|
|
|
"XXX", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockTestifiBucksGreenWall)));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTestifiBucksGreenSlab, 6),
|
|
|
|
"XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockTestifiBucksGreenWall)));
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockTestifiBucksGreenStairs, 6),
|
|
|
|
"X ", "XX ", "XXX",
|
|
|
|
'X', new ItemStack(InitBlocks.blockTestifiBucksGreenWall)));
|
|
|
|
|
2015-11-15 15:15:32 +01:00
|
|
|
//Atomic Reconstructor
|
|
|
|
if(ConfigCrafting.ATOMIC_RECONSTRUCTOR.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockAtomicReconstructor),
|
|
|
|
"IRI", "RCR", "IRI",
|
2015-12-09 17:58:20 +01:00
|
|
|
'R', "dustRedstone",
|
2015-11-15 15:15:32 +01:00
|
|
|
'I', "ingotIron",
|
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeAtomicReconstructor = RecipeUtil.lastIRecipe();
|
2015-11-15 15:15:32 +01:00
|
|
|
}
|
|
|
|
|
2015-10-28 20:35:39 +01:00
|
|
|
//Laser Relay
|
|
|
|
if(ConfigCrafting.LASER_RELAY.isEnabled()){
|
2015-10-29 20:54:10 +01:00
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLaserRelay, 2),
|
|
|
|
"OBO", "RCR", "OBO",
|
2016-04-20 21:39:03 +02:00
|
|
|
'B', new ItemStack(Blocks.REDSTONE_BLOCK),
|
|
|
|
'O', new ItemStack(Blocks.OBSIDIAN),
|
2015-12-01 23:23:55 +01:00
|
|
|
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-10-28 20:35:39 +01:00
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeLaserRelay = RecipeUtil.lastIRecipe();
|
2016-07-17 14:09:57 +02:00
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLaserRelayAdvanced),
|
|
|
|
" I ", "XRX", " I ",
|
2016-08-03 17:59:27 +02:00
|
|
|
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
2016-07-17 14:09:57 +02:00
|
|
|
'R', new ItemStack(InitBlocks.blockLaserRelay),
|
|
|
|
'X', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
|
|
|
recipeLaserRelayAdvanced = RecipeUtil.lastIRecipe();
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLaserRelayExtreme),
|
|
|
|
" I ", "XRX", " I ",
|
2016-08-03 17:59:27 +02:00
|
|
|
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
2016-07-17 14:09:57 +02:00
|
|
|
'R', new ItemStack(InitBlocks.blockLaserRelayAdvanced),
|
|
|
|
'X', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
|
|
|
recipeLaserRelayExtreme = RecipeUtil.lastIRecipe();
|
2015-10-28 20:35:39 +01:00
|
|
|
}
|
|
|
|
|
2016-05-11 19:30:19 +02:00
|
|
|
//Item Laser Relay
|
|
|
|
if(ConfigCrafting.LASER_RELAY_ITEM.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockLaserRelayItem),
|
|
|
|
new ItemStack(InitBlocks.blockLaserRelay),
|
|
|
|
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
|
|
|
recipeLaserRelayItem = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
|
|
|
//Whitelist Item Laser Relay
|
|
|
|
if(ConfigCrafting.LASER_RELAY_ITEM_WHITELIST.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockLaserRelayItemWhitelist),
|
|
|
|
new ItemStack(InitBlocks.blockLaserRelayItem),
|
|
|
|
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()),
|
2016-08-09 22:21:00 +02:00
|
|
|
new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
2016-05-11 19:30:19 +02:00
|
|
|
recipeLaserRelayItemWhitelist = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
2016-09-08 17:34:54 +02:00
|
|
|
//Fluid Laser Relay
|
|
|
|
if(ConfigCrafting.LASER_RELAY_FLUIDS.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockLaserRelayFluids),
|
|
|
|
new ItemStack(InitBlocks.blockLaserRelay),
|
|
|
|
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal())));
|
|
|
|
recipeFluidLaser = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
2016-05-11 19:30:19 +02:00
|
|
|
//Item Interface
|
|
|
|
if(ConfigCrafting.ITEM_INTERFACE.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockItemViewer),
|
|
|
|
"OBO", "RCR", "OBO",
|
|
|
|
'B', new ItemStack(Items.REDSTONE),
|
|
|
|
'O', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal()),
|
|
|
|
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
2016-08-14 11:55:20 +02:00
|
|
|
'C', "chestWood"));
|
2016-05-11 19:30:19 +02:00
|
|
|
recipeItemInterface = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
2015-10-10 03:39:42 +02:00
|
|
|
//Ranged Collector
|
|
|
|
if(ConfigCrafting.RANGED_COLLECTOR.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockRangedCollector),
|
2015-11-15 17:50:31 +01:00
|
|
|
" A ", "EHE", " C ",
|
2016-04-20 21:39:03 +02:00
|
|
|
'E', new ItemStack(Items.ENDER_PEARL),
|
|
|
|
'H', new ItemStack(Blocks.HOPPER),
|
2015-12-26 23:48:49 +01:00
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-12-01 23:23:55 +01:00
|
|
|
'A', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeRangedCollector = RecipeUtil.lastIRecipe();
|
2015-10-10 03:39:42 +02:00
|
|
|
}
|
|
|
|
|
2015-10-05 19:55:28 +02:00
|
|
|
//Directional Breaker
|
|
|
|
if(ConfigCrafting.DIRECTIONAL_BREAKER.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDirectionalBreaker),
|
2015-11-15 17:50:31 +01:00
|
|
|
"BBB", " C ",
|
2015-12-01 23:23:55 +01:00
|
|
|
'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal()),
|
2015-10-05 19:55:28 +02:00
|
|
|
'B', new ItemStack(InitBlocks.blockBreaker)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeDirectionalBreaker = RecipeUtil.lastIRecipe();
|
2015-10-05 19:55:28 +02:00
|
|
|
}
|
|
|
|
|
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 ",
|
2016-04-20 21:39:03 +02:00
|
|
|
'W', new ItemStack(Blocks.WOOL, 1, Util.WILDCARD),
|
2015-12-28 15:05:56 +01:00
|
|
|
'X', new ItemStack(InitItems.itemSolidifiedExperience)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeSmileyCloud = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCompost = RecipeUtil.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",
|
2015-12-28 15:05:56 +01:00
|
|
|
'X', new ItemStack(InitItems.itemSolidifiedExperience),
|
2016-08-03 17:59:27 +02:00
|
|
|
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
2015-07-17 22:49:00 +02:00
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeSolidifier = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
2015-07-17 22:49:00 +02:00
|
|
|
|
2016-07-22 11:06:05 +02:00
|
|
|
if(ConfigCrafting.CHARCOAL_BLOCK.isEnabled()){
|
|
|
|
//Charcoal Block
|
|
|
|
GameRegistry.addRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.CHARCOAL_BLOCK.ordinal()),
|
|
|
|
"CCC", "CCC", "CCC",
|
|
|
|
'C', new ItemStack(Items.COAL, 1, 1));
|
|
|
|
recipeBlockChar = RecipeUtil.lastIRecipe();
|
|
|
|
GameRegistry.addShapelessRecipe(new ItemStack(Items.COAL, 9, 1),
|
|
|
|
new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.CHARCOAL_BLOCK.ordinal()));
|
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
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",
|
2016-07-26 19:40:28 +02:00
|
|
|
'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()) : "stickWood"));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCase = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
2015-04-04 05:20:19 +02:00
|
|
|
|
2015-10-29 20:54:10 +01:00
|
|
|
//Iron Casing
|
|
|
|
if(ConfigCrafting.IRON_CASING.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
|
|
|
"WSW", "SQS", "WSW",
|
|
|
|
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal()),
|
|
|
|
'W', "ingotIron",
|
2016-07-26 19:40:28 +02:00
|
|
|
'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()) : "stickWood"));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeIronCase = RecipeUtil.lastIRecipe();
|
2015-10-29 20:54:10 +01: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",
|
2016-07-26 19:40:28 +02:00
|
|
|
'W', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()) : new ItemStack(Items.ENDER_PEARL),
|
2015-07-02 10:45:15 +02:00
|
|
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.QUARTZ.ordinal()),
|
2016-08-03 17:59:27 +02:00
|
|
|
'S', ConfigBoolValues.SUPER_DUPER_HARD_MODE.isEnabled() ? new ItemStack(Blocks.DIAMOND_BLOCK) : new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeEnderCase = RecipeUtil.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",
|
2016-08-10 15:35:49 +02:00
|
|
|
'R', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-12-01 23:23:55 +01:00
|
|
|
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipePhantomBooster = RecipeUtil.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),
|
2015-11-15 17:50:31 +01:00
|
|
|
" C ", " S ", "AMA",
|
2015-12-01 23:23:55 +01:00
|
|
|
'M', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'C', InitItems.itemCoffeeBean,
|
2015-12-26 23:48:49 +01:00
|
|
|
'S', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'A', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCoffeeMachine = RecipeUtil.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",
|
2015-12-01 23:23:55 +01:00
|
|
|
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2015-10-29 20:54:10 +01:00
|
|
|
'A', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeEnergizer = RecipeUtil.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 ",
|
2015-12-01 23:23:55 +01:00
|
|
|
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2015-10-29 20:54:10 +01:00
|
|
|
'A', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeEnervator = RecipeUtil.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-10-29 20:54:10 +01:00
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2016-08-03 17:59:27 +02:00
|
|
|
'I', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'L', Items.LAVA_BUCKET));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeLavaFactory = RecipeUtil.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-10-29 20:54:10 +01:00
|
|
|
'C', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-12-01 23:41:33 +01:00
|
|
|
'I', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.IRON.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCasing = RecipeUtil.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",
|
2015-12-01 23:23:55 +01:00
|
|
|
'H', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCanolaPress = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +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",
|
2015-12-01 23:23:55 +01:00
|
|
|
'H', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeFermentingBarrel = RecipeUtil.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 ",
|
2016-08-03 17:59:27 +02:00
|
|
|
'E', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
2016-08-14 11:55:20 +02:00
|
|
|
'C', "chestWood",
|
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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipePhantomface = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
2015-05-20 22:39:43 +02:00
|
|
|
|
2016-06-05 04:34:01 +02:00
|
|
|
//Player Interface
|
|
|
|
if(ConfigCrafting.PLAYER_INTERFACE.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPlayerInterface),
|
2016-06-05 12:21:47 +02:00
|
|
|
"BCB", "EBE", "BSB",
|
2016-08-03 17:59:27 +02:00
|
|
|
'E', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
2016-06-05 04:34:01 +02:00
|
|
|
'C', new ItemStack(Items.SKULL, 1, 1),
|
|
|
|
'S', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
|
|
|
'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal())));
|
|
|
|
recipePlayerInterface = RecipeUtil.lastIRecipe();
|
|
|
|
}
|
|
|
|
|
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));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipePhantomPlacer = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipePhantomBreaker = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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 ",
|
2016-08-03 17:59:27 +02:00
|
|
|
'R', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'F', InitBlocks.blockPhantomface));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeEnergyface = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
2015-05-30 17:47:57 +02:00
|
|
|
|
2016-05-05 17:37:12 +02:00
|
|
|
//Phantom Redstoneface
|
|
|
|
if(ConfigCrafting.PHANTOM_REDSTONEFACE.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomRedstoneface),
|
|
|
|
"SRS", "RFR", "SRS",
|
2016-08-03 17:59:27 +02:00
|
|
|
'R', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
2016-05-05 17:37:12 +02:00
|
|
|
'S', new ItemStack(Items.REDSTONE),
|
|
|
|
'F', InitBlocks.blockPhantomface));
|
|
|
|
recipePhantomRedstoneface = RecipeUtil.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",
|
2016-04-20 21:39:03 +02:00
|
|
|
'R', Items.BUCKET,
|
2015-07-02 10:45:15 +02:00
|
|
|
'F', InitBlocks.blockPhantomface));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeLiquiface = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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",
|
2016-04-20 21:39:03 +02:00
|
|
|
'R', Items.BUCKET,
|
2015-07-02 10:45:15 +02:00
|
|
|
'F', InitBlocks.blockPlacer));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeLiquidPlacer = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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",
|
2016-04-20 21:39:03 +02:00
|
|
|
'R', Items.BUCKET,
|
2015-07-02 10:45:15 +02:00
|
|
|
'F', InitBlocks.blockBreaker));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeLiquidCollector = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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-12-26 23:48:49 +01:00
|
|
|
'R', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'B', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.CANOLA.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeOilGen = RecipeUtil.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-12-26 23:48:49 +01:00
|
|
|
'B', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'R', new ItemStack(Items.COAL, 1, Util.WILDCARD)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCoalGen = RecipeUtil.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",
|
2015-12-01 23:23:55 +01:00
|
|
|
'I', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
2016-08-03 17:59:27 +02:00
|
|
|
'G', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-10-29 20:54:10 +01:00
|
|
|
'E', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-10-01 12:11:38 +02:00
|
|
|
'L', "treeLeaves",
|
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeLeafGen = RecipeUtil.lastIRecipe();
|
2015-10-01 12:11:38 +02:00
|
|
|
}
|
|
|
|
|
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",
|
2016-04-20 21:39:03 +02:00
|
|
|
'E', Items.ENDER_PEARL));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeEnderPearlBlock = RecipeUtil.lastIRecipe();
|
2016-04-20 21:39:03 +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-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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeQuartzBlock = RecipeUtil.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",
|
2016-08-03 17:59:27 +02:00
|
|
|
'D', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.EMERALD.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'S', Items.STRING));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeFisher = RecipeUtil.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",
|
2016-08-03 17:59:27 +02:00
|
|
|
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.DIAMOND.ordinal()),
|
|
|
|
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeRepairer = RecipeUtil.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",
|
2016-01-07 16:07:23 +01:00
|
|
|
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
2016-08-03 17:59:27 +02:00
|
|
|
'I', new ItemStack(InitItems.itemCrystalEmpowered, 1, TheCrystals.IRON.ordinal()),
|
2015-10-29 20:54:10 +01:00
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-07-02 10:45:15 +02:00
|
|
|
'C', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'B', new ItemStack(Blocks.IRON_BARS)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeSolar = RecipeUtil.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-12-01 23:23:55 +01:00
|
|
|
'D', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'R', new ItemStack(Items.REPEATER),
|
2015-10-29 20:54:10 +01:00
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2016-04-20 21:39:03 +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()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'B', new ItemStack(Blocks.IRON_BARS)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeHeatCollector = RecipeUtil.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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeQuartzPillar = RecipeUtil.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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeQuartzChiseled = RecipeUtil.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-12-01 23:23:55 +01:00
|
|
|
'H', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeESD = RecipeUtil.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-12-01 23:23:55 +01:00
|
|
|
new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeAdvancedESD = RecipeUtil.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-11-15 17:50:31 +01:00
|
|
|
"MFC", "DQD", "CFM",
|
2015-12-01 23:23:55 +01:00
|
|
|
'M', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
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-12-26 23:48:49 +01:00
|
|
|
'Q', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'P', new ItemStack(Blocks.PISTON),
|
|
|
|
'F', new ItemStack(Items.FLINT)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCrusher = RecipeUtil.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,
|
2015-12-26 23:48:49 +01:00
|
|
|
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'P', new ItemStack(Blocks.PISTON)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeDoubleCrusher = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
//Double Furnace
|
2015-11-15 17:50:31 +01:00
|
|
|
if(ConfigCrafting.DOUBLE_FURNACE.isEnabled()){
|
2015-04-04 05:20:19 +02:00
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFurnaceDouble),
|
2015-11-15 17:50:31 +01:00
|
|
|
"PDC", "RFR", "CDP",
|
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()),
|
2016-04-20 21:39:03 +02:00
|
|
|
'R', new ItemStack(Blocks.FURNACE),
|
2015-12-26 23:48:49 +01:00
|
|
|
'F', new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.IRON_CASING.ordinal()),
|
2015-12-01 23:23:55 +01:00
|
|
|
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.IRON.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeFurnace = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
//Feeder
|
2015-11-15 17:50:31 +01:00
|
|
|
if(ConfigCrafting.FEEDER.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()),
|
2016-04-20 21:39:03 +02: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())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeFeeder = RecipeUtil.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",
|
2016-08-14 11:55:20 +02:00
|
|
|
'C', "chestWood",
|
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"));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeCrate = RecipeUtil.lastIRecipe();
|
2016-06-27 20:34:58 +02:00
|
|
|
|
2016-08-04 11:57:35 +02:00
|
|
|
GameRegistry.addRecipe(new RecipeKeepDataShaped(new ItemStack(InitBlocks.blockGiantChestMedium), new ItemStack(InitBlocks.blockGiantChest),
|
2016-06-27 20:34:58 +02:00
|
|
|
"CWC", "WDW", "CWC",
|
|
|
|
'C', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.COAL.ordinal()),
|
|
|
|
'D', new ItemStack(InitBlocks.blockGiantChest),
|
|
|
|
'W', "plankWood"));
|
|
|
|
recipeCrateMedium = RecipeUtil.lastIRecipe();
|
|
|
|
|
2016-08-04 11:57:35 +02:00
|
|
|
GameRegistry.addRecipe(new RecipeKeepDataShaped(new ItemStack(InitBlocks.blockGiantChestLarge), new ItemStack(InitBlocks.blockGiantChestMedium),
|
2016-06-27 20:34:58 +02:00
|
|
|
"CWC", "WDW", "CWC",
|
2016-08-03 17:59:27 +02:00
|
|
|
'C', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.COAL.ordinal()),
|
2016-06-27 20:34:58 +02:00
|
|
|
'D', new ItemStack(InitBlocks.blockGiantChestMedium),
|
|
|
|
'W', "plankWood"));
|
|
|
|
recipeCrateLarge = RecipeUtil.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",
|
2016-08-03 17:59:27 +02:00
|
|
|
'D', new ItemStack(InitBlocks.blockCrystalEmpowered, 1, TheCrystals.LAPIS.ordinal()),
|
2015-04-24 19:22:03 +02:00
|
|
|
'S', "treeSapling"));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeGlass = RecipeUtil.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-12-26 16:36:52 +01:00
|
|
|
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipePlacer = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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-12-26 16:36:52 +01:00
|
|
|
'P', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.COAL.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeBreaker = RecipeUtil.lastIRecipe();
|
2015-08-29 01:09:09 +02:00
|
|
|
}
|
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),
|
2015-11-15 17:50:31 +01:00
|
|
|
"CBC", "CDR", "CBC",
|
2015-12-01 23:41:33 +01:00
|
|
|
'B', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
2015-05-04 17:26:50 +02:00
|
|
|
'C', "cobblestone",
|
2016-04-20 21:39:03 +02:00
|
|
|
'D', Blocks.DROPPER,
|
2015-07-02 10:45:15 +02:00
|
|
|
'R', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.COIL_ADVANCED.ordinal())));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipeDropper = RecipeUtil.lastIRecipe();
|
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()){
|
2016-06-17 23:50:38 +02:00
|
|
|
for(int i = 0; i < BlockColoredLamp.ALL_LAMP_TYPES.length; i++){
|
2015-07-02 01:39:15 +02:00
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockColoredLamp, 6, i),
|
2015-11-15 17:50:31 +01:00
|
|
|
"GCG", "DQD", "GCG",
|
2015-12-01 23:41:33 +01:00
|
|
|
'C', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.LAPIS.ordinal()),
|
2015-07-02 01:39:15 +02:00
|
|
|
'G', "glowstone",
|
2016-06-17 23:50:38 +02:00
|
|
|
'D', "dye"+BlockColoredLamp.ALL_LAMP_TYPES[i].name,
|
2015-07-02 10:45:15 +02:00
|
|
|
'Q', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
2016-06-17 23:50:38 +02:00
|
|
|
RECIPES_LAMPS[i] = RecipeUtil.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",
|
2015-12-01 23:23:55 +01:00
|
|
|
'X', new ItemStack(InitItems.itemCrystal, 1, TheCrystals.REDSTONE.ordinal()),
|
2015-07-07 15:31:10 +02:00
|
|
|
'L', new ItemStack(InitBlocks.blockColoredLamp, 1, Util.WILDCARD)));
|
2016-03-18 18:41:37 +01:00
|
|
|
recipePowerer = RecipeUtil.lastIRecipe();
|
2015-07-02 01:39:15 +02:00
|
|
|
}
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
}
|
|
|
|
|
2015-12-01 23:41:33 +01:00
|
|
|
}
|