Item Ports

Item ports store item stacks for recipes. Input item ports are checked for required ingredients; output item ports receive recipe results.

Config example

{
  "id": "my_item_port",
  "controllerIds": "mm:controller_a",
  "name": "My Item Port",
  "type": "mm:item",
  "config": {
    "rows": 3,
    "columns": 3,
    "autoPush": true,
    "slotCapacity": 64,
    "tierRank": 1
  }
}
Config field Meaning
rows Number of inventory rows.
columns Number of inventory columns.
autoPush Optional. Output ports try to push items into nearby inventories.
slotCapacity Optional. 0 uses normal item stack size behaviour; values are capped at 16384 per slot.
tierRank Optional. Used by structure portType matching with minTier/maxTier.

Total slots are rows * columns.

Large item ports keep their configured grid dimensions. Their screen grows to fit larger grids, and the GUI batches content updates to reduce sync and rendering overhead. With AE2 installed, an ME Storage Bus can expose an item port’s inventory to the network; see Ports for the distinction from the Network Linker.

Ingredient example

{
  "type": "mm:item",
  "tag": "forge:ingots/iron",
  "count": 2,
  "nbt": { "CustomModelData": 1 },
  "nbt_match": "weak"
}

Use either item for a specific item or tag for an item tag. count is the required stack count.