{
    "__comment": "Made by Rav115",
    "display": {
        "title": {"text": "Magic Missile! (Quest)"},
        "description": {"text": "Obtain 1x Spider's Eye.  Reward: 30 Exp, 1x Magic Missile Spell."},
        
        "icon": {"item": "minecraft:spider_eye"},
        "frame": "challenge",
        
        "show_toast": true,
        "announce_to_chat": true,
        "hidden": false
    },
    "criteria": {
        "darkrpg_magic_missile": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {"items": [
                    {
                        "items": ["minecraft:spider_eye"],
                        "count": {
                            "min": 1
                        }
                    }
                ],
				"player": {"type_specific": {"type": "player","advancements": {"darkrpg_magic:initiate_wand": "true"}}}
            }
        }
    },
    "rewards": {
        "function": 
            "darkrpg_magic:magic_missile"
        ,
		"experience": 30
    },
    "parent": "darkrpg_magic:initiate_wand"
}
