ServerEvents.recipes(event => {

    let rock_gen = (output, time, adjacent, below) => {
    event.custom({
        "type": "thermal:rock_gen",
        "ticks": time,
        "adjacent": adjacent,
        "below": below,
        "result": {
            "item": output
        }
      })
    }

    event.remove({id: 'create:splashing/crushed_raw_copper'})
    rock_gen('create:veridium',320, 
        'botania:alchemy_catalyst', 
        'minecraft:sculk'
    )
    event.remove({id: 'create:splashing/crushed_raw_iron'})
    rock_gen('create:crimsite',360, 
        'botania:alchemy_catalyst', 
        'kubejs:red_carpet'
    )
    event.remove({id: 'create:splashing/crushed_raw_zinc'})
    rock_gen('create:asurine',280,
        'botania:alchemy_catalyst', 
        'kubejs:porous_stone'
    )
    rock_gen('create:ochrum', 300,
        'botania:alchemy_catalyst',
        'kubejs:ceilling_lamp'
    )
    rock_gen('create:limestone', 300,
        'botania:alchemy_catalyst',
        'kubejs:drain'
    )
    rock_gen('thermal:rubber',400, 
        'kubejs:stripped_wallpaper', 
        'minecraft:air'
    )
    rock_gen('kubejs:concrete_piece', 200,
        'immersiveengineering:redstone_acid_fluid_block',
        'kubejs:floor_tiles'
    )
    rock_gen('enderio:grains_of_infinity',1800, 
        'enderio:fire_water', 
        'minecraft:bedrock'
    )
    rock_gen('kubejs:carpet_dust',60, 
        'thermal:device_collector', 
        'kubejs:carpet'
    )
    rock_gen('kubejs:asbestos_dust',180, 
        'thermal:device_collector', 
        'kubejs:ceilling'
    )
    rock_gen('kubejs:quantum_string',12000,
        'mekanism:quantum_entangloporter', 
        'minecraft:loom'
    )
    rock_gen('thermal:sulfur_dust', 800,
        'thermal:device_collector',
        'kubejs:green_carpet'
    )
    rock_gen('kubejs:pool_tile_golden', 200, 
        'botania:alchemy_catalyst', 
        'kubejs:pool_tiles_golden'
    )
    rock_gen('kubejs:pool_tile_golden', 500, 
        'botania:alchemy_catalyst', 
        'kubejs:pool_tiles_golden_half'
    )
    rock_gen('kubejs:pool_tile_golden', 500, 
        'botania:alchemy_catalyst', 
        'kubejs:missing_tiles_golden_half'
    )
    rock_gen('immersiveengineering:raw_aluminum', 400,
        'minecraft:water', 
        'kubejs:missing_tiles_empty'
    )
    rock_gen('immersiveengineering:raw_aluminum', 900,
        'minecraft:water', 
        'kubejs:missing_tiles_half'
    )
    rock_gen('immersiveengineering:raw_aluminum', 900,
        'minecraft:water', 
        'kubejs:missing_tiles_half_wet'
    )
    rock_gen('immersiveengineering:raw_aluminum', 900,
        'minecraft:water', 
        'kubejs:missing_tiles_half_golden'
    )
    rock_gen('immersiveengineering:raw_aluminum', 900,
        'minecraft:water', 
        'kubejs:missing_tiles_half_cracked'
    )
    rock_gen('immersiveengineering:raw_aluminum', 900,
        'minecraft:water', 
        'kubejs:missing_tiles_half_cracked_wet'
    )

    //rock_gen('create:ochrum', 
    //    'create:rose_quartz_block', 
    //    'kubejs:red_carpet'
    //)

})

