ServerEvents.recipes(event => {  
    //Advanced Crucible
    event.custom({
        "type": "aether:enchanting",
        "category": "enchanting_misc",
        "cookingtime": 250,
        "experience": 0.15,
        "ingredient": {
          "item": "eidolon:crucible"
        },
		"result": { 
            "type": "forge:nbt",
            "item": "custommachinery:custom_machine_item",
            "count": 1,
            "nbt": "{machine:\"mystian:advanced_crucible\"}"
		}
    }).id('impostor:advanced_crucible')

  //Arcane Gold Ingot
  event.custom({
    "type": "custommachinery:custom_machine",
    "machine": "mystian:advanced_crucible",
    "time": 2500,
    "requirements": [
        {
            "type": "custommachinery:energy_per_tick",
            "mode": "input",
            "amount": 1000
        },
      {
          "type": "custommachinery:fluid",
          "id": "fluidinput",
          "mode": "input",
          "fluid": "minecraft:water",
          "amount": 1000
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:dusts/redstone",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:soul_shard",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:ingots/brass",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "id": "itemoutput",
          "mode": "output",
          "item": "eidolon:arcane_gold_ingot",
          "amount": 2
      }
    ]
  }).id('mystian:advanced_crucible/arcane_gold_ingot')

  //Lesser Soul Gem
  event.custom({
    "type": "custommachinery:custom_machine",
    "machine": "mystian:advanced_crucible",
    "time": 1250,
    "requirements": [
        {
            "type": "custommachinery:energy_per_tick",
            "mode": "input",
            "amount": 1000
        },
      {
          "type": "custommachinery:fluid",
          "id": "fluidinput",
          "mode": "input",
          "fluid": "minecraft:water",
          "amount": 1000
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:dusts/redstone",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:gems/lapis",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:soul_shard",
          "amount": 4
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:gems/quartz",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "id": "itemoutput",
          "mode": "output",
          "item": "eidolon:lesser_soul_gem",
          "amount": 1
      }
    ]
  }).id('mystian:advanced_crucible/lesser_soul_gem')

  //Shadow Gem
  event.custom({
    "type": "custommachinery:custom_machine",
    "machine": "mystian:advanced_crucible",
    "time": 2500,
    "requirements": [
        {
            "type": "custommachinery:energy_per_tick",
            "mode": "input",
            "amount": 1000
        },
      {
          "type": "custommachinery:fluid",
          "id": "fluidinput",
          "mode": "input",
          "fluid": "minecraft:water",
          "amount": 1000
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:coal",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:ghast_tear",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:gems/diamond",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:soul_shard",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:death_essence",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "id": "itemoutput",
          "mode": "output",
          "item": "eidolon:shadow_gem",
          "amount": 1
      }
    ]
  }).id('mystian:advanced_crucible/shadow_gem')

  //Refined Crimson
  event.custom({
    "type": "custommachinery:custom_machine",
    "machine": "mystian:advanced_crucible",
    "time": 2500,
    "requirements": [
        {
            "type": "custommachinery:energy_per_tick",
            "mode": "input",
            "amount": 1000
        },
      {
          "type": "custommachinery:fluid",
          "id": "fluidinput",
          "mode": "input",
          "fluid": "minecraft:water",
          "amount": 1000
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:weeping_vines",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:nether_wart",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:dusts/sulfur",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "id": "itemoutput",
          "mode": "output",
          "item": "eidolon:crimson_essence",
          "amount": 2
      }
    ]
  }).id('mystian:advanced_crucible/crimson_essence')

  //Ender Calx
  event.custom({
    "type": "custommachinery:custom_machine",
    "machine": "mystian:advanced_crucible",
    "time": 2500,
    "requirements": [
        {
            "type": "custommachinery:energy_per_tick",
            "mode": "input",
            "amount": 1000
        },
      {
          "type": "custommachinery:fluid",
          "id": "fluidinput",
          "mode": "input",
          "fluid": "minecraft:water",
          "amount": 1000
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:ender_pearl",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:enchanted_ash",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "id": "itemoutput",
          "mode": "output",
          "item": "eidolon:ender_calx",
          "amount": 2
      }
    ]
  }).id('mystian:advanced_crucible/ender_calx')

  //Crimson Gem
  event.custom({
    "type": "custommachinery:custom_machine",
    "machine": "mystian:advanced_crucible",
    "time": 2500,
    "requirements": [
        {
            "type": "custommachinery:energy_per_tick",
            "mode": "input",
            "amount": 1000
        },
      {
          "type": "custommachinery:fluid",
          "id": "fluidinput",
          "mode": "input",
          "fluid": "minecraft:water",
          "amount": 1000
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:coal",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "minecraft:ghast_tear",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:crimson_essence",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "eidolon:soul_shard",
          "amount": 2
      },
      {
          "type": "custommachinery:item",
          "mode": "input",
          "item": "#forge:gems/diamond",
          "amount": 1
      },
      {
          "type": "custommachinery:item",
          "id": "itemoutput",
          "mode": "output",
          "item": "eidolon:crimson_gem",
          "amount": 1
      }
    ]
  }).id('mystian:advanced_crucible/crimson_gem')

})