{
	"display": {
		"icon": {
			"id": "minecraft:soul_lantern"
		},
		"title": {"translate":"Let There Be Light!"},
		"description": {"color":"dark_purple","translate":"Hold a stack of every light-emitting block and item"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:building/fluorescent",
	"rewards": {
		"function": "bacap_rewards:building/let_there_be_light"
	},		
	"criteria": {
		"glowstone": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:glowstone"
						],
						"count": 64
					}
				]
			}
		},
		"jack_o_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:jack_o_lantern"
						],
						"count": 64
					}
				]
			}
		},
		"redstone_lamp": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:redstone_lamp"
						],
						"count": 64
					}
				]
			}
		},
		"sea_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:sea_lantern"
						],
						"count": 64
					}
				]
			}
		},
		"sea_pickle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:sea_pickle"
						],
						"count": 64
					}
				]
			}
		},
		"shroomlight": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:shroomlight"
						],
						"count": 64
					}
				]
			}
		},
		"lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:lantern"
						],
						"count": 64
					}
				]
			}
		},
		"campfire": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:campfire"
						],
						"count": 64
					}
				]
			}
		},
		"end_rod": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:end_rod"
						],
						"count": 64
					}
				]
			}
		},
		"torch": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:torch"
						],
						"count": 64
					}
				]
			}
		},
		"soul_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:soul_lantern"
						],
						"count": 64
					}
				]
			}
		},
		"soul_torch": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:soul_torch"
						],
						"count": 64
					}
				]
			}
		},
		"ender_chest": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:ender_chest"
						],
						"count": 64
					}
				]
			}
		},
		"redstone_torch": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:redstone_torch"
						],
						"count": 64
					}
				]
			}
		},
		"magma_block": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:magma_block"
						],
						"count": 64
					}
				]
			}
		},
		"crying_obsidian": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:crying_obsidian"
						],
						"count": 64
					}
				]
			}
		},
		"soul_campfire": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:soul_campfire"
						],
						"count": 64
					}
				]
			}
		},
		"amethyst_cluster": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:amethyst_cluster"
						],
						"count": 64
					}
				]
			}
		},
		"small_amethyst_bud": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:small_amethyst_bud"
						],
						"count": 64
					}
				]
			}
		},
		"medium_amethyst_bud": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:medium_amethyst_bud"
						],
						"count": 64
					}
				]
			}
		},
		"large_amethyst_bud": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:large_amethyst_bud"
						],
						"count": 64
					}
				]
			}
		},
		"glow_lichen": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:glow_lichen"
						],
						"count": 64
					}
				]
			}
		},
		"glow_berries": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:glow_berries"
						],
						"count": 64
					}
				]
			}
		},
		"candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:candle"
						],
						"count": 64
					}
				]
			}
		},
		"white_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:white_candle"
						],
						"count": 64
					}
				]
			}
		},
		"orange_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:orange_candle"
						],
						"count": 64
					}
				]
			}
		},
		"magenta_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:magenta_candle"
						],
						"count": 64
					}
				]
			}
		},
		"light_blue_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:light_blue_candle"
						],
						"count": 64
					}
				]
			}
		},
		"yellow_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:yellow_candle"
						],
						"count": 64
					}
				]
			}
		},
		"lime_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:lime_candle"
						],
						"count": 64
					}
				]
			}
		},
		"pink_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:pink_candle"
						],
						"count": 64
					}
				]
			}
		},
		"gray_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:gray_candle"
						],
						"count": 64
					}
				]
			}
		},
		"light_gray_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:light_gray_candle"
						],
						"count": 64
					}
				]
			}
		},
		"cyan_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:cyan_candle"
						],
						"count": 64
					}
				]
			}
		},
		"purple_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:purple_candle"
						],
						"count": 64
					}
				]
			}
		},
		"blue_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:blue_candle"
						],
						"count": 64
					}
				]
			}
		},
		"brown_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:brown_candle"
						],
						"count": 64
					}
				]
			}
		},
		"green_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:green_candle"
						],
						"count": 64
					}
				]
			}
		},
		"red_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:red_candle"
						],
						"count": 64
					}
				]
			}
		},
		"black_candle": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:black_candle"
						],
						"count": 64
					}
				]
			}
		},
		"ochre_froglight": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:ochre_froglight"
						],
						"count": 64
					}
				]
			}
		},
		"verdant_froglight": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:verdant_froglight"
						],
						"count": 64
					}
				]
			}
		},
		"pearlescent_froglight": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:pearlescent_froglight"
						],
						"count": 64
					}
				]
			}
		},
		"copper_bulb": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:copper_bulb",
							"minecraft:waxed_copper_bulb"
						],
						"count": 64
					}
				]
			}
		},
		"exposed_copper_bulb": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:exposed_copper_bulb",
							"minecraft:waxed_exposed_copper_bulb"
						],
						"count": 64
					}
				]
			}
		},
		"weathered_copper_bulb": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:weathered_copper_bulb",
							"minecraft:waxed_weathered_copper_bulb"
						],
						"count": 64
					}
				]
			}
		},
		"oxidized_copper_bulb": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:oxidized_copper_bulb",
							"minecraft:waxed_oxidized_copper_bulb"
						],
						"count": 64
					}
				]
			}
		},
		"copper_torch": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:copper_torch"
						],
						"count": 64
					}
				]
			}
		},
		"copper_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:copper_lantern",
							"minecraft:waxed_copper_lantern"
						],
						"count": 64
					}
				]
			}
		},
		"exposed_copper_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:exposed_copper_lantern",
							"minecraft:waxed_exposed_copper_lantern"
						],
						"count": 64
					}
				]
			}
		},
		"weathered_copper_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:weathered_copper_lantern",
							"minecraft:waxed_weathered_copper_lantern"
						],
						"count": 64
					}
				]
			}
		},
		"oxidized_copper_lantern": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:oxidized_copper_lantern",
							"minecraft:waxed_oxidized_copper_lantern"
						],
						"count": 64
					}
				]
			}
		}
	}
}