//By Mogcid
//priority: 1000
onEvent('recipes', event => {

  
  //---------------------------blocks------------------------------------

  //tin block
  event.custom({
  "type": "thermal:press",
  "input": [
    {
      "tag": "forge:ingots/tin",
      "count": 9
    },
    {
      "item": "thermal:press_packing_3x3_die"
    }
  ],
  "result": [
    {
      "item": "thermal:tin_block"
    }
  ]
  })

  //aluminum block
  event.custom({
  "type": "thermal:press",
  "input": [
    {
      "tag": "forge:ingots/aluminum",
      "count": 9
    },
    {
      "item": "thermal:press_packing_3x3_die"
    }
  ],
  "result": [
    {
      "item": "immersiveengineering:storage_aluminum"
    }
  ]
  })

  //uranium block
  event.custom({
    "type": "thermal:press",
    "input": [
      {
        "tag": "forge:ingots/uranium",
        "count": 9
      },
      {
        "item": "thermal:press_packing_3x3_die"
      }
    ],
    "result": [
      {
        "item": "immersiveengineering:storage_uranium"
      }
    ]
  })

    //zinc block
    event.custom({
      "type": "thermal:press",
      "input": [
        {
          "tag": "forge:ingots/zinc",
          "count": 9
        },
        {
          "item": "thermal:press_packing_3x3_die"
        }
      ],
      "result": [
        {
          "item": "create:zinc_block"
        }
      ]
    })
    
    event.custom({
      "type": "tconstruct:casting_basin",
      "fluid": {
        "tag": "forge:molten_osmium",
        "amount": 1296
      },
      "result": {
        "item": "mekanism:block_osmium"
      },
      "cooling_time": 150
    })
  
  
    event.custom({
      "type": "thermal:press",
      "input": [
        {
          "tag": "forge:ingots/osmium",
          "count": 9
        },
        {
          "item": "thermal:press_packing_3x3_die"
        }
      ],
      "result": [
        {
          "item": "mekanism:block_osmium"
        }
      ]
    })


event.custom({
  "type": "tconstruct:casting_basin",
  "fluid": {
    "tag": "forge:molten_steel",
    "amount": 1296
  },
  "result": {
    "item": "immersiveengineering:storage_steel"
  },
  "cooling_time": 150
})


event.custom({
  "type": "thermal:press",
  "input": [
    {
      "tag": "forge:ingots/steel",
      "count": 9
    },
    {
      "item": "thermal:press_packing_3x3_die"
    }
  ],
  "result": [
    {
      "item": "immersiveengineering:storage_steel"
    }
  ]
})

event.custom({
  "type": "thermal:press",
  "input": [
    {
      "tag": "forge:ingots/brass",
      "count": 9
    },
    {
      "item": "thermal:press_packing_3x3_die"
    }
  ],
  "result": [
    {
      "item": "create:brass_block"
    }
  ]
})


 

event.custom({
  "type": "thermal:pulverizer",
  "ingredient": {
    "item": "minecraft:lapis_lazuli"
  },
  "result": [
    {
      "item": "thermal:lapis_dust",
      "count": 1
    }
  ]
})

event.custom({
  "type": "thermal:pulverizer",
  "ingredient": {
    "item": "minecraft:diamond"
  },
  "result": [
    {
      "item": "thermal:diamond_dust",
      "count": 1
    }
  ]
})

event.custom({
  "type": "thermal:pulverizer",
  "ingredient": {
    "item": "minecraft:emerald"
  },
  "result": [
    {
      "item": "thermal:emerald_dust",
      "count": 1
    }
  ]
})

event.custom({
  "type": "minecraft:crafting_shapeless",
  "ingredients": [
    {
      "tag": "forge:gems/quartz"
    },
    {
      "item": "thermal:earth_charge"
    }
  ],
  "result": {
    "item": "thermal:quartz_dust"
  }
})

event.custom({
  "type": "minecraft:crafting_shapeless",
  "ingredients": [
    {
      "tag": "forge:gems/emerald"
    },
    {
      "item": "thermal:earth_charge"
    }
  ],
  "result": {
    "item": "thermal:emerald_dust"
  }
})

event.custom({"type": "minecraft:crafting_shapeless",
"ingredients": [
  {
    "tag": "forge:gems/diamond"
  },
  {
    "item": "thermal:earth_charge"
  }
],
"result": {
  "item": "thermal:diamond_dust"
}
})

event.custom({
  "type": "minecraft:crafting_shapeless",
  "ingredients": [
    {
      "tag": "forge:gems/lapis"
    },
    {
      "item": "thermal:earth_charge"
    }
  ],
  "result": {
    "item": "thermal:lapis_dust"
  }
})

event.custom({"type":"immersiveengineering:hammer_crushing","result":{"item":"thermal:gold_dust"},"input":{"item":"minecraft:gold_ore"}})

event.custom({
  "conditions": [
    {
      "type": "forge:mod_loaded",
      "modid": "botania"
    }
  ],
  "type": "create:milling",
  "ingredients": [
    {
      "tag": "forge:ingots/gold"
    }
  ],
  "results": [
    {
      "item": "thermal:gold_dust",
      "count": 1
    }
  ],
  "processingTime": 50
})    
})
    