VisibleJS
Make KubeJS recipe scripting simple and visual!
VisibleJS is a Minecraft Forge mod that provides an interactive recipe creation tool, allowing you to quickly generate KubeJS recipe scripts through an intuitive GUI without manually writing code.
Features
- 8 Recipe Types Supported: Shaped/Shapeless Crafting, Smelting, Blasting, Smoking, Campfire Cooking, Smithing, Stonecutting
- Vanilla UI Experience: Each recipe type uses the corresponding vanilla Minecraft UI texture for intuitive operation
- One-Click Script Generation: Fill in items and click the button to automatically generate standard KubeJS recipe code
- Automatic File Management: Generated scripts are automatically saved to the corresponding category files under
kubejs/server_scripts/ - Real-Time Recipe Preview: View generated script content instantly in-game
Usage
- Obtain the recipe_creator tool from the Creative Mode inventory
- Right-click with the tool to open the Recipe Editor
- Use the < > buttons at the top to switch recipe types
- Place input materials and output items following vanilla conventions
- Click the "Generate Script" button
- Scripts will be automatically saved to the corresponding file and displayed in the chat
Supported Recipe Types & Files
| Recipe Type | Save Location | Description |
|---|---|---|
| Shaped Crafting | crafting.js |
3x3 crafting table ordered recipe |
| Shapeless Crafting | crafting.js |
Any material combination recipe |
| Smelting | smelting.js |
Standard furnace recipe |
| Blasting | smelting.js |
Blast furnace fast smelting |
| Smoking | smelting.js |
Smoker cooking |
| Campfire Cooking | smelting.js |
Campfire slow cooking |
| Smithing | smithing.js |
1.20+ smithing recipe |
| Stonecutting | stonecutting.js |
Stonecutter processing recipe |
Requirements
- Minecraft 1.20.1
- Forge 47.3.10+
- KubeJS 2001.6.5+ (Optional but recommended for testing generated scripts)
Generation Examples
Shaped Crafting
ServerEvents.recipes(event => {
event.shaped('minecraft:diamond_pickaxe', [
'AAA',
' B ',
' B '
], {
A: 'minecraft:diamond',
B: 'minecraft:stick'
})
})
Smelting
ServerEvents.recipes(event => {
event.smelting('minecraft:iron_ingot', 'minecraft:raw_iron')
})
Installation
Simply place the mod file into your game's mods folder.
Author
mo_guang
Let recipe creation return to intuition, leave the tedious coding to VisibleJS!

