Back to mods
MekaJS project artwork

CurseForge · Minecraft mod

MekaJS

An addon for Mekanism that allow to create custom gases and infuser types with KubeJS

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MekaJS release should I use?

Updated 5 years ago
Latest stable file MekaJS-1.16.5-1.2.0
Game version 1.16.5, 1.16.4
Loader Forge

MekaJS-1.16.5-1.2.0 targets 1.16.5, 1.16.4 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. 2 required mods need a matching file.

Where it goes

Is MekaJS required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does MekaJS-1.16.5-1.2.0 need?

MekaJS-1.16.5-1.2.0. Change the file and its required mods may change too.

2 required mods need a matching file

Install Mekanism, KubeJS first, but 2 required mods have no matching file for this setup. Do not mix loader builds to force a match.

Mekanism Needed by MekaJS-1.16.5-1.2.0
required
No matching file
KubeJS Needed by MekaJS-1.16.5-1.2.0
required
No matching file

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add MekaJS without breaking your instance.

Built for MekaJS-1.16.5-1.2.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use MekaJS-1.16.5-1.2.0. It targets 1.16.5, 1.16.4 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Mekanism, KubeJS first, but 2 required mods have no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside MekaJS-1.16.5-1.2.0. It opens that exact file at the source.

About this project

What does MekaJS add?

This mod is no longer maintained

Use KubeJS Mekanism instead

This mod is an addon for Mekanism and Kubejs.

It allow you to create mekanisms customs gases and infuser types using KubeJS JavaScripts.

You don't really need to have advanced modding knowledge to use this mod, however you must know how to use KubeJS to make a basic script. For the rest you can just copy-paste the scripts below and adapt to your needs.

Custom Gases :

To create a custom Mekanism gas, you only need a registry name (the id of the gas if you prefer), the registryname must be lowercase and without spaces and special characters (underscore and numbers are allowed).

You will also need to specify a color for the gas (if you don't the gas will be black), the color is in integer format (see this, the color you need is the "MapInfo Color").

Optionally, you can specify a custom texture for the gas (when displayed in jei or machines gui), remember that the color will be applied over the texture. You can add the texture in the kubejs folder under assets.

Example :

onEvent('gas.registry', event => {
event.create("test_gas").color(16711688).texture("kubejs:gases/test_gas_texture.png")
})

This will create a gas with a registry name of "test_gas", color full red and the texture dropped in kubejs/assets/kubejs/textures/gases/test_gas_texture.png
Note the texture is optional and if not specified the default fluid texture will be used.
Remember to add "gas.kubejs.test_gas":"Test Gas" in kubejs/assets/lang/en_us.json otherwise the in game name of the gas will be "gas.kubejs.test_gas".

Custom Infuse Types :

To create a custom Mekanism infuse type, you only need a registry name (the id of the gas if you prefer), the registryname must be lowercase and without spaces and special characters (underscore and numbers are allowed).

You will also need to specify a color for the infuser type (if you don't the gas will be black), the color is in integer format (see this, the color you need is the "MapInfo Color").

Optionally, you can specify a custom texture for the infuser type (when displayed in jei or machines gui), remember that the color will be applied over the texture. You can add the texture in the kubejs folder under assets.

Example :
onEvent('infuse_type.registry', event => {

event.create("test_infuse_type").color(16711688).texture("kubejs:infuse_types/test_infuse_type_texture.png")

})

This will create a gas with a registry name of "test_infuse_type", color full red and the texture dropped in kubejs/assets/kubejs/textures/infuse_types/test_infuse_type_texture.png
Note the texture is optional and if not specified the default infuser type texture will be used.
Remember to add "gas.kubejs.test_infuse_type":"Test Infuser Type" in kubejs/assets/lang/en_us.json otherwise the in game name of the gas will be "gas.kubejs.test_infuse_type".

Issues :

If you have any issues using this mod, please report them in the MekaJS github issue tracker.

Permissions :

You are allowed to use this mod in any modpack as long as you download it from this website and don't repost it elsewhere.

Project description from CurseForge.

Pick your setup

MekaJS by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MekaJS versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.