ServerEvents.recipes(event => {
        
    event.shapeless('avaritia:infinity_ingot', [
      Item.of('avaritia:infinity_nugget', 9)
        ])

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
          "  AABAA  ",
          " AABBBBA ",
          "ABABBBAAA",
          "ABBBBBBBA",
          "BBBBCBBBB",
          "ABBBBBBBA",
          "AAABBBABA",
          " ABBBBAA ",
          "  AABAA  "
        ],
        "key": {
          "A": {
            "item": "minecraft:end_stone"
          },
          "B": {
            "item": "minecraft:ender_pearl"
          },
          "C": {
            "item": "avaritia:neutron"
          }
        },
        "result": {
          "item": "avaritia:endest_pearl"
        }
      })

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
          "         ",
          " ABCDEBA ",
          " BCDFGEB ",
          " CDFHFGE ",
          " GFHIHFG ",
          " EGFHFDC ",
          " BEGFDCB ",
          " ABEDCBA ",
          "         "
        ],
        "key": {
          "A": {
            "item": "avaritia:neutron_nugget"
          },
          "B": {
            "item": "minecraft:wheat"
          },
          "C": {
            "item": "minecraft:pumpkin"
          },
          "D": {
            "item": "minecraft:potato"
          },
          "E": {
            "item": "minecraft:melon"
          },
          "F": {
            "item": "minecraft:beetroot"
          },
          "G": {
            "item": "minecraft:carrot"
          },
          "H": {
            "item": "minecraft:nether_wart"
          },
          "I": {
            "item": "minecraft:cauldron"
          }
        },
        "result": {
          "item": 'avaritia:ultimate_stew'
        }
      })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
              "         ",
              " ABBBBBA ",
              " CBDDDEE ",
              " CDDFDDE ",
              " CDFGFDE ",
              " CDDFDDE ",
              " CCDDDHE ",
              " AHHHHHA ",
              "         "
            ],
            "key": {
              "A": {
                "item": "avaritia:neutron_nugget"
              },
              "B": {
                "item": "minecraft:porkchop"
              },
              "C": {
                "item": "minecraft:chicken"
              },
              "D": {
                "item": "twilightforest:raw_venison"
              },
              "E": {
                "item": "minecraft:mutton"
              },
              "F": {
                "item": "twilightforest:raw_meef"
              },
              "G": {
                "type": "forge:nbt",
                "item": "minecraft:iron_sword",
                "count": 1,
                "nbt": "{Damage:0}"
              },
              "H": {
                "item": "minecraft:beef"
              }
            },
            "result": {
              "item": "avaritia:cosmic_meatballs"
          }
      })

    event.custom({
        type: 'extendedcrafting:combination',
        powerCost: 1000000,
        input: {
            item: 'extendedcrafting:ultimate_singularity'
        },
        ingredients: [
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },
            { item: 'mysticalagriculture:infinity_catalyst_essence' },

        ],
        result: {
            item:'avaritia:infinity_catalyst'
            }
        })

    event.custom({
      type: 'pneumaticcraft:pressure_chamber',
      inputs: [
        { type: 'pneumaticcraft:stacked_item', item: "mysticalagradditions:insanium_coal_block", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "draconicevolution:infused_obsidian" , count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "avaritia:record_fragment", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "avaritia:crystal_matrix", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "twilightforest:steeleaf_block", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "megacells:cell_component_4m", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "ironfurnaces:rainbow_coal", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "twilightforest:fiery_block", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "allthecompressed:redstone_block_5x", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "botania:corporea_spark_master", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "botania:dragonstone_block", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "kubejs:creative_ingot", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "avaritia:endest_pearl", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "avaritia:ultimate_stew", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "avaritia:cosmic_meatballs", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "ad_astra:calorite_block", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "mekanism_extras:infinite_control_circuit", count: 1 },
        { type: 'pneumaticcraft:stacked_item', item: "twilightforest:knightmetal_block", count: 1 }

      ],
      pressure: 5.0,
      results: [
        { item: 'avaritia:infinity_catalyst' }
             ]
        })

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
            "AAAAAAAAA",
            "ABCCBCCBA",
            "ACBBCBBCA",
            "ABCCBCCBA",
            "AAAAAAAAA",
            "         ",
            "         ",
            "         ",
            "         "
        ],
        "key": {
            "A": {
            "item": "avaritia:neutron_ingot"
            },
            "B": {
            "item": "avaritia:crystal_matrix"
            },
            "C": {
            "item": "avaritia:infinity_catalyst"
            }
        },
        "result": {
            "item": 'avaritia:infinity_ingot'
            }   
        })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                " AAAAAAA ",
                "AAAABAAAA",
                "AA  C  AA",
                "A   C   A",
                "    C    ",
                "    C    ",
                "    C    ",
                "    C    ",
                "    D    "
            ],
            "key": {
                "A": {
                "item": "avaritia:infinity_ingot"
                },
                "B": {
                "item": "projecte:rm_pick"
                },
                "C": {
                "item": "avaritia:neutron_ingot"
                },
                "D": {
                "item": "avaritia:crystal_matrix"
                }
            },
            "result": {
                "item": 'avaritia:infinity_pickaxe'
            }
            })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "   A     ",
                "  AAAAA  ",
                "  AABA   ",
                "  AAC    ",
                "   AC    ",
                "    C    ",
                "    C    ",
                "    C    ",
                "    D    "
            ],
            "key": {
                "A": {
                "item": "avaritia:infinity_ingot"
                },
                "B": {
                "item": "projecte:rm_axe"
                },
                "C": {
                "item": "avaritia:neutron_ingot"
                },
                "D": {
                "item": "avaritia:crystal_matrix"
                }
            },
            "result": {
                "item": 'avaritia:infinity_axe'
            }
            })
    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "      AAA",
                "     AABA",
                "      CAA",
                "     D A ",
                "    D    ",
                "   D     ",
                "  D      ",
                " D       ",
                "E        "
            ],
            "key": {
                "A": {
                "item": "avaritia:infinity_ingot"
                },
                "B": {
                "item": "avaritia:infinity"
                },
                "C": {
                "item": "projecte:rm_shovel"
                },
                "D": {
                "item": "avaritia:neutron_ingot"
                },
                "E": {
                "item": "avaritia:crystal_matrix"
                }
            },
            "result": {
                "item": 'avaritia:infinity_shovel'
            }
            })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAABAAA",
                "ACCCCCCAA",
                "CCCCCCCCA",
                "CAAAACCAA",
                "AAAAADAAA",
                "AAAAAEAAA",
                "AAAAAFAAA",
                "AAAAAGAAA",
                "AAAAAHAAA"
            ],
            "key": {
                "A": {
                "item": "avaritia:infinity"
                },
                "B": {
                "item": "avaritia:neutron"
                },
                "C": {
                "item": "avaritia:infinity_ingot"
                },
                "D": {
                "item": "mystical_extended_tier:ouranium_hoe"
                },
                "E": {
                "item": "mysticalagriculture:awakened_supremium_hoe"
                },
                "F": {
                "type": "forge:nbt",
                "item": "aiotbotania:alfsteel_hoe",
                "count": 1,
                "nbt": "{Damage:0}"
                },
                "G": {
                "item": "draconicevolution:chaotic_hoe"
                },
                "H": {
                "item": "projecte:rm_hoe"
                }
            },
            "result": {
                "item": 'avaritia:infinity_hoe'
            }
            })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "       AA",
                "    B AAA",
                "   B AAA ",
                "    AAA  ",
                " C AAA   ",
                "  CAA  B ",
                "  DC  B  ",
                " E  C    ",
                "B        "
            ],
            "key": {
                "A": {
                "item": "avaritia:infinity_ingot"
                },
                "B": {
                "item": "avaritia:infinity_catalyst"
                },
                "C": {
                "item": "avaritia:crystal_matrix"
                },
                "D": {
                "item": "projecte:rm_sword"
                },
                "E": {
                "item": "avaritia:neutron"
                }
            },
            "result": {
                "item": 'avaritia:infinity_sword'
            }
            })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "   AA    ",
                "  A B    ",
                " A  B    ",
                "A   B    ",
                "C   B    ",
                "A   B    ",
                " A  B    ",
                "  A B    ",
                "   AA    "
            ],
            "key": {
                "A": {
                "item": "avaritia:infinity_ingot"
                },
                "B": {
                "item": "thermal:light_blue_rockwool"
                },
                "C": {
                "item": "avaritia:crystal_matrix"
                }
            },
            "result": {
                "item": 'avaritia:infinity_bow'
            }
            })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "  AAAAA  ",
                " ABBBBBA ",
                " A CBC A ",
                " ABBDBBA ",
                " ABBBBBA ",
                " AB B BA ",
                "         ",
                "         ",
                "         "
            ],
            "key": {
                "A": {
                "item": "avaritia:neutron_ingot"
                },
                "B": {
                "item": "avaritia:infinity_ingot"
                },
                "C": {
                "item": "avaritia:infinity_catalyst"
                },
                "D": {
                "type": "forge:nbt",
                "item": "mekanism:mekasuit_helmet",
                "count": 1,
                "nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"16000000\"}]}}"
                }
            },
            "result": {
                "item": 'avaritia:infinity_helmet'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                " A     A ",
                "AA AAA AA",
                "AAABBBAAA",
                " ABBBBBA ",
                " ABBCBBA ",
                " ABBBBBA ",
                " ABBBBBA ",
                " ABBBBBA ",
                "  AAAAA  "
            ],
            "key": {
                "A": {
                "item": "avaritia:neutron_ingot"
                },
                "B": {
                "item": "avaritia:infinity_ingot"
                },
                "C": {
                "type": "forge:nbt",
                "item": "mekanism:mekasuit_bodyarmor",
                "count": 1,
                "nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"16000000\"}]}}"
                }
            },
            "result": {
                "item": 'avaritia:infinity_chestplate'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAAAAAA",
                "ABBBCBBBA",
                "ABAAAAABA",
                "ADA   ADA",
                "ADA   ADA",
                "ABA   ABA",
                "ABA   ABA",
                "ABA   ABA",
                "ABA   ABA"
            ],
            "key": {
                "A": {
                "item": "avaritia:neutron_ingot"
                },
                "B": {
                "item": "avaritia:infinity_ingot"
                },
                "C": {
                "type": "forge:nbt",
                "item": "mekanism:mekasuit_pants",
                "count": 1,
                "nbt": "{mekData:{EnergyContainers:[{Container:0b,stored:\"16000000\"}]}}"
                },
                "D": {
                "item": "avaritia:infinity_catalyst"
                }
            },
            "result": {
                "item": 'avaritia:infinity_pants'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "         ",
                "AABA ABAA",
                " ACA ACA ",
                " ACA ACA ",
                " ADA AEA ",
                "AACA ACAA",
                "ACCA ACCA",
                "AAAA AAAA",
                "         "
            ],
            "key": {
                "A": {
                "item": "avaritia:neutron_ingot"
                },
                "B": {
                "item": "avaritia:infinity_catalyst"
                },
                "C": {
                "item": "avaritia:infinity_ingot"
                },
                "D": {
                "item": "kubejs:mekasuit_right_boot"
                },
                "E": {
                "item": "kubejs:mekasuit_left_boot"
                }
            },
            "result": {
                "item": 'avaritia:infinity_boots'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAAAAAA",
                "ABAAAAABA",
                "A  CCC  A",
                "B CDDDC B",
                "A CDEDC A",
                "B CDDDC B",
                "A  CCC  A",
                "A       A",
                "AAABABAAA"
            ],
            "key": {
                "A": {
                "item": "allthecompressed:iron_block_2x"
                },
                "B": {
                "item": "avaritia:crystal_matrix_ingot"
                },
                "C": {
                "item": "minecraft:redstone_block"
                },
                "D": {
                "item": "projectexpansion:magenta_matter"
                },
                "E": {
                "item": "avaritia:double_compressed_crafting_table"
                }
            },
            "result": {
                "item": 'avaritia:neutron_collector'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAAAAAA",
                "ABAAAAABA",
                "A  CCC  A",
                "B CDDDC B",
                "A CDEDC A",
                "B CDDDC B",
                "A  CCC  A",
                "A       A",
                "AAABABAAA"
            ],
            "key": {
                "A": {
                "item": "allthecompressed:iron_block_2x"
                },
                "B": {
                "item": "avaritia:infinity_catalyst"
                },
                "C": {
                "item": "minecraft:redstone_block"
                },
                "D": {
                "item": "avaritia:neutron_collector"
                },
                "E": {
                "item": "avaritia:double_compressed_crafting_table"
                }
            },
            "result": {
                "item": 'avaritia:dense_neutron_collector'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAAAAAA",
                "ABAAAAABA",
                "A  CCC  A",
                "B CDDDC B",
                "A CDEDC A",
                "B CDDDC B",
                "A  CCC  A",
                "A       A",
                "AAABABAAA"
            ],
            "key": {
                "A": {
                "item": "allthecompressed:iron_block_2x"
                },
                "B": {
                "item": "avaritia:infinity_ingot"
                },
                "C": {
                "item": "minecraft:redstone_block"
                },
                "D": {
                "item": "avaritia:dense_neutron_collector"
                },
                "E": {
                "item": "avaritia:double_compressed_crafting_table"
                }
            },
            "result": {
                "item": 'avaritia:denser_neutron_collector'
            }
            })

    event.custom(
            {
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAAAAAA",
                "ABAAAAABA",
                "A  CCC  A",
                "B CDDDC B",
                "A CDEDC A",
                "B CDDDC B",
                "A  CCC  A",
                "A       A",
                "AAABABAAA"
            ],
            "key": {
                "A": {
                "item": "allthecompressed:iron_block_2x"
                },
                "B": {
                "item": "avaritia:infinity"
                },
                "C": {
                "item": "minecraft:redstone_block"
                },
                "D": {
                "item": "avaritia:denser_neutron_collector"
                },
                "E": {
                "item": "avaritia:double_compressed_crafting_table"
                }
            },
            "result": {
                "item": 'avaritia:densest_neutron_collector'
            }
            })

    event.smithing(
            'avaritia:upgrade_smithing_template',                    
            'minecraft:netherite_upgrade_smithing_template',
            'sophisticatedstorage:stack_upgrade_omega_tier',                  
            'extendedcrafting:the_ultimate_ingot'                          
            )

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                " A  A   A",
                "ABB C BB ",
                " BCCCCCB ",
                "  CCCCC A",
                "ACCCDCCC ",
                "  CCCCC  ",
                "ABCCCCCBA",
                " BB C BB ",
                " A    A A"
            ],
            "key": {
                "A": {
                "item": "cyclic:experience_food"
                },
                "B": {
                "item": "projectexpansion:green_matter"
                },
                "C": {
                "item": "avaritia:infinity_ingot"
                },
                "D": {
                "item": "avaritia:infinity_catalyst"
                }
            },
            "result": {
                "item": 'avaritia:enhancement_core'
            }
            })

    event.custom({
            "type": "extendedcrafting:shaped_table",
            "pattern": [
                "AAAAAAAAA",
                "BCCDEDCCB",
                "BCFGGGFCB",
                "HDGIJIGDH",
                "KEGJLJGEK",
                "HDGIJIGDH",
                "BCFGGGFCB",
                "BCCDEDCCB",
                "BHKKKKKHB"
            ],
            "key": {
                "A": {
                "item": "avaritia:neutron"
                },
                "B": {
                "item": "avaritia:neutron_ingot"
                },
                "C": {
                "item": "avaritia:diamond_lattice"
                },
                "D": {
                "item": "avaritia:infinity_nugget"
                },
                "E": {
                "item": "avaritia:infinity_ingot"
                },
                "F": {
                "item": "avaritia:blaze_cube"
                },
                "G": {
                "item": "avaritia:neutron_gear"
                },
                "H": {
                "item": "avaritia:crystal_matrix_ingot"
                },
                "I": {
                "item": "avaritia:infinity_catalyst"
                },
                "J": {
                "item": "minecraft:smithing_table"
                },
                "K": {
                "item": "avaritia:crystal_matrix"
                },
                "L": {
                "item": "extendedcrafting:ultimate_table"
                }
            },
            "result": {
                "item": 'avaritia:extreme_smithing_table'
            }
            })
})