ServerEvents.recipes(event => {
    // 水泥配方
    event.recipes.create.mixing(
        Fluid.of("gtceu:cement", 1000),
        [
            '2x gtceu:small_calcite_dust',
            'gtceu:clay_dust',
            'gtceu:tiny_iron_dust',
            Fluid.of("minecraft:water", 1000)
        ]
    ).heated()
    
     //水泥桶配方
    event.recipes.shaped(
        Item.of('gtceu:cement_bucket', 1), [
          "DED",
          "CAC",
          " B "
        ],
        {
          A:'minecraft:water_bucket',
          B:'gtceu:clay_dust',
          C: 'gtceu:small_calcite_dust',
          D:'gtceu:tiny_iron_dust',
          E:'minecraft:bucket'
        }
    )


    event.shaped(
        '8x gtceu:compressed_clay',
        [
            'CCC',
            'CMC',
            'CCC'
        ],
        {
            'C': 'minecraft:clay_ball',
            'M': 'gtceu:brick_wooden_form'
        }
    ).keepIngredient('gtceu:brick_wooden_form')

    // 红砖块配方
    event.remove({'output': 'minecraft:bricks'})
    event.shaped(
        '2x minecraft:bricks',
        [
            'BBB',
            'BCB',
            'BBB'
        ],
        {
            'B': 'minecraft:brick',
            'C': 'gtceu:cement_bucket'
        }
    ).replaceIngredient('gtceu:cement_bucket', 'minecraft:bucket')
    

    event.shaped(
        '2x gtceu:coke_oven_bricks',
        [
            'BBB',
            'BCB',
            'BBB'
        ],
        {
            'B': 'gtceu:coke_oven_brick',
            'C': 'gtceu:cement_bucket'
        }
    ).replaceIngredient('gtceu:cement_bucket', 'minecraft:bucket')
    

    event.recipes.create.mixing(
        '8x gtceu:fireclay_dust',
        [
            '5x gtceu:kaolinite_dust',
            '3x gtceu:quartz_sand_dust',
            'gtceu:calcite_dust',
            'gtceu:clay_dust'
        ]
    ).heated()


    event.shaped(
        '2x gtceu:firebricks',
        [
            'BBB',
            'BCB',
            'BBB'
        ],
        {
            'B': 'gtceu:firebrick',
            'C': 'gtceu:cement_bucket'
        }
    ).replaceIngredient('gtceu:cement_bucket', 'minecraft:bucket')
    //我要占用一下你的砖.js了！
    event.recipes.create.mixing(
        Fluid.of("gtceu:aqua_regia", 500),
        [
            Fluid.of("gtceu:diluted_hydrochloric_acid", 500),
            Fluid.of("gtceu:nitrogen_dioxide", 250),
        ]
    )
    event.recipes.create.mixing(
        Fluid.of("gtceu:diluted_hydrochloric_acid", 1000),
        [
            Fluid.of("gtceu:hydrochloric_acid", 500),
            Fluid.of("minecraft:water", 500),
        ]
    )
    event.shaped(
        '1x gtceu:wrought_iron_ingot',
        [
            'A',
            'B'
        ],
        {
            'A': '#forge:tools/hammers',
            'B': 'gtceu:hot_high_temp_wrought_precursor_ingot',
        }
    )
})
