onEvent('recipes', e => {
  e.custom({
    "type": "masterfulmachinery:machine_structure",
    "id": "pneumaminer",
    "controllerId": "simplemachine",
    "name": "Pneumatic Void Oil Miner",
    "layout": [
      [
        ")*    ",
        "*** + ",
        ",*    ",
        "-*    "
      ],
      [
        "((    ",
        ".** + ",
        "((    ",
        "((    "
      ],
      [
        "      ",
        "/** + ",
        "      ",
        "      "
      ],
      [
        "      ",
        "//**0/",
        "      ",
        "      "
      ],
      [
        "      ",
        " ////*",
        "      ",
        "      "
      ],
      [
        "      ",
        "     C",
        "      ",
        "      "
      ]
    ],
    "legend": {
      "0": {
        "block": "pneumaticcraft:pressure_chamber_valve"
      },

      ")": {
        "block": "masterfulmachinery:simplemachine_simpleair_port_pncr_pressure_input"
      },
      "*": {
        "block": "pneumaticcraft:compressed_iron_block"
      },
      "+": {
        "block": "pneumaticcraft:drill_pipe"
      },
      ",": {
        "block": "masterfulmachinery:simplemachine_simpleitem_port_items_input"
      },
      "-": {
        "block": "masterfulmachinery:simplemachine_simpletank_port_fluids_output"
      },
      ".": {
        "block": "pneumaticcraft:reinforced_bricks"
      },
      "/": {
        "block": "pneumaticcraft:reinforced_brick_wall"
      },
      "(": {
        "block": "pneumaticcraft:reinforced_brick_slab"
      }
    }
  })
})

onEvent('recipes', e => {

  e.custom({
    "type": "masterfulmachinery:machine_process",
    "structureId": "pneumaminer",
    "controllerId": "simplemachine",
    "ticks": 10000,
    "inputs": [
      {
        "type": "masterfulmachinery:items",
        "consumeInstantly": true,
        "data": {
          "item": 'pneumaticcraft:drill_bit_diamond',
          "count": 1
        }
      },
      {
        "type": "masterfulmachinery:pncr_pressure",
        "perTick": true,
        "data": {
          "air": 100,

        }
      }
    ],
    "outputs": [
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": 'pneumaticcraft:oil',
          "amount": 10,
        }
      }
    ]
  })
  e.custom({
    "type": "masterfulmachinery:machine_process",
    "structureId": "pneumaminer",
    "controllerId": "simplemachine",
    "ticks": 10000,
    "inputs": [
      {
        "type": "masterfulmachinery:items",
        "consumeInstantly": true,
        "data": {
          "item": 'pneumaticcraft:drill_bit_iron',
          "count": 1
        }
      },
      {
        "type": "masterfulmachinery:pncr_pressure",
        "perTick": true,
        "data": {
          "air": 100,

        }
      }
    ],
    "outputs": [
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": 'pneumaticcraft:oil',
          "amount": 4,
        }
      }
    ]
  })

  e.custom({
    "type": "masterfulmachinery:machine_process",
    "structureId": "pneumaminer",
    "controllerId": "simplemachine",
    "ticks": 10000,
    "inputs": [
      {
        "type": "masterfulmachinery:items",
        "consumeInstantly": true,
        "data": {
          "item": 'pneumaticcraft:drill_bit_compressed_iron',
          "count": 1
        }
      },
      {
        "type": "masterfulmachinery:pncr_pressure",
        "perTick": true,
        "data": {
          "air": 100,

        }
      }
    ],
    "outputs": [
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": 'pneumaticcraft:oil',
          "amount": 8,
        }
      }
    ]
  })
  e.custom({
    "type": "masterfulmachinery:machine_process",
    "structureId": "pneumaminer",
    "controllerId": "simplemachine",
    "ticks": 10000,
    "inputs": [
      {
        "type": "masterfulmachinery:items",
        "consumeInstantly": true,
        "data": {
          "item": 'pneumaticcraft:drill_bit_netherite',
          "count": 1
        }
      },
      {
        "type": "masterfulmachinery:pncr_pressure",
        "perTick": true,
        "data": {
          "air": 100,

        }
      }
    ],
    "outputs": [
      {
        "type": "masterfulmachinery:fluids",
        "perTick": true,
        "data": {
          "fluid": 'pneumaticcraft:oil',
          "amount": 40,
        }
      }
    ]
  })

})