MI Automation
Feed and empty any Modern Industrialization machine from a single adjacent block. MI Automation adds I/O hatches that work as an input hatch and an output hatch in one, and side configuration for MI's single-block machines. A single AE2 Pattern Provider, or any pipe or automation block that uses NeoForge item and fluid capabilities, can then feed a machine and take its products back.
Features
I/O hatches for MI multiblocks
Item, Fluid and Item & Fluid I/O Hatches in every MI hatch tier:
| Tier | Item slots (in + out) | Fluid tanks (in + out) | Tank size |
|---|---|---|---|
| Bronze | 1 + 1 | 1 + 1 | 4 buckets |
| Steel | 2 + 2 | 2 + 2 | 16 buckets |
| Advanced (MV) | 4 + 4 | 2 + 2 | 64 buckets |
| Turbo (HV) | 9 + 9 | 3 + 3 | 256 buckets |
| Highly Advanced (EV) | 16 + 16 | 4 + 4 | 1024 buckets |
- Fits anywhere MI accepts an item or fluid hatch, in every MI multiblock, including addon and KubeJS multiblocks built on MI's shapes.
- Takes the roles its position allows: input and output on the Electric Blast Furnace; input only at the bottom of the Distillation Tower and output only on its upper layers.
- Separate input and output slots: pipes and providers only insert into the inputs and only extract from the outputs. The multiblock never re-processes its own products, and unused inputs never leak out.
- Auto-export: outputs are pushed into the block on the hatch's output side every tick. If that side has no inventory, the hatch picks an adjacent one, such as the pattern provider feeding it. Shift + right-click a face with an MI wrench to choose the side yourself.
Side configuration for MI machines
- Every MI single-block machine gets a small cube button in its screen. That covers electric and steam crafting machines, boilers, generators, pumps, storage, and addon machines built on MI's classes.
- Per side:
- Items and fluids can be Input, Output, Input & Output or None.
- Energy can be On or Off.
- Sides are relative to the machine's front, so your setup turns with the machine.
- Auto-eject pushes output slots and tanks into the neighbours on every output side. Inputs, including steam, never leave.
- Unconfigured machines behave exactly like stock MI, so nothing changes until you change it.
No more "The inputs match more than one possible recipe"
When a machine's items fit two recipes, and one recipe uses everything the other does and more, the bigger recipe now runs instead of the machine stopping. For example, a Mixer holding stainless steel dust inputs also holds invar's iron + nickel. Recipes that don't contain each other still stop with MI's usual message.
Crafting the hatches
- MI item input hatch + item output hatch of the same tier → Item I/O Hatch
- MI fluid input hatch + fluid output hatch of the same tier → Fluid I/O Hatch
- Item I/O Hatch + Fluid I/O Hatch → Item & Fluid I/O Hatch
Automate a multiblock with one Pattern Provider
- Build the multiblock with an Item & Fluid I/O Hatch (or Item / Fluid, whichever its recipes need) instead of separate input and output hatches. Energy hatches stay as in MI.
- Place an AE2 Pattern Provider against the hatch's outer face.
- Turn on item and fluid auto-extract in the hatch screen. The output arrow moves to the provider by itself if it was facing the multiblock or open air.
- Put processing patterns for the multiblock's recipes into the provider. Inputs go into the hatch, and outputs come back through the provider into your ME network.
Tips
- Pick a tier with enough input slots and tanks for your biggest recipe. A pattern provider pushes a whole pattern into one block.
- Don't put an Overdrive Module into a machine that runs more than one recipe. MI keeps it locked to the last recipe while it has power, so other patterns would never start.
Works great with AE2 Pattern Crafter
AE2 Pattern Crafter can encode your MI recipes in bulk. Its Machine Filter treats a provider next to any hatch of a formed MI multiblock, including these I/O hatches, as facing the controller. Patterns are placed into the right provider automatically.
Requirements
- Minecraft 1.21.1 with NeoForge 21.1.x
- Modern Industrialization 2.5.0 or newer
- Install on both server and client.
- AE2 is optional: the mod uses standard NeoForge item and fluid capabilities, so any pipe mod works too.
Configuration
config/mi_automation-common.toml:
io_hatches.strictRoles(defaulttrue): I/O hatches only take the roles their multiblock position allows.side_config.enabled(defaulttrue): master switch for side configuration and auto-eject.side_config.autoEjectInterval(default1): ticks between auto-eject attempts.recipes.preferMostSpecificRecipe(defaulttrue): run the bigger of two overlapping recipes instead of stopping.
MI Automation is MIT licensed. Modern Industrialization is MIT licensed by AztechMC; this addon only links against it.