Download KubeJS TFMG — Minecraft Mods — MetaMods

KubeJS TFMG

Active

Downloads

0

Last update

1 month ago

Versions

1.19.2 — 1.20.1
Client and server
Forge
Neoforge
Libraries
Technological
Addons

KubeJS TFMG Integration

This addon provides integration between KubeJS and the Create: The Factory Must Grow modification, opening access to create custom recipes for five production processes.

Available Recipe Types

  • Casting - working with liquids and obtaining solid items
  • Coking - resource transformation with solid and liquid products
  • Distillation - liquid separation into several components
  • Industrial Blasting - high-temperature material processing
  • Polarizing - using energy to change material properties

Recipe Creation Examples

ServerEvents.recipes(event => {
    // Casting: supports one fluid type as input and up to three output items
    // Last parameter ("100") - processing time in ticks
    // This recipe turns lava into cobblestone
    event.recipes.tfmg.casting(Fluid.of("minecraft:lava", 1), ["minecraft:cobblestone"], 100)

    // Coking: uses one input item
    // Second parameter must contain one item and one fluid (TFMG feature)
    // This example creates dirt and water from mud
    event.recipes.tfmg.coking("minecraft:mud", ["minecraft:dirt", Fluid.of("minecraft:water", 5)], 100)

    // Distillation: one input item and up to 6 output fluids
    // Example separates water into water and lava in specific proportions
    event.recipes.tfmg.distillation(Fluid.of("minecraft:water", 500), [Fluid.of("minecraft:water", 400), Fluid.of("minecraft:lava", 100)])

    // Industrial Blasting: one input item and up to two output fluids
    // Here dirt turns into water and lava
    event.recipes.tfmg.industrial_blasting("minecraft:dirt", [Fluid.of("minecraft:water", 300), Fluid.of("minecraft:lava", 200)], 1)

    // Polarizing: one input item, one output item
    // Third parameter determines required FE energy amount
    // Here mud is created from dirt using 400 energy units
    event.recipes.tfmg.polarizing("minecraft:dirt", "minecraft:mud", 400)
})

Important: New features and functionality improvements are planned for the future.

Project members
Wolfieboy09

Wolfieboy09

Developer

Created: 5 Dec 2024

ID: 65754