{
	"display": {
		"icon": {
			"id": "minecraft:note_block"
		},
		"title": {"translate":"Birthday Song"},
		"description": {"color":"#75E1FF","translate":"Have an Allay drop a cake at a note block"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:adventure/and_make_it_double",
	"rewards": {
		"function": "bacap_rewards:adventure/birthday_song"
	},		
	"criteria": {
		"allay_deliver_cake_to_note_block": {
			"trigger": "minecraft:allay_drop_item_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": [
								"minecraft:cake"
							]
						}
					},
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:note_block"
								]
							}
						}
					}
				]
			}
		}
	}
}