onEvent('recipes', e => {
  e.custom({
    "type": "masterfulmachinery:machine_structure",
    "id": "pneumacg",
    "controllerId": "simplemachine",
    "name": "Pneumatic Cobblestone Generator",
    "layout": [
      [
        " ) ",
        "*+*",
        " C "
      ],
      [
        "+,+",
        ",-,",
        "+,+"
      ],
      [
        " + ",
        "+++",
        " + "
      ],
      [
        "   ",
        " . ",
        "   "
      ]
    ],
    "legend": {
      ")": {
        "block": "masterfulmachinery:simplemachine_simpleair_port_pncr_pressure_input"
      },
      "*": {
        "block": "masterfulmachinery:simplemachine_simpletank_port_fluids_input"
      },
      "+": {
        "block": "pneumaticcraft:compressed_iron_block"
      },
      ",": {
        "block": "minecraft:glass"
      },
      "-": {
        "block": "minecraft:cobblestone"
      },
      ".": {
        "block": "masterfulmachinery:simplemachine_simpleitem_port_items_output"
      }
    }
  })
})

onEvent('recipes', e => {

  e.custom({
    "type": "masterfulmachinery:machine_process",
    "structureId": "pneumacg",
    "controllerId": "simplemachine",
    "ticks": 1,
    "inputs": [
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": 'minecraft:lava',
          "amount": 1
        }
      },
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": 'minecraft:water',
          "amount": 1
        }
      },
      {
        "type": "masterfulmachinery:pncr_pressure",
        "perTick": true,
        "data": {
          "air": 31,

        }
      }
    ],
    "outputs": [
      {
        "type": "masterfulmachinery:items",
        "perTick": true,
        "data": {
          "item": 'minecraft:cobblestone',
          "count": 1,
        }
      }
    ]
  })

})