(FMLPostInitializationEvent aEvent)
| 676 | } |
| 677 | |
| 678 | @Override |
| 679 | public void onModPostInit2(FMLPostInitializationEvent aEvent) { |
| 680 | if (DISABLE_ALL_IC2_COMPRESSOR_RECIPES ) ic2.api.recipe.Recipes.compressor.getRecipes().clear(); |
| 681 | if (DISABLE_ALL_IC2_EXTRACTOR_RECIPES ) ic2.api.recipe.Recipes.extractor .getRecipes().clear(); |
| 682 | if (DISABLE_ALL_IC2_MACERATOR_RECIPES ) ic2.api.recipe.Recipes.macerator .getRecipes().clear(); |
| 683 | if (DISABLE_ALL_IC2_OREWASHER_RECIPES ) ic2.api.recipe.Recipes.oreWashing.getRecipes().clear(); |
| 684 | if (DISABLE_ALL_IC2_CENTRIFUGE_RECIPES ) ic2.api.recipe.Recipes.centrifuge.getRecipes().clear(); |
| 685 | |
| 686 | // Clearing the AE Grindstone Recipe List. |
| 687 | if (MD.AE.mLoaded) AEApi.instance().registries().grinder().getRecipes().clear(); |
| 688 | |
| 689 | // Well Netherite Plus is very special with its Compat Items... This is WAY too late in the loading Cycle! (I am aware that the Ancient Dust got removed in later Versions) |
| 690 | if (MD.NePl.mLoaded) { |
| 691 | IL.GC_OxyTank_7.set(ST.make(MD.NePl, "item.oxygenTankNetheriteFull", 1, 0)); |
| 692 | OreDictManager.registerOreSafe(OP.dust .dat(MT.AncientDebris), ST.make(MD.NePl, "AncientDust" , 1, 0)); |
| 693 | OreDictManager.registerOreSafe(OP.compressed.dat(MT.Netherite ), ST.make(MD.NePl, "CompressedNetherite", 1, 0)); |
| 694 | OreDictManager.INSTANCE.setTarget(OP.dust , MT.AncientDebris , ST.make(MD.NePl, "AncientDust" , 1, 0), T, T, T); |
| 695 | OreDictManager.INSTANCE.setTarget(OP.compressed, MT.Netherite , ST.make(MD.NePl, "CompressedNetherite", 1, 0), T, T, T); |
| 696 | } |
| 697 | |
| 698 | if (MD.EtFu.mLoaded) { |
| 699 | BlocksGT.FLOWERS.add(ST.block(MD.EtFu, "rose" )); |
| 700 | BlocksGT.FLOWERS.add(ST.block(MD.EtFu, "cornflower" )); |
| 701 | BlocksGT.FLOWERS.add(ST.block(MD.EtFu, "lily_of_the_valley")); |
| 702 | } |
| 703 | if (MD.BoP.mLoaded) { |
| 704 | BlocksGT.FLOWERS.add(ST.block(MD.BoP , "flowers" )); |
| 705 | BlocksGT.FLOWERS.add(ST.block(MD.BoP , "flowers2" )); |
| 706 | } |
| 707 | if (MD.EBXL.mLoaded) { |
| 708 | BlocksGT.FLOWERS.add(ST.block(MD.EBXL, "flower1" )); |
| 709 | BlocksGT.FLOWERS.add(ST.block(MD.EBXL, "flower2" )); |
| 710 | BlocksGT.FLOWERS.add(ST.block(MD.EBXL, "flower3" )); |
| 711 | } |
| 712 | if (MD.TCFM.mLoaded) { |
| 713 | BlocksGT.FLOWERS.add(ST.block(MD.TCFM, "InkFlower" )); |
| 714 | BlocksGT.FLOWERS.add(ST.block(MD.TCFM, "UmbralBush" )); |
| 715 | } |
| 716 | if (MD.BP.mLoaded) { |
| 717 | BlocksGT.FLOWERS.add(ST.block(MD.BP , "indigo_flower" )); |
| 718 | } |
| 719 | if (MD.ARS.mLoaded) { |
| 720 | BlocksGT.FLOWERS.add(ST.block(MD.ARS , "blueOrchid" )); |
| 721 | } |
| 722 | if (MD.AETHER.mLoaded) { |
| 723 | BlocksGT.FLOWERS.add(ST.block(MD.AETHER , "purpleFlower" )); |
| 724 | BlocksGT.FLOWERS.add(ST.block(MD.AETHER , "whiteRose" )); |
| 725 | } |
| 726 | if (MD.AETHEL.mLoaded) { |
| 727 | BlocksGT.FLOWERS.add(ST.block(MD.AETHEL , "purple_flower" )); |
| 728 | BlocksGT.FLOWERS.add(ST.block(MD.AETHEL , "white_flower" )); |
| 729 | } |
| 730 | if (MD.BOTA.mLoaded) { |
| 731 | BlocksGT.FLOWERS.add(ST.block(MD.BOTA, "flower" )); |
| 732 | BlocksGT.FLOWERS.add(ST.block(MD.BOTA, "shinyFlower" )); |
| 733 | } |
| 734 | |
| 735 | for (Enchantment tEnchant : Enchantment.enchantmentsList) if (tEnchant != null) { |
nothing calls this directly
no test coverage detected