| 297 | } |
| 298 | |
| 299 | @Override |
| 300 | public void onModPostInit2(FMLPostInitializationEvent aEvent) { |
| 301 | ItemStack tLignite = ST.make(MD.UB, "ligniteCoal", 1, 0); |
| 302 | if (ST.valid(tLignite)) CR.remove(tLignite, tLignite, tLignite, tLignite, tLignite, tLignite, tLignite, tLignite, tLignite); |
| 303 | |
| 304 | Block tBlock = ST.block(MD.FR, "beehives", NB); |
| 305 | if (tBlock != NB) {tBlock.setHarvestLevel("scoop", 0); GT_Tool_Scoop.sBeeHiveMaterial = tBlock.getMaterial();} |
| 306 | |
| 307 | // if (IL.FR_Butterfly .get(1) != null) RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.FR_Butterfly .getWildcard(1)} , ST.array(IL.FR_Butterfly .getWithName(1, "Scanned Butterfly" )}, null , FL.array(MT.Honey.liquid(U/20, T)}, null, 500, 2, 0); |
| 308 | // if (IL.FR_Larvae .get(1) != null) RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.FR_Larvae .getWildcard(1)} , ST.array(IL.FR_Larvae .getWithName(1, "Scanned Larvae" )}, null , FL.array(MT.Honey.liquid(U/20, T)}, null, 500, 2, 0); |
| 309 | // if (IL.FR_Serum .get(1) != null) RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.FR_Serum .getWildcard(1)} , ST.array(IL.FR_Serum .getWithName(1, "Scanned Serum" )}, null , FL.array(MT.Honey.liquid(U/20, T)}, null, 500, 2, 0); |
| 310 | // if (IL.FR_Caterpillar .get(1) != null) RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.FR_Caterpillar .getWildcard(1)} , ST.array(IL.FR_Caterpillar .getWithName(1, "Scanned Caterpillar" )}, null , FL.array(MT.Honey.liquid(U/20, T)}, null, 500, 2, 0); |
| 311 | // if (IL.FR_PollenFertile .get(1) != null) RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.FR_PollenFertile .getWildcard(1)} , ST.array(IL.FR_PollenFertile .getWithName(1, "Scanned Pollen" )}, null , FL.array(MT.Honey.liquid(U/20, T)}, null, 500, 2, 0); |
| 312 | // RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.Tool_DataOrb .getWithName(1, "Orb to overwrite")} , ST.array(IL.Tool_DataOrb .getWithName(1, "Copy of the Orb" )}, IL.Tool_DataOrb.getWithName(0, "Orb to copy") , null, null, 512, 32, 0); |
| 313 | // RecipeMap.sScannerFakeRecipes.addFakeRecipe(F, ST.array(IL.Tool_DataStick .getWithName(1, "Stick to overwrite")} , ST.array(IL.Tool_DataStick .getWithName(1, "Copy of the Stick" )}, IL.Tool_DataStick.getWithName(0, "Stick to copy") , null, null, 128, 32, 0); |
| 314 | |
| 315 | for (IItemContainer tBee : new IItemContainer[] {IL.FR_Bee_Drone, IL.FR_Bee_Princess, IL.FR_Bee_Queen}) if (tBee.exists()) { |
| 316 | for (String tFluid : FluidsGT.HONEY) if (FL.exists(tFluid)) |
| 317 | RM.Bumblelyzer.addFakeRecipe(F, ST.array(tBee.wild(1)), ST.array(tBee.getWithName(1, "Scanned Bee")), null, null, FL.array(FL.make(tFluid, 50)) , null, 64, 16, 0); |
| 318 | RM.Bumblelyzer.addFakeRecipe(F, ST.array(tBee.wild(1)), ST.array(tBee.getWithName(1, "Scanned Bee")), null, null, FL.array(FL.Honeydew.make(50)), null, 64, 16, 0); |
| 319 | } |
| 320 | for (IItemContainer tPlant : new IItemContainer[] {IL.FR_Tree_Sapling, IL.IC2_Crop_Seeds}) if (tPlant.exists()) { |
| 321 | RM.Plantalyzer.addFakeRecipe(F, ST.array(tPlant.wild(1)), ST.array(tPlant.getWithName(1, "Scanned Plant")), null, null, null, null, 64, 16, 0); |
| 322 | } |
| 323 | |
| 324 | |
| 325 | for (ItemStack tStack : OreDictManager.getOres("bookWritten", F)) |
| 326 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(tStack, IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Book" ), tStack), null, null, ZL_FS, ZL_FS, 512, 16, 0); |
| 327 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.Paper_Printed_Pages.get(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Book" ), IL.Paper_Printed_Pages.get(1)), null, null, ZL_FS, ZL_FS, 512, 16, 0); |
| 328 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.Paper_Printed_Pages_Many.get(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing large scanned Book" ), IL.Paper_Printed_Pages_Many.get(1)), null, null, ZL_FS, ZL_FS, 512, 16, 0); |
| 329 | for (ItemStack tStack : OreDictManager.getOres("gt:canvas", F)) |
| 330 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(tStack, IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Block" ), tStack), null, null, ZL_FS, ZL_FS, 64, 16, 0); |
| 331 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(ST.make(Blocks.crafting_table, 1, 0, "ANY BLOCK"), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Block" ), ST.make(Blocks.crafting_table, 1, 0, "ANY BLOCK")), null, null, ZL_FS, ZL_FS, 512, 16, 0); |
| 332 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(ST.make(Items.filled_map, 1, W), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Map" ), ST.make(Items.filled_map, 1, W)), null, null, ZL_FS, ZL_FS, 64, 16, 0); |
| 333 | if (IL.TF_Magic_Map.exists()) |
| 334 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.TF_Magic_Map.wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Magic Map" ), IL.TF_Magic_Map.wild(1)), null, null, ZL_FS, ZL_FS, 64, 16, 0); |
| 335 | if (IL.TF_Maze_Map.exists()) |
| 336 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.TF_Maze_Map .wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Maze Map" ), IL.TF_Maze_Map .wild(1)), null, null, ZL_FS, ZL_FS, 64, 16, 0); |
| 337 | if (IL.TF_Ore_Map.exists()) |
| 338 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.TF_Ore_Map .wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Ore Map" ), IL.TF_Ore_Map .wild(1)), null, null, ZL_FS, ZL_FS, 64, 16, 0); |
| 339 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.Paper_Blueprint_Used.get(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Blueprint" ), IL.Paper_Blueprint_Used.get(1)), null, null, ZL_FS, ZL_FS, 64, 16, 0); |
| 340 | if (IL.GC_Schematic_1.exists()) |
| 341 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.GC_Schematic_1.wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Schematics" ), IL.GC_Schematic_1.wild(1)), null, null, ZL_FS, ZL_FS, 1024, 16, 0); |
| 342 | if (IL.GC_Schematic_2.exists()) |
| 343 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.GC_Schematic_2.wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Schematics" ), IL.GC_Schematic_2.wild(1)), null, null, ZL_FS, ZL_FS, 1024, 16, 0); |
| 344 | if (IL.GC_Schematic_3.exists()) |
| 345 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.GC_Schematic_3.wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Schematics" ), IL.GC_Schematic_3.wild(1)), null, null, ZL_FS, ZL_FS, 1024, 16, 0); |
| 346 | if (IL.IE_Blueprint_Projectiles_Common.exists()) |
| 347 | RM.ScannerVisuals.addFakeRecipe(F, ST.array(IL.IE_Blueprint_Projectiles_Common.wild(1), IL.USB_Stick_1.get(1)) , ST.array(IL.USB_Stick_1.getWithName(1, "Containing scanned Engineer's Blueprint" ), IL.IE_Blueprint_Projectiles_Common.wild(1)), null, null, ZL_FS, ZL_FS, 1024, 16, 0); |
| 348 | |
| 349 | |
| 350 | RM.Boxinator.addRecipe2(T, 16, 16, ST.make(Items.paper, 8, W), ST.make(Items.compass, 1, W), NF, NF, ST.make(Items.map, 1, 0)); |
| 351 | |
| 352 | RM.Printer.addRecipe1(T, 16, 256, ST.make(Items.book, 1, W), DYE_FLUIDS_CHEMICAL[DYE_INDEX_Black], NF, ST.book("Manual_Printer", ST.make(ItemsGT.BOOKS, 1, 8))); |
| 353 | |
| 354 | for (ItemStack tStack : OreDictManager.getOres("gt:canvas", F)) |
| 355 | RM.Printer.addFakeRecipe(F, ST.array(tStack , IL.USB_Stick_1.getWithName(0, "Containing scanned Block" )), ST.array(tStack ), null, null, FL.array(FL.mul(DYE_FLUIDS_CHEMICAL[DYE_INDEX_Yellow], 1, 9, T), FL.mul(DYE_FLUIDS_CHEMICAL[DYE_INDEX_Magenta], 1, 9, T), FL.mul(DYE_FLUIDS_CHEMICAL[DYE_INDEX_Cyan], 1, 9, T), FL.mul(DYE_FLUIDS_CHEMICAL[DYE_INDEX_Black], 1, 9, T)), ZL_FS, 64, 16, 0); |
| 356 | // RM.Printer.addFakeRecipe(F, ST.array(IL.Paper_Punch_Card_Empty .get(1), IL.USB_Stick_1.getWithName(0, "Containing scanned Punchcard" )), ST.array(IL.Paper_Punch_Card_Encoded.get(1) ), null, null, FL.array( FL.mul(DYE_FLUIDS_CHEMICAL[DYE_INDEX_Black], 1, 9, T)), ZL_FS, 32, 16, 0); |