// GTCEuStartupEvents.registry('gtceu:recipe_type', event => {
//     event.create('petrochemical_plant')
//         .category('petrochemical_plant')
//         .setEUIO('in')
//         .setMaxIOSize(2, 2, 2, 10)
//         .setSound(GTSoundEntries.SCIENCE);
// });

// GTCEuStartupEvents.registry('gtceu:machine', event => {
//     event.create('petrochemical_plant', 'multiblock')
//         .rotationState(RotationState.NON_Y_AXIS)
//         .recipeType('petrochemical_plant')
//         .recipeModifier(GTRecipeModifiers.PARALLEL_HATCH.apply(OverclockingLogic.PERFECT_OVERCLOCK, GTRecipeModifiers.ELECTRIC_OVERCLOCK))
//         .pattern(definition => FactoryBlockPattern.start()
//             .aisle('                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF   FFF   FFF   FFF  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ',)
//             .aisle('   CCC   CCC   CCC   CCC  ', '   COC   COC   COC   COC  ', '   COC   COC   COC   COC  ', '   COC   COC   COC   COC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '  FCCCF FCCCF FCCCF FCCCF ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CHC   CHC   CHC   CHC  ', '   KKK   KKK   KKK   KKK  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ',)
//             .aisle('  CCCCC CCCCC CCCCC CCCCC ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', ' FC   CFC   CFC   CFC   CF', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  KK KK KK KK KK KK KK KK ', '   KKK   KKK   KKK   KKK  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ',)
//             .aisle('  CCCCC CCCCC CCCCC CCCCC ', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', ' FC   CUC   CUC   CUC   CF', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', '  C   CUC   CUC   CUC   C ', '  H   H H   H H   H H   H ', '  K   K K   K K   K K   K ', '   KKK   KKK   KKK   KKK  ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '    U                     ', '                          ', '                          ', '                          ',)
//             .aisle('  CCCCC CCCCC CCCCC CCCCC ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', ' FC   CFC   CFC   CFC   CF', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  C   C C   C C   C C   C ', '  KK KK KK KK KK KK KK KK ', '   KKK   KKK   KKK   KKK  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '    U                     ', '                          ', '                          ', '                          ',)
//             .aisle('   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '  FCCCF FCCCF FCCCF FCCCF ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CCC   CCC   CCC   CCC  ', '   CHC   CHC   CHC   CHC  ', '   KKK   KKK   KKK   KKK  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '    U                     ', '                          ', '                          ', '                          ',)
//             .aisle('                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF   FFF   FFF   FFF  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF                    ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '    U                     ', '                          ', '                          ', '                          ',)
//             .aisle('                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF               FFF  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '  FFFFF                   ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF                    ', '                          ', '    U                     ', '                          ', '                          ', '                          ',)
//             .aisle('   CCC      PPP      CCC  ', '   CCC      PEP      CiC  ', '   CCC      PEP      CCC  ', '   CCC      PEP      CCC  ', '   CCC      HPH      CCC  ', '   CCC      PPP      CCC  ', '   CCC               CCC  ', '  FCCCFFFFFFFFFFFFFFFCCCF ', '   CCC               CCC  ', '   CCC               CCC  ', '   LLL               CCC  ', '   SSS               CHC  ', '   LLL               KKK  ', '   CCC                    ', '   CCC                    ', ' FFCCCFF                  ', '   CCC                    ', '   CCC                    ', '   LLL                    ', '   SSS                    ', '   LLL                    ', '   CCC                    ', '   CCC                    ', '  FCCCF                   ', '                          ', '    U                     ', '                          ', '                          ', '                          ',)
//             .aisle('  CCCCCPPPPPPPPPPPPPCCCCC ', '  CTTTCPSSGSSPSSGSSPC   C ', '  CTTTCPSSGSSPSSGSSPC   C ', '  CTTTCPSSGSSPSSGSSPC   C ', '  CTTTCPHHPHPPPHPHHPC   C ', '  CTTTCP  P PPP P  PC   C ', '  CTTTCP  P     P  PC   C ', ' FCTTTCPFFPFFFFFPFFPC   CF', '  CTTTCP  P     P  PC   C ', '  CTTTC             C   C ', '  LTTTL             C   C ', '  SSSSS             C   C ', '  LTTTL             KK KK ', '  CTTTC              KKK  ', '  CTTTC                   ', 'FFCTTTCFF                 ', '  CTTTC                   ', '  CTTTC                   ', '  LTTTL                   ', '  SSSSS                   ', '  LTTTL                   ', '  CTTTC                   ', '  CTTTC                   ', ' FCTTTCF                  ', '   CCC                    ', '   CUC                    ', '   CCC                    ', '   HHH                    ', '   LLL                    ',)
//             .aisle('  CCCCCPPPPPPPPPPPPPCCCCC ', '  CTTTCPSSGSSPSSGSSPC   I ', '  CTUTUUUUUUUUUUUUUUU   C ', '  CTUTCPSSGSSPSSGSSPC   I ', '  CTUTCPPPPPPPPPPPPPC   C ', '  CTUTCP  P PPP P  PC   C ', '  CTUTCP  P     P  PC   C ', ' FCTUTCUUUUUUUUUUUUUC   CF', ' FCTUTCP  P     P  PC   C ', ' FCTUTCF            C   C ', ' FLTUTLF            C   C ', ' FSSUSSF            H   H ', ' FLTUTLF            K   K ', ' FCTUTCF             KKK  ', ' FCTUTCF                  ', 'FFCTUTCFF                 ', ' FCTUTCF                  ', ' FCTUTCF                  ', ' FLTUTLF                  ', ' FSSUSSF                  ', ' FLTUTLF                  ', ' FCTUTCF                  ', ' FCTUTCF                  ', ' FCTUTCF                  ', '   CUC                    ', '   CUC                    ', '   CWC                    ', '   H H                    ', '   L L                    ',)
//             .aisle('  CCCCCPPPPPPPPPPPPPCCCCC ', '  CTTTCPSSGSSPSSGSSPC   C ', '  CTTTCPSSGSSPSSGSSPC   C ', '  CTTTCPSSGSSPSSGSSPC   C ', '  CTTTCPHHPHPPPHPHHPC   C ', '  CTTTCP  P PPP P  PC   C ', '  CTTTCP  P     P  PC   C ', ' FCTTTCPFFPFFFFFPFFPC   CF', '  CTTTCP  P     P  PC   C ', '  CTTTC             C   C ', '  LTTTL             C   C ', '  SSSSS             C   C ', '  LTTTL             KK KK ', '  CTTTC              KKK  ', '  CTTTC                   ', 'FFCTTTCFF                 ', '  CTTTC                   ', '  CTTTC                   ', '  LTTTL                   ', '  SSSSS                   ', '  LTTTL                   ', '  CTTTC                   ', '  CTTTC                   ', ' FCTTTCF                  ', '   CCC                    ', '   CCC                    ', '   CCC                    ', '   HHH                    ', '   LLL                    ',)
//             .aisle('   CCC      PPP      CCC  ', '   CCC      PXP      CCC  ', '   CCC      PYP      CCC  ', '   CCC      PZP      CCC  ', '   CCC      HPH      CCC  ', '   CCC      PPP      CCC  ', '   CCC               CCC  ', '  FCCCFFFFFFFFFFFFFFFCCCF ', '   CCC               CCC  ', '   CCC               CCC  ', '   LLL               CCC  ', '   SSS               CHC  ', '   LLL               KKK  ', '   CCC                    ', '   CCC                    ', ' FFCCCFF                  ', '   CCC                    ', '   CCC                    ', '   LLL                    ', '   SSS                    ', '   LLL                    ', '   CCC                    ', '   CCC                    ', '  FCCCF                   ', '                          ', '                          ', '                          ', '                          ', '                          ',)
//             .aisle('                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF               FFF  ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '  FFFFF                   ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF                    ', '                          ', '                          ', '                          ', '                          ', '                          ',)
//             .aisle('                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '   FFF                    ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ', '                          ',)
//             .where('C', Predicates.blocks(GTBlocks.CASING_STAINLESS_CLEAN.get()))
//             .where('P', Predicates.blocks(GCyMBlocks.CASING_CORROSION_PROOF.get()))
//             .where('T', Predicates.blocks(GTBlocks.CASING_TUNGSTENSTEEL_PIPE.get()))
//             .where('S', Predicates.blocks(GTBlocks.SUPERCONDUCTING_COIL.get()))
//             .where('G', Predicates.blocks(GTBlocks.FUSION_GLASS.get()))
//             .where('U', Predicates.blocks('gtceu:long_distance_fluid_pipeline'))
//             .where('X', Predicates.abilities(PartAbility.PARALLEL_HATCH).setMaxGlobalLimited(1))
//             .where('Y', Predicates.controller(Predicates.blocks(definition.get())))
//             .where('Z', Predicates.abilities(PartAbility.MAINTENANCE).setExactLimit(1))
//             .where('I', Predicates.abilities(PartAbility.IMPORT_FLUIDS))
//             .where('O', Predicates.abilities(PartAbility.EXPORT_FLUIDS))
//             .where('i', Predicates.abilities(PartAbility.IMPORT_ITEMS))
//             .where('E', Predicates.abilities(PartAbility.INPUT_ENERGY).or(Predicates.blocks(GCyMBlocks.CASING_CORROSION_PROOF.get())))
//             .where('F', Predicates.blocks('gtceu:naquadah_alloy_frame'))
//             .where('K', Predicates.blocks(GTBlocks.CASING_PTFE_INERT.get()))
//             .where('L', Predicates.blocks(GCyMBlocks.CASING_SHOCK_PROOF.get()))
//             .where('W', Predicates.abilities(PartAbility.MUFFLER))
//             .where('H', Predicates.blocks('gtceu:heat_vent'))
//             .where(' ', Predicates.any())
//             .build())
//         .workableCasingRenderer("gtceu:block/casings/solid/machine_casing_clean_stainless_steel",
//             "gtceu:block/multiblock/implosion_compressor", false);
// });