Mineuniverse
Log in Register
Mods

MultiblockJS

A custom multiblock mod
by 117458866249
Download Claim this project
220 downloads
0 likes
Updated Jul 6, 2026
0 hypes
KubeJS

You can use this mod to customize multiblock structures with KubeJS and add recipes for them.

#How to use

If you wan to use,create a multiblock controller
```
StartupEvents.registry('block',event=>{
    event.create('kubejs:test_controller','multiblockjs:controller')
})
```
Then create your structure
```
MjsEvents.definition(event=>{
    //                Structure ID   Controller
    //                 |              |
    //                 v              v
    event.addStructure('port_test_1','kubejs:test_controller',[
    
        // The part of the multiblock uses relative coordinates
        [0,1,0,'minecraft:stone'],
        [1,1,0,'minecraft:stone'],
        [-1,1,0,'minecraft:stone'],
        [1,0,0,'kubejs:test_item_port'],
        [-1,0,0,'kubejs:test_item_port']
    ])
})
```
If you want to obtain relative coordinates, place the Controller at 0,0,0. At this time, the coordinates of each block in the world are the relative coordinates.

You can use port to parse recipe
.setSize() is the number of slots
```
StartupEvents.registry('block',event=>{
    event.create('kubejs:test_item_port','multiblockjs:item_port')
        .setSize(2)
})
```

Then add recipe
It is also relative coordinates
```
MjsEvents.recipe(event=>{
    event.addRecipe('kubejs:test_controller',20,[
        [
            "item",
            "input",
            1,0,0,
            'minecraft:iron_ingot',1
        ],
        [
            "item",
            "output",
            -1,0,0,
            'minecraft:copper_ingot',2
        ]
    ])
    event.addRecipe('kubejs:test_controller',200,[
        [
            "item",
            "input",
            1,0,0,
            'minecraft:copper_ingot',1
        ],
        [
            "item",
            "output",
            -1,0,0,
            'minecraft:gold_ingot',2
        ]
    ])
})
```

multiblockjs-1.1.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-06-18 Get

More from 117458866249

Masterful Machinery Reload
907
Create: Auto Track
5,406
Multiblock Lib 1174
13

You Might Also Like

Theurgy KubeJS
Theurgy KubeJS provides KubeJS integrations for Theurgy.
9,503,452
EntityJS
This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!
8,731,173
KubeJS TFC
KubeJS TFC integration
919,127
Forbidden Arcanus JS
Forbidden and Arcanus kubejs Compatibility
97,097
Immersive Engineering JS
kubejs compat for ie
94,624
KubeJS REI Runtime
Allows KubeJS to hide and show items from REI dynamically
89,244