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
- Press
Kin-game to open the editor. - + Add Recipe to pick a recipe type
- 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
- Set recipe parameters on the side panel
- 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

