Skip to content

KubeJS Recipe Registration

BradleyPlaysTTV edited this page Jun 4, 2026 · 2 revisions

I will not be going into a full breakdown on this page. Please refer to Recipe Structure

Example recipe

ServerEvents.recipes(event => {
    let recipeJson = {
        type: "worldtransformations:world_transform",
        item: {
            item: 'minecraft:cobblestone'
        },
        transformTime: 20,
        fluid: 'minecraft:water'
        result: [
            id: 'minecraft:gravel',
            count: 1
        ]
    }

    event.custom(recipeJson).id('cobble_to_gravel_in_water')
})

Clone this wiki locally