public void initFirst() {
MinecraftForge.EVENT_BUS.register(DamageSourceSteam.INSTANCE);
// LiquidItems.getSteamBottle(1);
EnumMachineBeta beta = EnumMachineBeta.ENGINE_STEAM_HOBBY;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"NNN",
" C ",
"GPG",
'P', new ItemStack(Blocks.piston),
'N', new ItemStack(Items.gold_nugget),
'C', new ItemStack(Blocks.glass),
'G', RailcraftItem.gear.getRecipeObject(EnumGear.GOLD_PLATE));
}
}
beta = EnumMachineBeta.ENGINE_STEAM_LOW;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"III",
" C ",
"GPG",
'P', new ItemStack(Blocks.piston),
'I', RailcraftItem.plate.getRecipeObject(EnumPlate.IRON),
'C', new ItemStack(Blocks.glass),
'G', "gearIron");
RailcraftCraftingManager.blastFurnace.addRecipe(stack, true, false, 15360, ItemIngot.getIngot(ItemIngot.EnumIngot.STEEL, 12));
}
}
beta = EnumMachineBeta.ENGINE_STEAM_HIGH;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"III",
" C ",
"GPG",
'P', new ItemStack(Blocks.piston),
'I', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL),
'C', new ItemStack(Blocks.glass),
'G', RailcraftItem.gear.getRecipeObject(EnumGear.STEEL));
}
}
beta = EnumMachineBeta.BOILER_FIREBOX_SOLID;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"BBB",
"BCB",
"BFB",
'B', new ItemStack(Items.brick),
'C', new ItemStack(Items.fire_charge),
'F', new ItemStack(Blocks.furnace));
}
}
beta = EnumMachineBeta.BOILER_FIREBOX_LIQUID;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"PBP",
"GCG",
"PFP",
'B', new ItemStack(Items.bucket),
'G', new ItemStack(Blocks.iron_bars),
'C', new ItemStack(Items.fire_charge),
'P', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL),
'F', new ItemStack(Blocks.furnace));
}
}
beta = EnumMachineBeta.BOILER_TANK_LOW_PRESSURE;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"P",
"P",
'P', RailcraftItem.plate.getRecipeObject(EnumPlate.IRON));
RailcraftCraftingManager.blastFurnace.addRecipe(stack, true, false, 2560, ItemIngot.getIngot(ItemIngot.EnumIngot.STEEL, 2));
}
}
beta = EnumMachineBeta.BOILER_TANK_HIGH_PRESSURE;
if (RailcraftConfig.isSubBlockEnabled(beta.getTag())) {
RailcraftBlocks.registerBlockMachineBeta();
Block block = RailcraftBlocks.getBlockMachineBeta();
if (block != null) {
ItemStack stack = beta.getItem();
CraftingPlugin.addShapedRecipe(beta.getItem(),
"P",
"P",
'P', RailcraftItem.plate.getRecipeObject(EnumPlate.STEEL));
}
}