Gas Ports

How to create a Gas Port?

{
  "id": "my_gas_port",
  "controllerIds": "mm:controller_a",
  "name": "My Gas Port",
  "type": "mm:mekanism/gas",
  "config": {
    "capacity": 10000000
  }
}
"type": "mm:mekanism/gas"

The "type" field for the Mekanism gas port is set to mm:mekanism/gas. This tells the config reader to look for Mekanism gas port-specific fields inside the "config" object field.

"config": {
    "capacity": 10000000
}

Inside of the "config" field, the "capacity" field is used to define the capacity of the tank which will store the gas in the port.

Last updated