Skip to content

KubeJs Addition

KJSAddition is a small client-side helper for Forge 1.20.1 modpacks(Extended Crafting,Botania altar crafts)

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

KJSAddition is a small client-side helper for Forge 1.20.1 modpacks. It looks at a real crafting table in the world, reads the items you placed there, and turns them into a KubeJS recipe snippet.

The goal is simple: instead of manually rewriting a 9x9 or 11x11 grid into JavaScript, you build the recipe in-game, scan it, and get ready-to-edit KubeJS code in your clipboard and in a generated file.

Features

  • Generates Extended Crafting recipes:
    • shaped_table
    • shapeless_table
    • regular 3x3, 5x5, 7x7, 9x9, and 11x11 tables
    • auto table variants when the block exposes a compatible inventory
  • Detects the recipe tier from the filled grid size.
  • Trims empty borders so shaped recipes stay compact.
  • Lets you choose the output item by holding it in your main hand after scanning.
  • Falls back to a minecraft:barrier TODO output if no result is selected within 10 seconds.
  • Copies the generated recipe to your clipboard.
  • Appends recipes to a KubeJS file without duplicating existing entries.
  • Preserves NBT on outputs and ingredients with Item.of(...).
  • Handles extendedcrafting:singularity with its Id NBT.
  • Generates item IDs by default, not forge tags. Tags can still be enabled manually.

    Commands

    /recipemaker scan
     

    Starts a 10-second scan window. For Extended Crafting, open the table and look at it. For Botania, sneak and right-click a Runic Altar.

    /recipemaker cancel
     

    Cancels the active scan.

    /recipemaker status
     

    Shows the current recipe mode and tag setting.

    /recipemaker mode shaped
    /recipemaker mode shapeless
     

    Switches between shaped and shapeless recipe output.

    /recipemaker tags on
    /recipemaker tags off
     

    Enables or disables tag-based ingredients. The default is off, so generated recipes are direct and predictable.

    Output Files

    Extended Crafting:

    kubejs/kjsadditions/generated_recipes.js
    
     

    Botania:

    kubejs/kjsadditions/generated_botania_recipes.js