Home›Java›Mods›KubeJS TFMG
KubeJS TFMG
ModsJava

KubeJS TFMG

Java mod listed for Minecraft 1.19–1.21. Downloads from the MC Java Mods app on Android.

by Wolfieboy09 · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1 · NeoForge⬇ Download for 1.20.1 · Forge⬇ Download for 1.19.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Create: TFMG intergration for KubeJS. It allows you to create the current recipes:

CurseForge: CurseForge Downloads
Modrinth: Modrinth Downloads

If you have an issue related to this addon, PLEASE read:

If you find an issue with this addon, please report it to the issues section (https://github.com/wolfieboy09/KubeJS-TFMG/issues) and not the TFMG Discord server. I can't help you in there.

Examples of the recipes in action:

ServerEvents.recipes(event => {
    // Casting supports ONE input fluid, up to THREE item outputs.
    // The last argument (the "100" at the end) is processing time in ticks
    // This recipe generates cobblestone from lava in the cast
    event.recipes.tfmg.casting(Fluid.of("minecraft:lava", 1), ["minecraft:cobblestone"], 100)

    // Coking supports ONE input item.
    // NOTE: Second argument must be one item and one fluid. (TFMG thing)
    // The last argument (the "100" at the end) is processing time in ticks
    // This recipe uses mud to create dirt and water
    event.recipes.tfmg.coking("minecraft:mud", ["minecraft:dirt", Fluid.of("minecraft:water", 5)], 100)

    // Distillation supports ONE input item, and up to 6 output fluids.
    // This example uses 500 mB of water to create 400 mB of water and 100 mB of lava
    event.recipes.tfmg.distillation(Fluid.of("minecraft:water", 500), [Fluid.of("minecraft:water", 400), Fluid.of("minecraft:lava", 100)])

    // Industrial Blasting supports ONE input item, and up to TWO fluid outputs.
    // This example uses dirt to make 300mB of water and 200mB of lava
    event.recipes.tfmg.industrial_blasting("minecraft:dirt", [Fluid.of("minecraft:water", 300), Fluid.of("minecraft:lava", 200)], 1)

    // Polarizing supports ONE input item, and ONE output item.
    // NOTE: Third argument is the amount of FE (energy) the recipe needs/uses
    // This example makes one mud from dirt with 400 FE
    event.recipes.tfmg.polarizing("minecraft:dirt", "minecraft:mud", 400)
})

Remember: More features will be released in the future.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more