跳到正文

KubeJS Generator

作者:Zizazr

Edit recipes in the GUI and export them to KubeJS scripts

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

KubeJS Generator

A visual recipe editor that writes KubeJS scripts

This is a development tool, intended for modpack authors and
server operators building custom recipes. It does not add any content or
gameplay changes on its own.

Supported recipe types

Mod Recipe types
Minecraft Shaped Crafting, Shapeless Crafting, Smelting, Blasting, Smoking, Campfire Cooking, Stonecutting, Smithing (Transform/Trim), Potion Brewing¹
Create Crushing, Milling, Mixing, Compacting, Pressing, Cutting, Deploying, Filling, Emptying, Splashing, Haunting, Sandpaper Polishing, Mechanical Crafting, Sequenced Assembly
Mekanism Enriching, Crushing, Compressing, Combining, Purifying, Sawing, Smelting, Injecting, Oxidizing, Dissolution, Crystallizing, Chemical Infusing, Metallurgic Infusing, Energy Conversion

¹ Requires the MoreJS addon.

How it works

  1. Press K in-game to open the editor.
  2. + Add Recipe to pick a recipe type
  3. Click a slot to search or type an id, set a tag/fluid, count, chance, or
    data components. Right-click a slot to clear it
  4. Set recipe parameters on the side panel
  5. Hit Export and review the generated files, then write them to
    kubejs/server_scripts/.

Adding your own recipe types

Third-party mods or datapacks can register their own recipe types by dropping a JSON layout file under
assets/<namespace>/kjsgen_layouts/ (slot positions, decorations, and a
template string with {slot:KEY} / {inputs} / {outputs} / {param:KEY}
placeholders), or by firing a Java codegen handler off
RegisterRecipeTypesEvent on the mod bus. See the project GitHub for the
full addon API reference

常见问题

KubeJS Generator 支持哪些 Minecraft 版本?

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

KubeJS Generator 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Zizazr 的其他作品

查看全部 →