ServerEvents.recipes(event => {
    event.shaped('kubejs:coil_of_sorrow', [
        'CBA',
        'B B',
        'ABC'
    ], {
        A: '#forge:ingots/froststeel',
        B: '#forge:ingots/cloggrum',
        C: '#forge:nuggets/forgotten_metal'
    }).id('sdbf:coil_of_sorrow_s3')

    event.recipes.thermal.smelter('kubejs:coil_of_sorrow', [
        '27x #forge:nuggets/cloggrum',
        '18x #forge:nuggets/froststeel',
        '#forge:nuggets/forgotten_metal'
    ])
        .energy(8192)
        .id("sdbf:coil_of_sorrow_s3_acc")

    event.recipes.slashblade.slashblade_shaped_recipe("slashblade:slashblade", [
        "GAB",
        "CDC",
        "BAF"
    ], {
        "A": 'kubejs:coil_of_sorrow',
        "B": 'nuclearcraft:plutonium_rtg',
        "F": 'nuclearcraft:americium_rtg',
        "C": '#forge:ingots/neutronium',
        "G": 'last_smith:scroll_exorcism',
        "D": SlashBladeIngredient.of(
            SlashBladeRequestDefinition.newInstance()
                .name("last_smith:muramasa_kagura")
                .killCount(2000)                      // 要求：1000 击杀 (Kill Count)
                .proudSoul(40000)                       // 要求：3000 耀魂 (Proud Soul)
                .refineCount(25)                       // 要求：10 锻造 (Refine Count)
                .build()
        )
    }, "sjap_adder:black_soul")
        .id("sdbf:black_soul_s3")

    event.recipes.slashblade.slashblade_shaped_recipe("slashblade:slashblade", [
        "BFB",
        "ADE",
        "BCB"
    ], {
        "A": ['botania:exoflame', 'kubejs:ml_computing_ingot'],
        "B": 'undergarden:regalium_crystal',
        "E": ['kubejs:mercury_refractory_structural_component', 'kubejs:ml_computing_ingot'],
        "C": 'last_smith:sakura_sphere',
        "D": SlashBladeIngredient.of(
            SlashBladeRequestDefinition.newInstance()
                .name("last_smith:muramasa_kagura")
                .killCount(2000)                      // 要求：1000 击杀 (Kill Count)
                .proudSoul(40000)                       // 要求：3000 耀魂 (Proud Soul)
                .refineCount(25)                       // 要求：10 锻造 (Refine Count)
                .addEnchantment(SBEnchantmentDefinition.of("minecraft:fire_aspect", 5))
                .build()
        ),
        "F": SlashBladeIngredient.of(
            SlashBladeRequestDefinition.newInstance()
                .name("slashblade:greatsword_of_damnation")
                .killCount(1500)                      // 要求：1000 击杀 (Kill Count)
                .proudSoul(30000)                       // 要求：3000 耀魂 (Proud Soul)
                .refineCount(25)                       // 要求：10 锻造 (Refine Count)
                .addEnchantment(SBEnchantmentDefinition.of("minecraft:fire_aspect", 5))
                .build()
        )
    }, "slashblade:greatsword_of_damnation_plus")
        .id("sdbf:greatsword_of_damnation_plus_s3")

    event.recipes.slashblade.slashblade_shaped_recipe("slashblade:slashblade", [
        "FEF",
        "CAD",
        "GBG"
    ], {
        "A": 'quark:soul_bead',
        "B": 'minecraft:soul_campfire',
        "C": 'last_smith:scroll_sakura_full',
        "D": 'last_smith:scroll_exorcism',
        "E": Item.of('enderio:filled_soul_vial', '{BlockEntityTag:{EntityStorage:{Entity:{id:"minecraft:ghast"}}}}').weakNBT(),
        "F": 'nuclearcraft:xenorium_298',
        "G": 'nuclearcraft:radaway'
    }, "last_smith:hakurouken")
        .id("sdbf:hakurouken_s3")

    event.custom({
        "type": "slashblade:slashblade_smithing",
        "addition": { "item": 'kubejs:coil_of_sorrow' },
        "base": {
            "type": "slashblade:blade", "item": "slashblade:slashblade",
            "request": { "kill": 500, "name": "pseudoedge_break_dawn:latent", "proud_soul": 10000, "refine": 10 }
        },
        "blade": "last_smith:nameless_odachi",
        "template": { "item": "last_smith:scroll_odachi" }
    }).id('sdbf:nameless_odachi_s3')

    event.custom({
        "type": "slashblade:slashblade_smithing",
        "addition": { "tag": 'forge:storage_blocks/regalium' },
        "base": {
            "type": "slashblade:blade", "item": "slashblade:slashblade",
            "request": { "kill": 1000, "name": "last_smith:nameless_odachi", "proud_soul": 30000, "refine": 25 }
        },
        "blade": "last_smith:muramasa_kagura",
        "template": { "item": "last_smith:scroll_muramasa" }
    }).id('sdbf:muramasa_kagura_s3')

    sqRecipe(event,
        "undergarden:catacombs",
        'undergarden:ditchbulb',
        1,
        "s3"
    )

})