events.listen('recipes', event => {
    event.custom({type: 'compactcrafting:miniaturization',recipeSize: 7,
    layers:[{type: 'compactcrafting:mixed', pattern:[
        ["A","B","C","D","C","B","A"],
        ["B","C","D","A","D","C","B"],
        ["C","D","A","B","A","D","C"],
        ["D","A","B","H","B","A","D"],
        ["C","D","A","B","A","D","C"],
        ["B","C","D","A","D","C","B"],
        ["A","B","C","D","C","B","A"]
    ]},
    {type: 'compactcrafting:filled', component: 'E'},
    {type: 'compactcrafting:filled', component: 'F'},
    {type: 'compactcrafting:filled', component: 'G'},
    {type: 'compactcrafting:filled', component: 'F'},
    {type: 'compactcrafting:filled', component: 'E'},
    {type: 'compactcrafting:mixed', pattern:[
        ["A","B","C","D","C","B","A"],
        ["B","C","D","A","D","C","B"],
        ["C","D","A","B","A","D","C"],
        ["D","A","B","H","B","A","D"],
        ["C","D","A","B","A","D","C"],
        ["B","C","D","A","D","C","B"],
        ["A","B","C","D","C","B","A"]
    ]}],
    catalyst: {"id": 'kubejs:mechanic_core_tier_4', Count: 64},
    components:
    {"A": {type: 'compactcrafting:block', block: 'mekanism:ultimate_bin'},
    "B": {type: 'compactcrafting:block', block: 'kubejs:op_casing'},
    "C": {type: 'compactcrafting:block', block: 'cagedmobs:star_infused_netherite_block'},
    "D": {type: 'compactcrafting:block', block: 'mekanism:steel_casing'},
    "E": {type: 'compactcrafting:block', block: 'draconicevolution:awakened_draconium_block'},
    "F": {type: 'compactcrafting:block', block: 'minecraft:cobblestone'},
    "G": {type: 'compactcrafting:block', block: 'projecte:red_matter_block'},
    "H": {type: 'compactcrafting:block', block: 'bloodmagic:dungeon_metal'}},
    outputs: [{id: 'mekanism:creative_bin',Count: 1}]})
})