promotional bannermobile promotional banner

KubeJS Generator

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

The KubeJS Generator Team

profile avatar
Owner
  • 2
    Followers
  • 2
    Projects
  • 24.2K
    Downloads

More from Zizazr