Recipe

Power Type.

Allows a player with this power to use the defined crafting recipe.

Type ID: origins:recipe

Fields

Field Type Default Description
recipe Crafting Recipe The recipe to craft, including an id field which can be any arbitrary (but unique) identifier.

Example

{
    "type": "origins:recipe",
    "recipe": {
        "id": "origins:master_of_webs/web_crafting",
        "type": "minecraft:crafting_shapeless",
        "ingredients": [
            {
                "item": "minecraft:string"
            },
            {
                "item": "minecraft:string"
            }
        ],
        "result": {
            "item": "minecraft:cobweb"
        }
    }
}

This power allows players to craft cobweb by combining two strings in a crafting grid.