Masterful Machinery
  • 👋MM Docs
  • 💡Base Features & Config
    • Controllers
    • Ports
      • Item Ports
      • Fluid Ports
      • Energy Ports
      • Mekanism Ports (Compat)
        • Gas Ports
        • Slurry Ports
        • Pigment Ports
        • Infusion Ports
      • Create Kinetic (Compat)
      • PneumaticCraft Air (Compat)
    • Extra Blocks
    • Structures
      • Structure Requirements
      • Common Requirements
    • Process Recipes
      • Ingredient Configs
      • Input Entries
      • Output Entries
      • Recipe Conditions
  • 🔩Compat Features
    • KubeJS Support
      • Register Controller
      • Register Port
      • Register Extra Blocks
      • Create Structures
      • Create Process Recipes
  • Tutorial Guides
    • Step by Step Datapack Edition
  • General Help
    • 🪞Custom Textures
  • 🎥Gallery
    • Coke Oven
  • 📎Archived Versions
    • Deprecated 1.16 Versions
    • Deprecated 1.18-1.19 Versions
      • Data Packs
Powered by GitBook
On this page
  1. Base Features & Config
  2. Ports
  3. Mekanism Ports (Compat)

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.

PreviousMekanism Ports (Compat)NextSlurry Ports

Last updated 1 year ago

💡