
MekaJS Mod allows you to create mekanisms customs gases and infuser types using KubeJS JavaScripts. This mod is an addon for Mekanism and Kubejs. 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.

Features:
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.
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.
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”.
MekaJS Mod Download Links
For Minecraft 1.16.5
Forge version: Download from Server 1 – Download from Server 2
For Minecraft 1.15.2
Forge version: Download from Server 1
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.16.5
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: In MC Java Mods, or directly above on this page.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Downloads as 197285.mcaddon
- Download size: 8 KB
- Download link checked 26 Jul 2026 — working
- Mirrored on our own servers — the download does not depend on the original host
These come from our own check of the pack file, not from the source page.