{
	"display": {
		"icon": {
			"id": "minecraft:allay_spawn_egg"
		},
		"title": {"translate":"Allayance"},
		"description": {"color":"green","translate":"Rescue an Allay from a Pillager Outpost or Woodland Mansion and give it something to play with"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:adventure/out_of_posts",
	"rewards": {
		"function": "bacap_rewards:adventure/allayance"
	},		
	"criteria": {
		"allay": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"entity_type": "minecraft:allay"
						},
						"entity": "this"
					}
				]
			}
		}
	}
}
