Create: TFMG integration for KubeJS. It allows you to create the current recipes:
- Casting
- Coking
- Distillation
- Industrial Blasting
- Polarizing
- Winding
- Vats
CurseForge:
Modrinth:
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.
How to Install KubeJS TFMG (Mod)
KubeJS TFMG by Wolfieboy09 is verified for Forge, Neoforge across Minecraft versions 1.19.2, 1.20.1, 1.21.1 (latest release: 1.21.1-1.2.1, file size: 257 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19.2, 1.20.1, 1.21.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded KubeJS TFMG file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Fixes a recipe issue with industrial blasting
- Engine Fuel Registration
- Flamethrower Fuel Registration
- Electrode Registration
- Mixer Mode Registration
- Vat Operation Registration
- Bug fixes
- And more!
- Change to use TFMG: CE
1.3.0 - VAT operations can now be created
- Mixers can now be created
- Recipes are now fixed for TFMG: CE
- Add
event.recieps.tfmg.vatshorthand forevent.recipes.tfmg.vat_machine_recipe
- Accidentally forced it on
21.1.233only. Now it's `21.1.233 and above
- Compatible with TFMG Versions
1.2.0and1.2.2(and above) - Switch over to recipe JSON schemas
- Add support for vat pressure (
1.2.2and above only)
The embarrassing patch
- Update for TFMG 1.0
- Wiki update: https://kubejs.com/wiki/addons/kubejs-tfmg