跳到正文

KubeJS TFMG

作者:Wolfieboy09

为《Create: The Factory Must Grow》提供 KubeJS 集成。

收藏

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

机械动力:TFMG 的 KubeJS 集成。可用于创建以下配方:

  • 浇铸
  • 焦化
  • 蒸馏
  • 工业高炉
  • 极化
  • 绕线
  • 大桶配方

CurseForge: CurseForge 下载量

Modrinth: Modrinth 下载量

以下是这些配方的实际示例:

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)
})

请注意:未来还会推出更多功能。

常见问题

KubeJS TFMG 支持哪些 Minecraft 版本?

KubeJS TFMG 支持 Minecraft Java 版 1.19.2–1.21.1,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

KubeJS TFMG 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Wolfieboy09 的其他作品

查看全部 →