{
	"display": {
		"icon": {
			"id": "minecraft:dead_brain_coral_block"
		},
		"title": {"translate":"No Reefing!"},
		"description": {"color":"dark_purple","translate":"Collect all colors of coral blocks, plants and fans (including dead ones)"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:biomes/just_a_sample",
	"rewards": {
		"function": "bacap_rewards:biomes/no_reefing"
	},		
	"criteria": {
		"tube_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:tube_coral"
						]
					}
				]
			}
		},
		"brain_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:brain_coral"
						]
					}
				]
			}
		},
		"bubble_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:bubble_coral"
						]
					}
				]
			}
		},
		"fire_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:fire_coral"
						]
					}
				]
			}
		},
		"horn_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:horn_coral"
						]
					}
				]
			}
		},
		"dead_tube_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_tube_coral"
						]
					}
				]
			}
		},
		"dead_brain_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_brain_coral"
						]
					}
				]
			}
		},
		"dead_bubble_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_bubble_coral"
						]
					}
				]
			}
		},
		"dead_fire_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_fire_coral"
						]
					}
				]
			}
		},
		"dead_horn_coral": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_horn_coral"
						]
					}
				]
			}
		},		
		"tube_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:tube_coral_fan"
						]
					}
				]
			}
		},
		"brain_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:brain_coral_fan"
						]
					}
				]
			}
		},
		"bubble_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:bubble_coral_fan"
						]
					}
				]
			}
		},
		"fire_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:fire_coral_fan"
						]
					}
				]
			}
		},
		"horn_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:horn_coral_fan"
						]
					}
				]
			}
		},
		"dead_tube_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_tube_coral_fan"
						]
					}
				]
			}
		},
		"dead_brain_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_brain_coral_fan"
						]
					}
				]
			}
		},
		"dead_bubble_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_bubble_coral_fan"
						]
					}
				]
			}
		},
		"dead_fire_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_fire_coral_fan"
						]
					}
				]
			}
		},
		"dead_horn_coral_fan": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_horn_coral_fan"
						]
					}
				]
			}
		},		
		"tube_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:tube_coral_block"
						]
					}
				]
			}
		},
		"brain_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:brain_coral_block"
						]
					}
				]
			}
		},
		"bubble_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:bubble_coral_block"
						]
					}
				]
			}
		},
		"fire_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:fire_coral_block"
						]
					}
				]
			}
		},
		"horn_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:horn_coral_block"
						]
					}
				]
			}
		},
		"dead_tube_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_tube_coral_block"
						]
					}
				]
			}
		},
		"dead_brain_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_brain_coral_block"
						]
					}
				]
			}
		},
		"dead_bubble_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_bubble_coral_block"
						]
					}
				]
			}
		},
		"dead_fire_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_fire_coral_block"
						]
					}
				]
			}
		},
		"dead_horn_coral_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:dead_horn_coral_block"
						]
					}
				]
			}
		}	
	}
}