Modern Industrialization Multiblock Editor

Quick rating

Community listing page, reviews here may not be monitored by the author.

Modern Industrialization Multiblock Editor

By Atmos Studio , twshch

No reviews yet

Customize Modern Industrialization multiblocks with KubeJS

Mod Loaders
Minecraft

About

Description

MI Multiblock Editor

is a KubeJS-powered tool for modpack developers that allows you to replace and customize the structures of existing Modern Industrialization multiblock machines without creating a separate addon for every change.

Multiblock layouts are defined directly in KubeJS startup scripts. You can assign normal blocks, block tags, exact block states, hatch-compatible positions, and multiple structure variants for machines with different tiers or configurations.

The mod includes dedicated support for more complex Modern Industrialization multiblocks such as the Electric Blast Furnace, Distillation Tower, Large Tank, Nuclear Reactor, Steam Boilers and Fusion Reactor, as well as compatibility with selected machines from Extended Industrialization, Industrialization Overdrive and Yet Another Industrialization!.

MI Multiblock Editor is designed primarily for modpack authors who want full control over machine structures while keeping the original machines, recipes and mechanics intact.

Example

Place the script in:

kubejs/startup_scripts/

For example, this replaces the structure of the Vacuum Freezer:

MIMultiblocks
    .create('example:vacuum_freezer')
    .controller(
        'modern_industrialization:vacuum_freezer'
    )
    .hatchCasing(
        'modern_industrialization:frostproof_machine_casing'
    )

    .layer([
        'ABA',
        'A#A',
        'ACA'
    ])

    .layer([
        'AAA',
        'A A',
        'AAA'
    ])

    .layer([
        'AAA',
        'AAA',
        'AAA'
    ])

    .mappingBlock(
        'A',
        'modern_industrialization:frostproof_machine_casing',
        [
            'modern_industrialization:item_input',
            'modern_industrialization:item_output',
            'modern_industrialization:fluid_input',
            'modern_industrialization:fluid_output',
            'modern_industrialization:energy_input'
        ]
    )

    .mappingTag(
        'B',
        'minecraft:logs',
        'minecraft:oak_log',
        []
    )

    .mappingState(
        'C',
        'minecraft:oak_log[axis=y]',
        []
    )

    .register();

In a structure:

  • # marks the controller.
  • Spaces are ignored positions.
  • .mappingBlock() accepts a block and optionally allows specific hatch types in its place.
  • .mappingTag() accepts any block from a tag and specifies a block used for the structure preview.
  • .mappingState() requires an exact block state.
  • .variant() can be used for machines with multiple structure tiers or configurations.
  • .requiresMod() allows scripts to safely define structures for optional addon mods.

Because the API is registered during the KubeJS startup phase, changes to these scripts require a full game restart.

MI Multiblock Editor

MI Multiblock Editor is a NeoForge addon for Modern Industrialization that allows modpack developers to replace and customize existing multiblock structures using KubeJS startup scripts.

It is designed for modpacks that want to redesign machine structures without reimplementing the machines themselves.

Features

  • Replace existing Modern Industrialization multiblock structures.
  • Define custom structures layer by layer.
  • Map positions to blocks, block tags, and exact block states.
  • Configure MI hatch-compatible positions.
  • Create multiple structure variants and tiers.
  • Use .requiresMod(...) for optional addon compatibility.
  • Synchronize supported runtime structures with recipe-viewer displays.
  • Dedicated support for special multiblocks with custom runtime logic.

Quick Example

Create a file inside:

kubejs/startup_scripts/

For example:

MIMultiblocks
    .create('example:vacuum_freezer')
    .controller('modern_industrialization:vacuum_freezer')
    .hatchCasing('modern_industrialization:frostproof_machine_casing')
    .layer([
        'AAA',
        'A#A',
        'AAA'
    ])
    .mappingBlock(
        'A',
        'modern_industrialization:frostproof_machine_casing',
        [
            'modern_industrialization:item_input',
            'modern_industrialization:item_output',
            'modern_industrialization:fluid_input',
            'modern_industrialization:fluid_output',
            'modern_industrialization:energy_input'
        ]
    )
    .register();

A full game restart is required after changing startup scripts.

Supported Special Multiblocks

Modern Industrialization

  • Electric Blast Furnace
  • Distillation Tower
  • Large Steam Boilers
  • Large Tank
  • Nuclear Reactor
  • Fusion Reactor

Extended Industrialization

  • Steam Farmer
  • Electric Farmer
  • Large Electric Furnace
  • Processing Array
  • Tesla Tower

Industrialization Overdrive

  • Multi Processing Array
  • Pyrolyse Oven

Yet Another Industrialization

  • Arboreous Greenhouse
  • Flight Pylon
  • Large Storage Unit
  • Nuclear Rod Irradiator

The addon mods above are optional dependencies.

Examples

Complete working KubeJS examples are available on GitHub:

Multiblock Examples

The examples include dedicated scripts for special machines such as the Electric Blast Furnace, Distillation Tower, Large Tank, Tesla Tower, Flight Pylon, Large Storage Unit, and other supported multiblocks.

Documentation

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.228+
  • Modern Industrialization 2.5.5–2.5.x
  • KubeJS 2101.7.2+
  • Java 21

License

MI Multiblock Editor is licensed under the MIT License.