{
	"display": {
		"icon": {
			"id": "minecraft:tube_coral_block"
		},
		"title": {"translate":"Rebuilding the Oceans"},
		"description": {"color":"#75E1FF","translate":"Trade for a coral block from the Wandering Trader"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:adventure/florist",
	"rewards": {
		"function": "bacap_rewards:adventure/rebuilding_the_oceans"
	},		
	"criteria": {
		"tube_coral_block": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:tube_coral_block"
					]
				},
				"villager": {
					"entity_type": "wandering_trader"
				}
			}
		},
		"brain_coral_block": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:brain_coral_block"
					]
				},
				"villager": {
					"entity_type": "wandering_trader"
				}
			}
		},
		"bubble_coral_block": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:bubble_coral_block"
					]
				},
				"villager": {
					"entity_type": "wandering_trader"
				}
			}
		},
		"fire_coral_block": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:fire_coral_block"
					]
				},
				"villager": {
					"entity_type": "wandering_trader"
				}
			}
		},
		"horn_coral_block": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"item": {
					"items": [
						"minecraft:horn_coral_block"
					]
				},
				"villager": {
					"entity_type": "wandering_trader"
				}
			}
		}		
	},
	"requirements": [
		[
		"tube_coral_block",
		"brain_coral_block",
		"bubble_coral_block",
		"fire_coral_block",
		"horn_coral_block"
		]
	]
}
