events.listen('recipes', event => {
    event.custom({type: 'compactcrafting:miniaturization',recipeSize: 5,
    layers:[{type: 'compactcrafting:filled', component: 'R'},
    {type: 'compactcrafting:mixed',
           "pattern":[
            ["R","R","R","R","R"],
            ["R","C","B","D","R"],
            ["R","B","A","B","R"],
            ["R","D","B","C","R"],
            ["R","R","R","R","R"]
           ]},
    {type: 'compactcrafting:mixed',
           "pattern":[
            ["R","R","R","R","R"],
            ["R","C","B","D","R"],
            ["R","B","A","B","R"],
            ["R","D","B","C","R"],
            ["R","R","R","R","R"]
           ]},
    {type: 'compactcrafting:mixed',
           "pattern":[
            ["R","R","R","R","R"],
            ["R","C","B","D","R"],
            ["R","B","A","B","R"],
            ["R","D","B","C","R"],
            ["R","R","R","R","R"]
           ]},
    {type: 'compactcrafting:filled', component: 'R'}
    ],
    catalyst: {"id": 'kubejs:mechanic_core_tier_3', Count: 5},
    components:
    {"R": {type: 'compactcrafting:block', block: 'ars_nouveau:purple_archwood_log'},
    "D": {type: 'compactcrafting:block', block: 'create:refined_radiance_casing'},
    "A": {type: 'compactcrafting:block', block: 'minecraft:redstone_block'},
    "B": {type: 'compactcrafting:block', block: 'pneumaticcraft:compressed_iron_block'},
    "C": {type: 'compactcrafting:block', block: 'create:shadow_steel_casing'}},
    outputs: [{id: 'industrialforegoing:machine_frame_pity',Count: 4}]})
})