KubeJS Generator
by Zizazr
Players who script recipes by hand can build them in a graphical editor inside KubeJS Generator, opened in-game with the K key.
What it does
Players open the editor from the game and pick a recipe type, then fill in slots by clicking them and setting the item or tag, fluid, count and chance. Parameters for the chosen recipe sit in a side panel. When the recipe is finished, the export step checks the generated files and writes them as KubeJS scripts, so the result can be edited by hand afterward.
The layout describes slot positions and decorations, and a template string with slot and param placeholders tells the generator how to produce Java code for the type, hooked into the RegisterRecipeTypesEvent on the mod bus. The project is described as a development tool for modpack authors, server operators and anyone building custom recipes, and the full addon API reference is on its GitHub page. The mod requires KubeJS. Create, Mekanism and MoreJS: KubeJS Addon are optional companions that extend recipe support.
Key features
Visual recipe editor
Recipes are built in a graphical editor instead of by writing script text, with a search for the recipe type.
Slot-based input
Each slot takes an item or tag, a fluid, a count and a chance, set by clicking the slot in the editor.
Script export
The export step writes the finished recipes as KubeJS script files after showing the generated output for checking.
Custom recipe types
A JSON layout file lets third-party mods and datapacks add new recipe types with their own slots and parameters.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 3
Questions
Does KubeJS Generator need KubeJS?
Does the server need KubeJS Generator installed?
Which loader and version pairs does KubeJS Generator support?
Can a new mod add its own recipe type to the editor?
In the catalog
KubeJS Generator is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 32,366 mods support Minecraft 1.21.1.
Similar mods
What the author says
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. Third-party mods or datapacks can register their own recipe types by dropping a JSON layout file under assets/ /kjsgen_layouts/ (slot positions…
Official listing
- Modrinth page
- modrinth.com/mod/kjsgen
- Owner
- Zizazr
- Published
- 2026-07-13
- Updated on Modrinth
- 2026-08-29
- Facts verified
- 2026-10-15
