Skip to content

Crafting Recipe

Provides a crafting recipe that can only be crafted by the player holding the power.

Type ID: kaya:crafting_recipe

Format

Field Type Default Description
recipe Crafting Recipe Entry The crafting recipe to provide.
priority Integer 0 Determines the order of which recipes of this type will be prioritized.
About priorities

If multiple instances of this type has the same recipe identifier, the instance that has the highest priority value will have its recipe provided.

Example

{
    "type": "kaya:crafting_recipe",
    "recipe": {
        "id": "example:epic_cookie",
        "type": "minecraft:crafting_shapeless",
        "ingredients": [
            "minecraft:cookie",
            "minecraft:diamond"
        ],
        "result": {
            "id": "minecraft:golden_apple"
        }
    }
}

This example provides a shapeless crafting recipe where a Golden Apple can be crafted by placing a cookie and a diamond in the crafting grid.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.