{
	"display": {
		"icon": {
			"id": "minecraft:activator_rail"
		},
		"title": {"translate":"Railwayman"},
		"description": {"color":"#75E1FF","translate":"Craft a stack of all the different types of rails"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:redstone/electric_rails",
	"rewards": {
		"function": "bacap_rewards:redstone/railwayman"
	},		
	"criteria": {
		"rail": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:rail"
						],
						"count": 64
					}
				]
			}
		},
		"powered_rail": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:powered_rail"
						],
						"count": 64
					}
				]
			}
		},
		"detector_rail": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:detector_rail"
						],
						"count": 64
					}
				]
			}
		},		
		"activator_rail": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:activator_rail"
						],
						"count": 64
					}
				]
			}
		}
	}
}