{
	"display": {
		"icon": {
			"id": "minecraft:golden_carrot"
		},
		"title": {"translate":"Nocturnal"},
		"description": {"color":"green","translate":"Brew and drink a night vision potion"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:potion/hyper_healing",
	"rewards": {
		"function": "bacap_rewards:potion/nocturnal"
	},	
	"criteria": {
		"night_vision": {
			"trigger": "minecraft:consume_item",
			"conditions": {
				"item": {
					"items": [
						"minecraft:potion"
					],
					"predicates": {
						"potion_contents": "minecraft:night_vision"
					}
				}
			}
		},
		"long_night_vision": {
			"trigger": "minecraft:consume_item",
			"conditions": {
				"item": {
					"items": [
						"minecraft:potion"
					],
					"predicates": {
						"potion_contents": "minecraft:long_night_vision"
					}
				}
			}
		}
	},
	"requirements": [
		[
			"night_vision",
			"long_night_vision"
		]
	]
}