{
    "parent": "minecraft:recipes/root",
    "criteria": {
        "has_quartz": {
            "conditions": {
                "items": [
                    {
                        "items": "minecraft:quartz"
                    }
                ]
            },
            "trigger": "minecraft:inventory_changed"
        },
        "has_the_recipe": {
            "conditions": {
                "recipe": "minecraft:observer"
            },
            "trigger": "minecraft:recipe_unlocked"
        }
    },
    "requirements": [
        [
            "has_the_recipe",
            "has_quartz"
        ]
    ],
    "rewards": {
        "recipes": [
            "minecraft:observer",
            "terralith:observer_alt"
        ]
    }
}