介绍
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 |
3×3 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!
常见问题
VisibleJS 支持哪些 Minecraft 版本?
VisibleJS 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
VisibleJS 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
moguang 的其他作品
查看全部 →Create: New Horizon
一个包含 GregTechCEu Modern 和机械动力的大型整合包。
CTNH Core
Create: New Horizon 整合包模组
Jack’s Economy-CTNHfork
Jack's Economy 的非官方分支,可能兼容 Create 6.0。
CTNH Bio
A mod for the compability between biomancy and Gregtech Modern
评论
登录后评论和评分