Get the files on 9Minecraft
How do I create my first script?
You'll need a Script item and a text editor (in-game or external). Write your script using the mod's scripting language, then load it into the Script item. The guides section has a walkthrough for calculating average power consumption as a beginner example.
What's the difference between writing scripts inside the game vs. outside?
External scripts (written in a text editor outside Minecraft) are easier to share and edit, while in-game scripts let you test and iterate without reloading. Both approaches work the same once loaded into the mod.
Can I use scripts with Integrated Tunnels exporters and importers?
Yes, you can create predicate filter scripts that control what items get exported or imported based on custom conditions. The mod includes a guide for setting this up.
How do I calculate average, median, or standard deviation in a script?
The mod provides built-in functions for these statistical operations. You pass a list or stream of values to the appropriate function, and it returns the result—see the statistical values guide for examples.
Can scripts read information from Integrated Dynamics cables and devices?
Yes, scripts can query data from connected Integrated Dynamics networks, allowing you to read values like power consumption, item counts, or fluid levels for complex calculations.
What happens if my script has an error?
The script will fail to execute and typically display an error message in the Script item's interface or logs. Check your syntax and variable names against the mod's documentation.
Can I use scripts to determine how fast my tool breaks blocks?
Yes, the mod includes a function to calculate block break speed based on your current tool and the target block. This is useful for automation planning.
Does this mod work with other mods besides Integrated Dynamics?
Integrated Scripting Mod is designed as an extension for Integrated Dynamics, so it requires that mod. Compatibility with other mods depends on whether they integrate with Integrated Dynamics itself.
How do I monitor power consumption over time with a script?
You can write a script that samples power values at intervals and calculates the average, then display or log the result. The mod's first guide walks through this exact use case.
Can I save and reuse scripts I've written?
Yes, external scripts can be saved as files and shared with other players, or kept in a folder for your own reuse. In-game scripts are stored in Script items and can be copied.
What does the Integrated Scripting Mod do?
It adds script support to Integrated Dynamics , letting you handle complex operations that would be difficult with standard logic networks. Scripts are written in JavaScript and can be stored in Variable Cards for use in your network.
What items and blocks does Integrated Scripting add?
It registers
mendesite , the
part terminal scripting , the
scripting disk , and the
scripting drive . The Scripting Terminal is the main addition, offering an editor for writing scripts.
mendesite , the
part terminal scripting , the
scripting disk , and the
scripting drive . The Scripting Terminal is the main addition, offering an editor for writing scripts.What mods does Integrated Scripting require?
It requires the Cyclops Core library and Integrated Dynamics .
Which Minecraft versions and mod loaders does Integrated Scripting support?
It supports Forge and NeoForge, on Minecraft versions 1.21.10, 1.21.11, 26.1.1, 26.1.2, 26.2, and 26.3.
What language are Integrated Scripting scripts written in?
Scripts are written in the JavaScript language. They are executed by the Graal.JS JavaScript engine running on the Graal VM.
How do I store and use scripts in my Integrated Dynamics network?
Scripts can be stored in Variable Cards for usage in the rest of your Integrated Dynamics network. Script members such as variables and functions can be bound to variables and used anywhere in the connected network like any other variable.
What can I calculate with Integrated Scripting?
You can calculate statistics such as median, standard deviation, and average values. It can also show average power consumption over a period, such as during the last minute.
Can Integrated Scripting create filters for Integrated Tunnels?
Yes, it can easily create predicate filters for Integrated Tunnels exporters and importers.
Can I share my Integrated Scripting scripts with others?
Yes, scripts can be shared by copy-pasting inside and outside of the game. If you have direct access to your world files, script files can also be edited externally through your favorite IDE.
Where can I find documentation for Integrated Scripting?
The mod provides in-game documentation and tutorials through the 'On the Dynamics of Integration' book from Integrated Dynamics .
