# Industrial Mixer

Requires at least one fluid output.

The first output fluid's type selects the recipe set; rows sharing it are switched in the GUI in `order`. The first two input fluids fill tanks 1 and 2; the mixer reads only the first item input and the first output fluid. Pressure is ignored.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | Selects the `hbm:mixer` recipe format. | |
| `name` (Optional) | Internal lookup name; defaults to the last segment of the recipe resource path. | |
| `input_items` (Optional) | Ordered counted item inputs; defaults to an empty list. | |
| `input_items.ingredient` | Item ID, item tag, or loader ingredient object. | |
| `input_items.count` (Optional) | Items required from one stack; default 1. The item stack limit bounds a usable count. | `[1, i32::MAX]` |
| `input_items.components` (Optional) | Exact item-component values. | |
| `input_items.predicates` (Optional) | Item-component predicates. | |
| `input_fluids` (Optional) | Ordered fluid inputs with amount and pressure; defaults to an empty list. | |
| `input_fluids.type` | Registered fluid ID. | |
| `input_fluids.amount` | Amount in mB; use $[1, \mathrm{tank\ capacity}]$ for transfers because machine code casts to int. | `i64` |
| `input_fluids.pressure` (Optional) | Pressure level; default 0. | `i32` |
| `output_fluids` | Ordered fluid outputs with amount and pressure; defaults to an empty list. | |
| `output_fluids.type` | Registered fluid ID. | |
| `output_fluids.amount` | Amount in mB; use $[1, \mathrm{tank\ capacity}]$ for transfers because machine code casts to int. | `i64` |
| `output_fluids.pressure` (Optional) | Pressure level; default 0. | `i32` |
| `duration` | Process duration in ticks; defaults to 0. | `i32` |
| `order` (Optional) | Sort position within the recipe table; lower values first, default 2147483647. | `i32` |

## Example

Source path: `data/hbm/recipe/mixer/mixer.bitumen.json`

```json
{
  "type": "hbm:mixer",
  "duration": 20,
  "input_items": [
    {
      "ingredient": "#hbm:any_tar"
    }
  ],
  "order": 49,
  "output_fluids": [
    {
      "type": "hbm:bitumen",
      "amount": 50
    }
  ]
}
```
