{
    "parent": "minecraft:adventure/root",
    "rewards": {
  		"recipes": [
         	"unicopia:spellbook"
    	]
  	},
    "display": {
        "icon": {
            "item": "unicopia:spellbook"
        },
        "title": {
            "translate": "advancements.adventure.unicopia_beginning.title"
        },
        "description": {
            "translate": "advancements.adventure.unicopia_beginning.description"
        }
    },
    "criteria": {
        "gem": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {
    			"items": [
    				{ "item": "unicopia:gem" }
    			]
    		}
        },
        "curse": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {
    			"items": [
    				{ "item": "unicopia:corrupted_gem" }
    			]
    		}
        }
    },
    "requirements": [ [ "gem", "curse" ] ]
}