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

PneumaticCraft Air (Compat)

How to create an Air Port?

{
  "id": "my_air_port",
  "controllerIds": "mm:controller_a",
  "name": "My Air Port",
  "type": "mm:pneumaticcraft/air",
  "config": {
    "danger": 11.0,
    "critical": 12.0,
    "volume": 20000
  }
}
"type": "mm:pneumaticcraft/air"

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

"config": {
  "danger": 11.0,
  "critical": 12.0,
  "volume": 20000
}

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

The "danger" field defines the "red-zone" where the pressure is dangerously high.

The "critical" field defines the threshold of pressure which can lead the port to explode.

PreviousCreate Kinetic (Compat)NextExtra Blocks

Last updated 11 months ago

💡