{
	"display": {
		"icon": {
			"id": "minecraft:copper_nautilus_armor"
		},
		"title": {"translate":"Submarine Fleet"},
		"description": {"color":"#75E1FF","translate":"Ride Nautiluses with every kind of Nautilus Armor"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:biomes/coralful_shell",
	"rewards": {
		"function": "bacap_rewards:biomes/submarine_fleet"
	},		
	"criteria": {
		"copper_nautilus_armor": {
			"trigger": "minecraft:started_riding",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"vehicle": {
								"entity_type": "#blazeandcave:nautiluses",
								"equipment": {
									"body": {
										"items": "minecraft:copper_nautilus_armor"
									}
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"iron_nautilus_armor": {
			"trigger": "minecraft:started_riding",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"vehicle": {
								"entity_type": "#blazeandcave:nautiluses",
								"equipment": {
									"body": {
										"items": "minecraft:iron_nautilus_armor"
									}
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"golden_nautilus_armor": {
			"trigger": "minecraft:started_riding",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"vehicle": {
								"entity_type": "#blazeandcave:nautiluses",
								"equipment": {
									"body": {
										"items": "minecraft:golden_nautilus_armor"
									}
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"diamond_nautilus_armor": {
			"trigger": "minecraft:started_riding",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"vehicle": {
								"entity_type": "#blazeandcave:nautiluses",
								"equipment": {
									"body": {
										"items": "minecraft:diamond_nautilus_armor"
									}
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"netherite_nautilus_armor": {
			"trigger": "minecraft:started_riding",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"vehicle": {
								"entity_type": "#blazeandcave:nautiluses",
								"equipment": {
									"body": {
										"items": "minecraft:netherite_nautilus_armor"
									}
								}
							}
						},
						"entity": "this"
					}
				]
			}
		}
	}
}
