Mekatweaker Mod

Mekanism adds it’s fair share of chemicals, which you must have encountered while playing with it: Gases, Infuse Types, Pigments, and Slurries. MekaTweaker Mod (1.12.2) is a CraftTweaker add-on for adding Mekanism Gas and Infuser Type.

MekaTweaker Mod (1.12.2) - Mekanism Gas and Infuser Type 1

Features:

Gas

Show Spoiler

Gas a created with mods.mekatweaker.GasFactory

There are 2 methods to create a gas :

1) From an existing fluid :

import mods.mekatweaker.GasFactory;
import mods.mekatweaker.Gas;
var gas = GasFactory.createFromFluid(<liquid>);
gas.register();

2) From scratch :

#loader mekatweaker
import mods.mekatweaker.Gas;
import mods.mekatweaker.GasFactory;

var helium3 = GasFactory.createGas("helium3");
helium3.setIcon("blocks/helium3");
helium3.register();

Note that #loader mekatweaker is required.

You have a lot of method for modifying a gas :

Name of the gas:

gas.getUnlocalizedName() : String

gas.setUnlocalizedName(String) : void

Color (use in Mekanism GUI and pressurized pipes):

gas.getColor() : int

gas.setColor(int) : void

gas.isColorize() : boolean

gas.setColorize(boolean) : void

Create a liquid from gas (default: false):

gas.needFluid() : boolean

gas.setNeedFluid(boolean) : void

Create a bucket from liquid (default: true):

gas.needBucket() : boolean

gas.setNeedBucket(boolean) : void

Icon & IconFlowing (for liquid when place in the world):

gas.setIcon(string) : void

gas.setIconFlowing(string) : void

Register the gas:

gas.register() : void

Naming a gas:

MekaTweaker create a folder “resources/mekatweaker/lang/” in your modpack.

You will find a lang file (default en_us.lang) where you can add localized name like that :

gas.<unlocalized_name>=Gas Name

For our example, it would be :

gas.helium3=Helium3

Declaring texture for fluid create from gas:

You will find a file fluids.json into resources/mekatweaker/blockstates/

It already contains 2 examples:

{
	"forge_marker": 1,
	"variants": {
		"example_fluid": {
			"model": "forge:fluid",
			"custom": { "fluid": "example_fluid" }
		},
		"example_fluid_2": {
			"model": "forge:fluid",
			"custom": { "fluid": "example_fluid_2" }
		}
	}
}

You have to change example_fluid or example_fluid_2 or add more with the unlocalized name of your gas

{
	"forge_marker": 1,
	"variants": {
		"helium3": {
			"model": "forge:fluid",
			"custom": { "fluid": "helium3" }
		}
	}
}

Then you need to place your textures in the right folder, it is defined by the setIcon() and setIconFlowing() method.

For our example, you need to add an textures in the folder resources/mekatweaker/textures/blocks/ named “helium3.png

Infuser Type

Show Spoiler

It is the extra item that you add in the infuser like the redstone/diamond/carbon/etc

There are 4 steps for adding a new type:

1) Create the type

You must create a new zenscript file with a custom loader :

#loader mekatweaker

Then you can use the InfuserType :

#loader mekatweaker
mods.mekatweaker.InfuserType.addType("EMERALD");

2) Adding items that will be accept for filling type gauge

Must be in a script file without the custom loader

mods.mekatweaker.InfuserType.addTypeObject(<minecraft:emerald>, "EMERALD", 10);

Parameters  :

– The item is an IIngredient.

– EMERALD is your new types

– 10 is a quantity the item add into the machine (redstone add 10, compressed redstone add 80)

3) Add a texture

You can add a texture in the folder :

resources/mekatweaker/textures/blocks/infuse/<name>.png

in our example, it would be resources/mekatweaker/textures/blocks/infuse/emerald.png

4) Add a name

In the lang file (resources/mekatweaker/lang/en_us.lang), add this line :

infuse.<name>=<Name display>

Example :

infuse.emerald=Emerald

Next you can add your own recipes into the Metallurgic Infuser like this :

mods.mekanism.infuser.addRecipe("EMERALD", 10, <minecraft:iron_ingot>, <minecraft:nether_star>);

Requires:

Minecraft Forge

Resource Loader Mod

CraftTweaker Mod

Mekanism Mod

How to install:

How To Download & Install Mods with Minecraft Forge

How To Download & Install Fabric Mods

Don’t miss out today’s latest Minecraft Mods

MekaTweaker Mod (1.12.2) Download Links

For Minecraft 1.12.2

Forge version: Download from Server 1Download from Server 2

Mods

1.19.4 Mods

1.19.3 Mods

1.19.2 Mods

1.18.2 Mods

1.16.5 Mods

1.15.2 Mods

1.12.2 Mods

1.8.9 Mods

1.7.10 Mods

1.18.1 Mods

1.17.1 Mods

1.14.4 Mods

1.13.2 Mods

1.11.2 Mods

1.10.2 Mods

1.9.4 Mods

Minecraft Modpacks

1.19.4 Modpacks

1.19.3 Modpacks

1.19.2 Modpacks

1.18.2 Modpacks

1.16.5 Modpacks

1.12.2 Modpacks

1.7.10 Modpacks

Forge Mods

Fabric Mods

Quilt Mods

Resource Packs

1.19.4 Resource Packs

1.19.3 Resource Packs

1.19.2 Resource Packs

1.18.2 Resource Packs

1.16.5 Resource Packs

1.15.2 Resource Packs

1.12.2 Resource Packs

1.8.9 Resource Packs

1.7.10 Resource Packs

1.18.1 Resource Packs

1.17.1 Resource Packs

1.14.4 Resource Packs

1.13.2 Resource Packs

1.11.2 Resource Packs

1.10.2 Resource Packs

1.9.4 Resource Packs

Shaders

1.19.4 Shaders

1.19.3 Shaders

1.19.2 Shaders

1.18.2 Shaders

1.17.1 Shaders

1.16.5 Shaders

Maps

1.19.4 Maps

1.19.3 Maps

1.19.2 Maps

1.18.2 Maps

1.16.5 Maps

1.15.2 Maps

1.12.2 Maps

1.8.9 Maps

1.7.10 Maps

1.18.1 Maps

1.17.1 Maps

1.14.4 Maps

1.13.2 Maps

1.11.2 Maps

1.10.2 Maps

1.9.4 Maps

Data Packs

1.19.4 Data Packs

1.19.3 Data Packs

1.19.2 Data Packs

1.18.2 Data Packs

1.16.5 Data Packs

1.15.2 Data Packs

1.18.1 Data Packs

1.17.1 Data Packs

1.14.4 Data Packs

1.13.2 Data Packs

MCPE/Bedrock

Mods & Addons

MCPE 1.19 Add-ons

MCPE 1.19 Mods

Texture Packs

MCPE 1.19 Texture Packs

MCPE 1.19 Resource Packs

Maps

MCPE 1.19 Maps

Clients

MCPE 1.19 Clients

Mod Menu Clients

Shaders

MCPE 1.19 Shaders

Render Dragon Shaders

Launchers

Skin Packs

Clients

1.19.4 Clients

1.19.3 Clients

1.19.2 Clients

1.18.2 Clients

1.16.5 Clients

1.12.2 Clients

1.8.9 Clients

Launchers

1.19.4 Launchers

1.19.3 Launchers

1.19.2 Launchers

1.18.2 Launchers

1.16.5 Launchers

1.12.2 Launchers

1.7.10 Launchers

Seeds

1.19.4 Seeds

1.19.3 Seeds

1.19.2 Seeds

1.18.2 Seeds

Skins

Plugins

Bukkit Plugins

Spigot Plugins

Paper Plugins

Tutorials

Installation Guide

Mobs Wiki Guide

Seeds Wiki Guide

Biomes Wiki Guide

Status Effects Wiki Guide

Enchantments Wiki Guide

Materials Wiki Guide

Command Blocks

Versions

Backlinks