Integrated Dynamics · Automation · Intermediate

How to Automate Ore Processing & Mekanism Machines (Integrated Mekanism)

Mekanism ore processing lines frequently jam when multi-item batches or uneven chemical slurry production flood a single machine buffer. In this guide, you will use Integrated Dynamics, Integrated Tunnels, and Integrated Mekanism to build a smart ore multiplication setup that dynamically reads chemical levels, transfers gasses and slurries over a single cable network, and balances raw ore inputs automatically.

What you need

  • Integrated Dynamics, Integrated Tunnels, and Integrated Mekanism installed (along with Cyclops Core and Common Capabilities)
  • Logic Cable, Variable Store, and at least one Display Panel
  • Portable Logic Programmer (or a standard Logic Programmer block) and a Labeller
  • Plenty of blank Variable Cards
  • Item Interfaces, Item Exporters, and Item Importers
  • Chemical Interfaces, Chemical Exporters, and Chemical Importers (from Integrated Mekanism)
  • Inventory Readers and Chemical Readers
  • A Mekanism ore processing line (e.g., Chemical Dissolution Chamber, Chemical Washer, Chemical Crystallizer, Purification Chamber) with power connected

Step by step

  1. 1Configure Mekanism Machine Sides

    Place your Mekanism machines in a clean row and open each machine's GUI. Click the Side Config tab on the left and set the rear face (or whichever face your cables will touch) to simultaneously allow input and output for items, gasses, infuser types, and slurries as needed. Do not turn on Auto-Eject in the Mekanism GUI, because Integrated Tunnels will handle the pushing and pulling with much lower server lag and tighter logic control.

    Tip: You can hold a Configurator from Mekanism to quickly verify what mode each machine face is assigned to from the outside.

  2. 2Attach Interfaces, Exporters, and Readers

    Run a line of Logic Cable behind your input chest and all your Mekanism machines, then place a Variable Store anywhere along the line. Attach an Item Interface to your raw ore input chest, and place an Item Exporter plus an Inventory Reader onto the back of your primary ore consumer (such as a Chemical Dissolution Chamber or Purification Chamber). On machines that generate or consume Mekanism chemicals—like sulfuric acid, hydrogen chloride, or ore slurry—attach Chemical Interfaces on the producers and Chemical Exporters plus Chemical Readers on the consumers.

    Tip: If you need to inspect or extract chemicals from a specific face without routing cables all the way around a machine, click the part settings and adjust its static offset to reach across the block.

  3. 3Read Chemical Tank Fill Levels

    Right-click the Chemical Reader attached to your Chemical Dissolution Chamber (or Chemical Washer) to inspect its internal tanks. Scroll through the aspects until you find the chemical capacity or fill ratio aspect (or read both the currently stored chemical amount and total tank capacity as Integers). Insert a blank Variable Card into the desired aspect slot to bind it, and immediately use your Labeller to name this card 'Target Chemical Level' so you do not mix it up later.

    Tip: Place a Display Panel on your cable and insert your freshly bound Variable Card to watch the chemical numbers update in real time as you test the machine.

  4. 4Program Buffer-Limiting Logic for Chemicals

    Open your Logic Programmer to create a safety threshold so your network never wastes acid or overflows a single machine with gas. Search for the Integer Less Than operator (or Relational Less Than if comparing ratios). First, create a constant Integer Variable Card representing your desired chemical buffer limit—check the machine's GUI or JEI for exact tank maximums, and pick a modest threshold like half a tank. Next, insert your 'Target Chemical Level' card into the first slot of the Less Than operator and your constant threshold card into the second slot, then bind the resulting Boolean to a new card named 'Needs Acid'.

    Tip: Always put the raw reader cards ('Target Chemical Level' and your constant Integer card) into your Variable Store right away, or the final Boolean card will fail to evaluate.

  5. 5Automate Gas and Slurry Transfer

    Right-click the Chemical Exporter attached to your acid-consuming machine and insert the 'Needs Acid' Boolean card into the 'Export All Chemicals' (or 'Export Chemical') aspect slot. Click the '+' button next to that slot to open the part properties and adjust the transfer rate and channel if necessary. For transferring dirty and clean ore slurry from the Dissolution Chamber to the Washer and finally to the Crystallizer, place Chemical Interfaces on the output faces and Chemical Exporters on the receiving faces, using a simple Boolean 'True' card (or an active Chemical Predicate card) to keep the slurry moving continuously.

    Tip: If one machine holds multiple chemical types (like both an acid input and a slurry output), use the 'Export Chemical' aspect instead of 'Export All' so you explicitly filter which chemical moves where.

  6. 6Balance Raw Ore Inputs Against Modulo Requirements

    Mekanism Tier 2 through Tier 4 processing works smoothly with single items, but Tier 5 (Chemical Dissolution Chamber) requires raw ores in strict multiples of 3 to avoid leaving unprocessable leftover slurry in the Washer or Crystallizer. Right-click the Inventory Reader on your Dissolution Chamber, bind an Integer Variable Card to the 'Inventory Count' aspect (named 'Current Ore In Machine'), and put it in your Variable Store when finished. In the Logic Programmer, create a constant Integer card with a value of 0, then use the Integer Equals operator to compare 'Current Ore In Machine' to 0, naming the output card 'Machine Is Empty'.

  7. 7Cap the Item Exporter Transfer Rate

    Place your 'Current Ore In Machine' card and the constant 0 card into the Variable Store, then open the Item Exporter attached to your Dissolution Chamber. Insert the 'Machine Is Empty' Boolean card into the 'Export All Items' slot. Before walking away, click the '+' settings icon next to the active slot in the Item Exporter GUI and set the Craft/Transfer Rate to exactly 3 items per operation. Because the exporter only fires when the input slot is completely empty and only pushes 3 items at a time, the chamber will never get stuck with mismatched leftover slurry.

    Tip: If you are using an Upgraded Factory instead of a Dissolution Chamber, you can read the 'Inventory Empty' Boolean aspect directly from the Inventory Reader to save a couple of cards in your Variable Store.

How it works

Integrated Dynamics operates on lazy evaluation and pull-based logic networks. A Variable Card does not store a static snapshot of data; instead, it stores a pointer to a specific reader aspect or a mathematical formula linking multiple cards together. When you place a final Boolean Variable Card into a Chemical Exporter or Item Exporter, that exporter queries the network every tick (or at your configured tick interval). The network looks inside the Variable Store to resolve all dependent cards, reads the live state of your Mekanism machine through the attached Reader, and outputs True or False on the spot.

Integrated Mekanism bridges Mekanism's custom chemical system (gasses, infuser types, pigments, and slurries) directly into the standard Integrated Dynamics type system. By treating chemicals as first-class data types alongside items and fluids, Chemical Interfaces expose Mekanism tanks to the network without pumping anything until a Chemical Exporter or Importer evaluates its internal Variable Card as truthy. This avoids the classic piping problem where internal pipe buffers fill up with a single slurry type and block subsequent ore varieties from passing through.

By combining an Inventory Reader's item count check with the Item Exporter's built-in stack size limit, you create an atomic batching gate. As long as the machine has even one raw ore inside, the Inventory Count is greater than zero, causing the Integer Equals operator to evaluate to False and halting the Item Exporter. The exact tick the final item of the trio is consumed, the count hits zero, the condition turns True, and the exporter pulls a clean batch of three matching items from your input chest's Item Interface.

Common mistakes

  • Forgetting to put intermediate Variable Cards into the Variable Store. If Card C compares Card A and Card B, then both Card A and Card B must sit inside a Variable Store connected to the network while Card C sits in your Exporter, otherwise the Exporter will show a missing variable error.
  • Leaving Mekanism's internal Auto-Eject enabled while using Integrated Tunnels interfaces. If a machine auto-ejects chemicals or items into an interface, it can bypass your programmed logic limits and cause erratic backstuffing; always let the Exporters and Importers do the work.
  • Mixing up channels on large networks. By default, all interfaces and exporters operate on channel 0, which means an unqualified 'Export All Chemicals' card might pull unexpected gasses from a different machine on the same wire; assign distinct channel numbers in the '+' menu for each processing stage.
  • Feeding ungrouped raw ores into a Chemical Dissolution Chamber without batching. If your input chest contains 1 Raw Iron and 5 Raw Copper, a standard transfer pipe will push the 1 Raw Iron and jam the downstream Chemical Crystallizer with 200mB of un-crystallizable slurry; always set your exporter properties to require exact batch quantities or pre-filter the input chest.

FAQ

Why does my Chemical Exporter have a red X and refuse to pump gas?

Check three things: verify that all parent Variable Cards used in your formula are sitting inside a connected Variable Store, ensure the Mekanism machine's Side Config is set to allow chemical input on that specific block face, and confirm that a Chemical Interface is attached to the source tank on the same channel.

How do I stop my network from causing tick lag as my factory grows?

Open the '+' configuration menu inside your Item and Chemical Exporters and increase the tick interval (sleep timer) between operations. Ore processing machines do not need to be checked twenty times per second; checking once every 10 or 20 ticks is plenty fast and drastically reduces server evaluation overhead.

Can I combine multiple logic conditions without filling up a whole Variable Store?

Yes. Check the in-game guide book 'On the Dynamics of Integration' for the Expressions feature, which allows you to combine constant values and nested operators onto fewer cards inside the Logic Programmer.

Do I need to power the Integrated Dynamics cable network for it to move Mekanism chemicals?

By default, network energy consumption is disabled in the mod configuration, so parts will work without power. If your modpack or server admin has enabled energy usage, simply attach an Energy Battery filled with RF/FE anywhere onto the Logic Cable network.

By linking Chemical Readers and Inventory Readers to conditional Variable Cards inside a Variable Store, you can drive Integrated Mekanism exporters to transfer exact gas thresholds and three-item ore batches without ever jamming your processing line.

More Integrated Dynamics guides

Integrated Dynamics · Getting startedIntegrated Dynamics Getting Started Guide: Menril, Squeezers & Your First NetworkIntegrated Dynamics is one of the most powerful logic, automation, and logistics mods available, and it all starts with a single blue tree. In this guide, you will learn how to harvest Menril, operate the manual Squeezer and Drying Basin to craft your first components, build a basic reading network, and finally upgrade to powered mechanical machines. Mastering this early resource loop is essential because every cable, terminal, and variable card in the mod family relies on crystallized Menril.Beginner6 steps
Integrated Dynamics · ExplainedVariables, Readers & Writers Explained: How Integrated Dynamics Logic WorksIntegrated Dynamics can seem intimidating at first, as it replaces simple redstone wires with a full programming system based on data types and logic evaluations. In this beginner guide, you will learn how to read information from the world using Readers, bind that data to Variable Cards, display it on Display Panels, and trigger physical actions using Writers. Mastering this fundamental workflow is the key to unlocking the most powerful, lag-free automation networks in modded Minecraft.Beginner7 steps
Integrated Dynamics · ExplainedHow to Use the Logic Programmer: Operators, Lists & Predicates ExplainedMastering the Logic Programmer in Integrated Dynamics transforms basic redstone setups into intelligent, automated systems capable of processing complex data. In this guide, you will learn how to combine Variable Cards using operators, manipulate data lists, and apply functional programming concepts like predicates, map, and filter to build dynamic sorting and control networks.Intermediate8 steps
Integrated Dynamics · Addon guideIntegrated Tunnels Guide: How to Transfer Items, Fluids & Energy at Max SpeedIntegrated Tunnels expands your Integrated Dynamics networks by letting you move items, fluids, and energy across your base with zero travel delay. By mastering Interfaces, Importers, and Exporters alongside Variable Cards, you can build instant, infinitely scalable transfer systems that easily outperform standard pipes. This guide will walk you through setting up basic transfers, separating network traffic with channels, and configuring max-speed throughput.Beginner7 steps
Integrated Dynamics · Setup guideHow to Build a Storage Network with Integrated Terminals & TunnelsBuild a centralized, searchable storage and crafting system early in your survival world without needing expensive digital drives or massive power grids. By combining Integrated Dynamics with the Integrated Tunnels and Integrated Terminals addons, you can link all your existing chests, barrels, and storage drawers into one seamless interface.Beginner7 steps
Integrated Dynamics · Addon guideIntegrated Crafting Guide: How to Set Up Auto-Crafting & Machine ProcessingMastering auto-crafting with the Integrated Dynamics mod family allows you to automate both standard 3x3 crafting recipes and complex multi-step machine processing on demand. By leveraging the Integrated Crafting, Integrated Tunnels, and Integrated Terminals addons, you can build a surprisingly cheap and scalable request-based automation network early in your progression. This guide walks you through encoding Recipe Variable Cards, configuring Crafting Interfaces on tables and furnaces, and managing jobs through terminals.Intermediate7 steps