HomeJavaModsRecipe Stages JS
Recipe Stages JS
Recipe Stages JS — screenshot 1Recipe Stages JS — screenshot 2Recipe Stages JS — screenshot 3Recipe Stages JS — screenshot 4

KubeJS adds a stage limit to crafting that limits the player's progress in crafting, which is only valid for crafting tables

ServerEvents.recipes(event => {
    //Item ID 
    RecipeStaging.stageRecipe('diamond', 'minecraft:diamond_block')
    RecipeStaging.stageRecipes('diamond', [
        'minecraft:diamond', 
        'minecraft:diamond_axe'])
   //Recipe ID 
    RecipeStaging.stageItem('diamond', 'minecraft:diamond_block')
    RecipeStaging.stageItems('diamond', [
        'minecraft:diamond',
        'minecraft:diamond_axe',
    ])
})

command:

/stage add   
/stage clear    
/stage list    
/stage remove    
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more