onEvent('recipes', e => {
  e.custom({
    "type": "masterfulmachinery:machine_structure",
    "id": "creogen",
    "controllerId": "simplemachine",
    "name": "Creosote Generator",
    "layout": [
      [
        ")))",
        ")))",
        ")))"
      ],
      [
        "*)*",
        "+,-",
        "*C*"
      ],
      [
        " * ",
        "*.*",
        " * "
      ],
      [
        "   ",
        " . ",
        "   "
      ]
    ],
    "legend": {
      ")": {
        "block": "pneumaticcraft:compressed_iron_block"
      },
      "*": {
        "block": "immersiveengineering:steel_fence"
      },
      "+": {
        "block": "masterfulmachinery:simplemachine_simpletank_port_fluids_input"
      },
      ",": {
        "block": "immersiveengineering:thermoelectric_generator"
      },
      "-": {
        "block": "masterfulmachinery:simplemachine_simplebank_port_energy_output"
      },
      ".": {
        "block": "immersiveengineering:coil_lv"
      }
    }
  })
})

onEvent('recipes', e => {
  e.custom({
    "type": "masterfulmachinery:machine_process",
    "structureId": "creogen",
    "controllerId": "simplemachine",
    "ticks": 1,
    "inputs": [
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": "immersiveengineering:creosote",
          "amount": 20
        }
      }
    ],
    "outputs": [
      {
        "type": "masterfulmachinery:energy",
        "perTick": true,
        "data": {
          "amount": 200
        }
      }]
  })
})