A utility mod for Minecraft 1.21.1 (NeoForge) that adds recipe editor workbenches with KubeJS code export capability.
- Visual Recipe Editor — place items in a 3x3 grid and get ready-to-use KubeJS code
- Shaped and Shapeless Recipes — switch with a single button
- Tag Support — Shift+click on a slot to toggle between specific item and tag
- Recipe Override — easily replace existing recipes with auto-generated ID
- Result Display — result item is displayed above the block for quick identification
- Addon API — extensible system for adding support for other recipe types
Note: This is an admin block, available only in creative mode or via commands.
- Get CraftJS Workbench in creative mode (CraftJS tab) or with
/give @s craftjs:craftjs_workbench - Place items in the 3x3 crafting grid
- Put the result in the slot on the right
- Select recipe type (Shaped/Shapeless)
- Toggle New/Override to replace existing recipes
- Use Shift+Click on slots to switch to tag mode if needed
- Click Copy — the code will be copied to clipboard
Shaped recipe:
ServerEvents.recipes(event => {
event.shaped(
Item.of('minecraft:diamond_pickaxe'),
[
'DDD',
' S ',
' S '
],
{
D: 'minecraft:diamond',
S: 'minecraft:stick'
}
)
})Shapeless recipe:
ServerEvents.recipes(event => {
event.shapeless(
Item.of('minecraft:flint_and_steel'),
[
'minecraft:iron_ingot',
'minecraft:flint'
]
)
})With tags:
ServerEvents.recipes(event => {
event.shaped(
Item.of('minecraft:chest'),
[
'PPP',
'P P',
'PPP'
],
{
P: '#minecraft:planks'
}
)
})Override existing recipe:
ServerEvents.recipes(event => {
event.shaped(
Item.of('minecraft:diamond_pickaxe'),
[
'DDD',
' S ',
' S '
],
{
D: 'minecraft:diamond',
S: 'minecraft:stick'
}
).id('minecraft:diamond_pickaxe')
})- Minecraft 1.21.1
- NeoForge 21.1.x
- (Optional) KubeJS for using generated recipes
- Install NeoForge for Minecraft 1.21.1
- Place the mod JAR file in the
modsfolder - Launch the game
See ADDON_DEVELOPMENT.md for detailed documentation on creating addons.
All Rights Reserved
BazZziliuS