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-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-04-04 05:20:19 +02:00
|
|
|
import ellpeck.actuallyadditions.util.INameableItem;
|
2015-03-07 02:23:31 +01:00
|
|
|
import net.minecraft.init.Blocks;
|
|
|
|
import net.minecraft.init.Items;
|
|
|
|
import net.minecraft.item.ItemStack;
|
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{
|
|
|
|
|
|
|
|
public static void init(){
|
|
|
|
|
|
|
|
//Compost
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'C', TheMiscBlocks.WOOD_CASING.getOredictName()));
|
2015-04-04 05:20:19 +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));
|
|
|
|
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-04-24 19:22:03 +02:00
|
|
|
if(ConfigCrafting.WOOD_CASING.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.WOOD_CASING.ordinal()),
|
|
|
|
"WSW", "SRS", "WSW",
|
|
|
|
'W', "plankWood",
|
|
|
|
'R', "dustRedstone",
|
|
|
|
'S', "stickWood"));
|
2015-04-04 05:20:19 +02:00
|
|
|
|
2015-06-12 19:12:06 +02:00
|
|
|
//Ender Casing
|
|
|
|
if(ConfigCrafting.ENDER_CASING.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDER_CASING.ordinal()),
|
|
|
|
"WSW", "SRS", "WSW",
|
|
|
|
'W', TheMiscBlocks.ENDERPEARL_BLOCK.getOredictName(),
|
|
|
|
'R', TheMiscBlocks.QUARTZ.getOredictName(),
|
|
|
|
'S', Blocks.obsidian));
|
|
|
|
|
|
|
|
//Phantom Booster
|
|
|
|
if(ConfigCrafting.PHANTOM_BOOSTER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomBooster),
|
|
|
|
"RDR", "DCD", "RDR",
|
|
|
|
'R', "dustRedstone",
|
|
|
|
'D', "gemDiamond",
|
|
|
|
'C', TheMiscBlocks.ENDER_CASING.getOredictName()));
|
|
|
|
|
|
|
|
//Coffee Machine
|
|
|
|
if(ConfigCrafting.COFFEE_MACHINE.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCoffeeMachine),
|
|
|
|
" C ", " S ", "A A",
|
|
|
|
'C', ((INameableItem)InitItems.itemCoffeeBean).getOredictName(),
|
|
|
|
'S', TheMiscBlocks.STONE_CASING.getOredictName(),
|
|
|
|
'A', TheMiscItems.COIL.getOredictName()));
|
|
|
|
|
|
|
|
//Lava Factory
|
|
|
|
if(ConfigCrafting.LAVA_FACTORY.isEnabled()){
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockLavaFactoryController),
|
|
|
|
" C ", "ISI", " L ",
|
|
|
|
'C', TheMiscBlocks.STONE_CASING.getOredictName(),
|
|
|
|
'S', TheMiscItems.COIL_ADVANCED.getOredictName(),
|
|
|
|
'I', "blockIron",
|
|
|
|
'L', Items.lava_bucket));
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 4, TheMiscBlocks.LAVA_FACTORY_CASE.ordinal()),
|
|
|
|
"ICI",
|
|
|
|
'C', TheMiscBlocks.STONE_CASING.getOredictName(),
|
|
|
|
'I', "blockIron"));
|
|
|
|
}
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
//Canola Press
|
|
|
|
if(ConfigCrafting.CANOLA_PRESS.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCanolaPress),
|
|
|
|
"CHC", "CDC", "CRC",
|
|
|
|
'C', "cobblestone",
|
|
|
|
'H', Blocks.hopper,
|
|
|
|
'R', TheMiscItems.COIL_ADVANCED.getOredictName(),
|
|
|
|
'D', TheMiscItems.CANOLA.getOredictName()));
|
|
|
|
|
|
|
|
//Fermenting Barrel
|
|
|
|
if(ConfigCrafting.FERMENTING_BARREL.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFermentingBarrel),
|
|
|
|
"CHC", "CDC", "CRC",
|
|
|
|
'C', "logWood",
|
|
|
|
'H', Blocks.hopper,
|
|
|
|
'R', TheMiscBlocks.WOOD_CASING.getOredictName(),
|
|
|
|
'D', TheMiscItems.CANOLA.getOredictName()));
|
|
|
|
|
|
|
|
//Phantomface
|
|
|
|
if(ConfigCrafting.PHANTOMFACE.isEnabled())
|
|
|
|
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,
|
|
|
|
'S', TheMiscItems.COIL_ADVANCED.getOredictName(),
|
|
|
|
'B', TheMiscBlocks.ENDERPEARL_BLOCK.getOredictName()));
|
|
|
|
|
2015-05-30 17:47:57 +02:00
|
|
|
//Phantom Placer
|
|
|
|
if(ConfigCrafting.PHANTOM_PLACER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockPhantomPlacer),
|
|
|
|
((INameableItem)InitBlocks.blockPlacer).getOredictName(),
|
|
|
|
((INameableItem)InitBlocks.blockPhantomface).getOredictName()));
|
|
|
|
|
|
|
|
//Phantom Breaker
|
|
|
|
if(ConfigCrafting.PHANTOM_BREAKER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockPhantomBreaker),
|
|
|
|
((INameableItem)InitBlocks.blockBreaker).getOredictName(),
|
|
|
|
((INameableItem)InitBlocks.blockPhantomface).getOredictName()));
|
|
|
|
|
|
|
|
//Phantom Energyface
|
|
|
|
if(ConfigCrafting.PHANTOM_ENERGYFACE.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomEnergyface),
|
|
|
|
" R ", "RFR", " R ",
|
|
|
|
'R', "dustRedstone",
|
|
|
|
'F', ((INameableItem)InitBlocks.blockPhantomface).getOredictName()));
|
|
|
|
|
|
|
|
//Phantom Liquiface
|
|
|
|
if(ConfigCrafting.PHANTOM_LIQUIFACE.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPhantomLiquiface),
|
|
|
|
"RFR",
|
|
|
|
'R', Items.bucket,
|
|
|
|
'F', ((INameableItem)InitBlocks.blockPhantomface).getOredictName()));
|
|
|
|
|
|
|
|
//Liquid Placer
|
|
|
|
if(ConfigCrafting.LIQUID_PLACER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFluidPlacer),
|
|
|
|
"RFR",
|
|
|
|
'R', Items.bucket,
|
|
|
|
'F', ((INameableItem)InitBlocks.blockPlacer).getOredictName()));
|
|
|
|
|
|
|
|
//Liquid Breaker
|
|
|
|
if(ConfigCrafting.LIQUID_BREAKER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockFluidCollector),
|
|
|
|
"RFR",
|
|
|
|
'R', Items.bucket,
|
|
|
|
'F', ((INameableItem)InitBlocks.blockBreaker).getOredictName()));
|
|
|
|
|
2015-05-20 22:39:43 +02:00
|
|
|
//Oil Generator
|
|
|
|
if(ConfigCrafting.OIL_GENERATOR.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockOilGenerator),
|
|
|
|
"CRC", "CBC", "CRC",
|
|
|
|
'C', "cobblestone",
|
|
|
|
'R', TheMiscBlocks.STONE_CASING.getOredictName(),
|
|
|
|
'B', InitItems.itemBucketOil));
|
|
|
|
|
|
|
|
//Coal Generator
|
|
|
|
if(ConfigCrafting.COAL_GENERATOR.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockCoalGenerator),
|
|
|
|
"CRC", "CBC", "CRC",
|
|
|
|
'C', "cobblestone",
|
|
|
|
'R', TheMiscBlocks.STONE_CASING.getOredictName(),
|
|
|
|
'B', "coal"));
|
|
|
|
|
|
|
|
//Enderpearl Block
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.ENDERPEARL_BLOCK.ordinal()),
|
|
|
|
"EE", "EE",
|
|
|
|
'E', Items.ender_pearl));
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Items.ender_pearl, 4),
|
|
|
|
TheMiscBlocks.ENDERPEARL_BLOCK.getOredictName()));
|
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
//Stone Casing
|
2015-04-24 19:22:03 +02:00
|
|
|
if(ConfigCrafting.STONE_CASING.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockMisc, 1, TheMiscBlocks.STONE_CASING.ordinal()),
|
|
|
|
"WSW", "SRS", "WSW",
|
|
|
|
'W', "cobblestone",
|
|
|
|
'R', "dustRedstone",
|
|
|
|
'S', "stickWood"));
|
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-04-04 05:20:19 +02:00
|
|
|
'Q', TheMiscItems.QUARTZ.getOredictName()));
|
2015-03-30 15:08:19 +02:00
|
|
|
|
|
|
|
//Fishing Net
|
2015-04-24 19:22:03 +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-03-31 20:37:55 +02:00
|
|
|
|
2015-04-02 12:06:42 +02:00
|
|
|
//Repairer
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'O', TheMiscItems.COIL.getOredictName(),
|
2015-05-20 22:39:43 +02:00
|
|
|
'C', TheMiscBlocks.STONE_CASING.getOredictName()));
|
2015-04-02 12:06:42 +02:00
|
|
|
|
2015-03-31 20:37:55 +02:00
|
|
|
//Solar Panel
|
2015-05-20 22:39:43 +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-04-06 15:51:59 +02:00
|
|
|
'Q', TheMiscBlocks.STONE_CASING.getOredictName(),
|
|
|
|
'C', TheMiscItems.COIL_ADVANCED.getOredictName(),
|
2015-05-20 22:39:43 +02:00
|
|
|
'B', new ItemStack(Blocks.iron_bars)));
|
2015-03-31 20:37:55 +02:00
|
|
|
|
|
|
|
//Heat Collector
|
2015-05-20 22:39:43 +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-04-06 15:51:59 +02:00
|
|
|
'Q', TheMiscBlocks.STONE_CASING.getOredictName(),
|
2015-03-31 20:37:55 +02:00
|
|
|
'L', new ItemStack(Items.lava_bucket),
|
2015-04-06 15:51:59 +02:00
|
|
|
'C', TheMiscItems.COIL_ADVANCED.getOredictName(),
|
2015-05-20 22:39:43 +02:00
|
|
|
'B', new ItemStack(Blocks.iron_bars)));
|
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-04-04 05:20:19 +02:00
|
|
|
'Q', TheMiscItems.QUARTZ.getOredictName()));
|
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-04-04 05:20:19 +02:00
|
|
|
'Q', TheMiscBlocks.QUARTZ.getOredictName()));
|
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-04-06 15:51:59 +02:00
|
|
|
'C', TheMiscBlocks.WOOD_CASING.getOredictName(),
|
2015-04-04 05:20:19 +02:00
|
|
|
'H', new ItemStack(Blocks.hopper)));
|
|
|
|
|
|
|
|
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitBlocks.blockInputterAdvanced),
|
|
|
|
((INameableItem)InitBlocks.blockInputter).getOredictName(),
|
2015-04-06 15:51:59 +02:00
|
|
|
TheMiscItems.COIL_ADVANCED.getOredictName(),
|
2015-04-04 05:20:19 +02:00
|
|
|
TheMiscItems.QUARTZ.getOredictName(),
|
|
|
|
"dustRedstone"));
|
|
|
|
}
|
2015-03-21 16:11:22 +01:00
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
//Crusher
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'D', TheMiscItems.COIL.getOredictName(),
|
|
|
|
'Q', TheMiscBlocks.STONE_CASING.getOredictName(),
|
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-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
//Double Crusher
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'D', TheMiscItems.COIL_ADVANCED.getOredictName(),
|
2015-04-04 05:20:19 +02:00
|
|
|
'R', ((INameableItem)InitBlocks.blockGrinder).getOredictName(),
|
2015-04-06 15:51:59 +02:00
|
|
|
'F', TheMiscBlocks.STONE_CASING.getOredictName(),
|
2015-04-04 05:20:19 +02:00
|
|
|
'P', new ItemStack(Blocks.piston)));
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
//Double Furnace
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'D', TheMiscItems.COIL.getOredictName(),
|
2015-03-07 02:23:31 +01:00
|
|
|
'R', new ItemStack(Blocks.furnace),
|
2015-04-06 15:51:59 +02:00
|
|
|
'F', TheMiscBlocks.STONE_CASING.getOredictName(),
|
2015-04-04 05:20:19 +02:00
|
|
|
'P', "ingotBrick"));
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
//Feeder
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'D', TheMiscItems.COIL.getOredictName(),
|
2015-03-07 02:23:31 +01:00
|
|
|
'C', new ItemStack(Items.golden_carrot),
|
2015-04-06 15:51:59 +02:00
|
|
|
'H', TheMiscBlocks.WOOD_CASING.getOredictName()));
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
//Giant Chest
|
2015-04-24 19:22:03 +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-04-06 15:51:59 +02:00
|
|
|
'D', TheMiscBlocks.WOOD_CASING.getOredictName(),
|
2015-04-04 05:20:19 +02:00
|
|
|
'W', "plankWood"));
|
2015-03-07 02:23:31 +01:00
|
|
|
|
2015-04-24 19:22:03 +02:00
|
|
|
//Greenhouse Glass
|
|
|
|
if(ConfigCrafting.GREENHOUSE_GLASS.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockGreenhouseGlass),
|
|
|
|
"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"));
|
|
|
|
|
|
|
|
//Placer
|
|
|
|
if(ConfigCrafting.PLACER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockPlacer),
|
|
|
|
"CCC", "CRP", "CCC",
|
|
|
|
'C', "cobblestone",
|
|
|
|
'R', TheMiscItems.COIL.getOredictName(),
|
|
|
|
'P', Blocks.piston));
|
|
|
|
|
|
|
|
//Breaker
|
|
|
|
if(ConfigCrafting.BREAKER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockBreaker),
|
|
|
|
"CCC", "CRP", "CCC",
|
|
|
|
'C', "cobblestone",
|
|
|
|
'R', TheMiscItems.COIL.getOredictName(),
|
2015-05-30 17:47:57 +02:00
|
|
|
'P', Items.iron_pickaxe));
|
2015-04-24 19:22:03 +02:00
|
|
|
|
2015-05-04 17:26:50 +02:00
|
|
|
//Dropper
|
|
|
|
if(ConfigCrafting.DROPPER.isEnabled())
|
|
|
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(InitBlocks.blockDropper),
|
|
|
|
"CCC", "CDR", "CCC",
|
|
|
|
'C', "cobblestone",
|
|
|
|
'D', Blocks.dropper,
|
|
|
|
'R', TheMiscItems.COIL_ADVANCED.getOredictName()));
|
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|