{
	"display": {
		"icon": {
			"id": "minecraft:magenta_bed"
		},
		"title": {"translate":"Rainbow Dreams"},
		"description": {"color":"#75E1FF","translate":"Craft every color of bed"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:building/change_of_sheets",
	"rewards": {
		"function": "bacap_rewards:building/rainbow_dreams"
	},		
	"criteria": {
		"white_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:white_bed"
						]
					}
				]
			}
		},
		"orange_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:orange_bed"
						]
					}
				]
			}
		},
		"magenta_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:magenta_bed"
						]
					}
				]
			}
		},
		"light_blue_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:light_blue_bed"
						]
					}
				]
			}
		},
		"yellow_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:yellow_bed"
						]
					}
				]
			}
		},
		"lime_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:lime_bed"
						]
					}
				]
			}
		},
		"pink_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:pink_bed"
						]
					}
				]
			}
		},
		"gray_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:gray_bed"
						]
					}
				]
			}
		},
		"light_gray_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:light_gray_bed"
						]
					}
				]
			}
		},
		"cyan_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:cyan_bed"
						]
					}
				]
			}
		},
		"purple_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:purple_bed"
						]
					}
				]
			}
		},
		"blue_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:blue_bed"
						]
					}
				]
			}
		},
		"brown_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:brown_bed"
						]
					}
				]
			}
		},
		"green_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:green_bed"
						]
					}
				]
			}
		},
		"red_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:red_bed"
						]
					}
				]
			}
		},
		"black_bed": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:black_bed"
						]
					}
				]
			}
		}
	}
}