Integrated Dynamics · Explained · Beginner
Variables, Readers & Writers Explained: How Integrated Dynamics Logic Works
Integrated 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.
What you need
- Logic Cables (several to connect your network)
- Variable Cards (at least 4-5 for your first setup)
- 1x Inventory Reader (or Block Reader / Redstone Reader)
- 1x Display Panel
- 1x Redstone Writer
- 1x Portable Logic Programmer (or the block version: Logic Programmer)
- 1x Variable Store
- 1x Wrench (from Integrated Dynamics or any compatible mod)
- 1x Chest and 1x Redstone Lamp (for testing your first logic circuit)
Step by step
1Build the Physical Cable Network
Place a Chest on the ground and leave a one-block gap before placing a Redstone Lamp. Run a continuous line of Logic Cables between the Chest and the Redstone Lamp so that the cables touch both blocks. Unlike regular chests or pipes, Integrated Dynamics requires all components to be physically connected by Logic Cables to share data.
Tip: If you ever place a cable or part in the wrong spot, right-click or shift-right-click it with a Wrench to cleanly remove it without breaking the rest of the cable block.
2Attach an Inventory Reader
Hold your Inventory Reader and right-click the side of the Logic Cable that is directly facing the Chest. The Reader will snap onto the cable and orient itself toward the Chest. Right-click the Inventory Reader to open its interface, where you will see a list of 'Aspects'—these are the different pieces of data the Reader can currently observe from the Chest, such as whether it is full, empty, or how many slots are occupied.
Tip: Notice the color coding on the right side of each Aspect; each color represents a specific data type, such as dark blue for Boolean (True/False) or green for Integer (whole numbers).
3Bind Data to a Variable Card
Inside the Inventory Reader GUI, scroll to find the Boolean Aspect named 'Inventory Empty' (or 'Inventory Not Empty'). Take a blank Variable Card from your inventory and place it into the small slot on the right side of that specific Aspect row. The card will immediately change appearance and gain a colored border, signifying that it is now programmed to point to that exact property of that specific Chest.
Tip: Hold shift while hovering over your newly programmed Variable Card to inspect its data type, the Reader it references, and its unique Variable ID.
4Visualize Data with a Display Panel
Take your newly bound Variable Card out of the Reader. Attach a Display Panel onto the front face of any Logic Cable in your network by right-clicking the cable with the panel. Right-click the Display Panel to open its single-slot GUI, and insert your Variable Card. Close the GUI and look at the panel in the world: it will now dynamically display 'true' if the Chest is empty, and immediately switch to 'false' if you put an item inside the Chest.
Tip: You can rotate the text on a Display Panel by right-clicking its front face with a Wrench.
5Trigger Actions with a Redstone Writer
Remove the Variable Card from the Display Panel and attach a Redstone Writer to the end of the Logic Cable touching your Redstone Lamp. Open the Redstone Writer GUI to view its programmable output Aspects. Locate the 'Redstone Boolean' Aspect (which emits a full strength redstone signal when given a 'true' value) and insert your Variable Card into its slot. Your Redstone Lamp will now automatically turn on whenever the Chest is empty, and turn off as soon as an item enters the Chest.
Tip: Notice that a Writer holds the Variable Card inside itself; it continuously evaluates whatever card is sitting in its active slot.
6Compare Values in the Logic Programmer
What if you only want the lamp to turn on when there are more than 10 items in the Chest? Go back to the Inventory Reader, put a new blank Variable Card into the Integer Aspect 'Count' (total items in inventory), and pull it out. Next, open your Portable Logic Programmer, type 'Integer' into the search bar, select the Integer data type, type '10' into the input box, and put a second blank Variable Card in the bottom-right slot to create a constant value of 10. Finally, search the Logic Programmer for the 'Greater Than' (>) operator, place your 'Count' Variable Card in the first input slot, your '10' Variable Card in the second slot, and bind the resulting operation to a third blank Variable Card.
Tip: The Logic Programmer does not consume your input cards when creating an operator card; it simply records their unique IDs into the new card's recipe.
7Supply Dependency Cards via a Variable Store
Take your third Variable Card (the 'Greater Than' operation) and place it into the Redstone Writer's Boolean slot. You will notice the Redstone Lamp does not turn on, and the Writer GUI displays an error symbol! This happens because your 'Greater Than' card relies on the 'Count' card and the '10' card, which are currently sitting in your player inventory where the network cannot read them. Place a Variable Store block anywhere against your Logic Cables, open it, and put Both the 'Count' card and the '10' card inside it. The network will instantly find the missing dependencies, clear the error, and turn on the lamp whenever you put 11 or more items into the Chest.
Tip: Use the in-game Labeler item to name your Variable Cards (e.g., 'Chest Item Count' or 'Constant 10') before putting them into a Variable Store so your complex setups remain easy to debug later.
How it works
To truly understand Integrated Dynamics, you must realize that a Variable Card does not hold a static snapshot of data; instead, it holds a live pointer (a reference) to where that data comes from. When you bind a card inside an Inventory Reader, the card simply records: 'Whenever someone asks for my value, check Aspect X on Reader Y.' This is why the mod is called 'lazy-evaluated'—no data is calculated or sent across the cables until an active output component, like a Display Panel or a Writer, actually requests it.
Every piece of data in the mod is strictly typed. A Redstone Writer looking for a Boolean (True/False) cannot directly accept an Integer (Number) card from a Reader counting items. The Logic Programmer bridges this gap by allowing you to take one or more input cards and pass them through an Operator (like 'Equals', 'Greater Than', or 'And') to output a brand-new Variable Card of the required target data type.
Because operator cards only record the unique IDs of their input cards rather than copying their entire logic, the network needs physical access to every single card in the logic chain. When a Writer evaluates an operator card, it broadcasts a request across the Logic Cables asking for the input IDs. A Variable Store acts as the network's hard drive, holding all those prerequisite cards so the Writer can trace the chain all the way back to the original Reader.
Common mistakes
- Keeping dependency cards in your inventory: If you create a multi-step logic operation, the final card in the Writer or Display Panel will fail with a missing variable error if the earlier input cards are still in your pocket. Always move prerequisite cards into a connected Variable Store.
- Inserting the wrong card into the Writer: A Writer can only hold one active card at a time. When building a multi-card operation, make sure only the final result card goes into the Writer, while all the ingredients go into the Variable Store.
- Breaking and replacing a Reader without re-binding: Every Reader placed in the world gets a unique internal ID. If you wrench up a Reader and place it back down, any Variable Card previously bound to it will break because the old Reader ID no longer exists.
- Mismatched data types: Trying to put an Integer or Item card into a Boolean Writer slot will do nothing. Always verify the color of the card's border matches the color of the slot or operator input you are trying to use.
FAQ
Does an Integrated Dynamics network require energy (RF/FE) to run?
By default, energy consumption is disabled in the mod's configuration file, meaning your networks run completely free. However, some modpacks enable energy usage; if yours does, simply attach an Energy Battery filled with power anywhere onto your Logic Cables.
Why do I have two cards that look identical, and how do I tell them apart?
You can hold Shift while hovering over any Variable Card in your inventory to see its exact data type, value, operator, and unique ID. For long-term organization, craft a Labeler to give your cards custom display names.
Can multiple Writers or Display Panels use the same Variable Card at the same time?
Since an item card can only physically sit in one slot at a time, you cannot put the exact same card into two different Writers. However, you can easily duplicate a Variable Card's reference by putting the original card into a crafting grid together with a blank Variable Card, or by using the 'Choice' / pipe operators in the Logic Programmer.
Where can I find a list of all Aspects and Operators?
Craft or open the in-game manual called 'On the Dynamics of Integration' (crafted with a book and Crystalized Menril Chunks). It includes a comprehensive appendix of every Reader, Writer, and Operator, along with interactive tutorials that reward you with free parts.
By combining Readers to observe the world, Variable Cards and the Variable Store to process logic, and Writers or Display Panels to demand output, you now have the core foundation needed to automate anything with Integrated Dynamics.