{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_1057",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"shark1": {
				"minecraft:variant": {
					"value": 0
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootblue.json"
				}
			},
			"shark2": {
				"minecraft:variant": {
					"value": 1
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootred.json"
				}
			},
			"shark3": {
				"minecraft:variant": {
					"value": 2
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootwhite.json"
				}
			},
			"shark4": {
				"minecraft:variant": {
					"value": 3
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootlightgray.json"
				}
			},
			"shark5": {
				"minecraft:variant": {
					"value": 4
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootgray.json"
				}
			},
			"shark6": {
				"minecraft:variant": {
					"value": 5
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootblack.json"
				}
			},
			"shark7": {
				"minecraft:variant": {
					"value": 6
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootbrown.json"
				}
			},
			"shark8": {
				"minecraft:variant": {
					"value": 7
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootorange.json"
				}
			},
			"shark9": {
				"minecraft:variant": {
					"value": 8
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootyellow.json"
				}
			},
			"shark10": {
				"minecraft:variant": {
					"value": 9
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootlime.json"
				}
			},
			"shark11": {
				"minecraft:variant": {
					"value": 10
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootgreen.json"
				}
			},
			"shark12": {
				"minecraft:variant": {
					"value": 11
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootcyan.json"
				}
			},
			"shark13": {
				"minecraft:variant": {
					"value": 12
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootlightblue.json"
				}
			},
			"shark14": {
				"minecraft:variant": {
					"value": 13
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootpurple.json"
				}
			},
			"shark15": {
				"minecraft:variant": {
					"value": 14
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootmagenta.json"
				}
			},
			"shark16": {
				"minecraft:variant": {
					"value": 15
				},
				"minecraft:loot": {
					"table": "loot_tables/scp1057lootpink.json"
				}
			}
		},
		"components": {
			"minecraft:underwater_movement": {
				"value": 0.15
			},
			"minecraft:health": {
				"value": 150,
				"max": 150
			},
			"minecraft:behavior.melee_attack": {
				"speed_multiplier": 1
			},
			"minecraft:movement": {
				"value": 0.31
			},
			"minecraft:behavior.swim_wander": {
				"priority": 4,
				"interval": 0.0166,
				"speed_multiplier": 0.8,
				"look_ahead": 5,
				"wander_time": 5
			},
			"minecraft:behavior.swim_idle": {
				"priority": 5,
				"idle_time": 5,
				"success_rate": 0.1
			},
			"minecraft:behavior.random_swim": {
				"speed_multiplier": 0.8,
				"priority": 3,
				"xz_dist": 16,
				"y_dist": 4,
				"interval": 0
			},
			"minecraft:attack": {
				"damage": 6
			},
			"minecraft:physics": {},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:collision_box": {
				"width": 1.5,
				"height": 1.5
			},
			"minecraft:behavior.nearest_attackable_target": {
				"entity_types": [
					{
						"filters": {
							"other_with_families": [
								"player",
								"zoglin",
								"hoglin",
								"piglin",
								"strider",
								"zombie",
								"creeper",
								"skeleton",
								"spider",
								"zombie_pigman",
								"slime",
								"enderman",
								"silverfish",
								"cave_spider",
								"ghast",
								"magma_cube",
								"blaze",
								"zombie_villager",
								"witch",
								"stray",
								"husk",
								"wither_skeleton",
								"guardian",
								"elder_guardian",
								"wither",
								"ender_dragon",
								"shulker",
								"endermite",
								"vindicator",
								"phantom",
								"ravager",
								"evocation_illager",
								"vex",
								"drowned",
								"pillager",
								"zombie_villager_v2",
								"chicken",
								"cow",
								"pig",
								"sheep",
								"wolf",
								"villager",
								"mooshroom",
								"squid",
								"rabbit",
								"bat",
								"iron_golem",
								"snow_golem",
								"ocelot",
								"horse",
								"donkey",
								"mule",
								"skeleton_horse",
								"zombie_horse",
								"polar_bear",
								"llama",
								"parrot",
								"dolphin",
								"turtle",
								"cat",
								"pufferfish",
								"salmon",
								"tropicalfish",
								"cod",
								"panda",
								"villager_v2",
								"wandering_trader",
								"fox",
								"bee",
								"recontainhuman",
								"goat",
								"axolotl",
								"glow_squid",
								"mtfepsilon11",
								"recontainhumanfriendly"
							]
						},
						"max_dist": 35,
						"must_see": false
					}
				],
				"within_radius": 50,
				"reselect_targets": true
			},
			"minecraft:navigation.generic": {
				"can_sink": false,
				"can_path_over_water": false,
				"can_walk": false,
				"is_amphibious": false,
				"can_swim": true,
				"can_breach": false
			},
			"minecraft:scale": {
				"value": 1.3
			},
			"minecraft:movement.sway": {
				"sway_amplitude": 0
			},
			"minecraft:type_family": {
				"family": [
					"aquaticscp"
				]
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:red_dye"
									}
								]
							},
							"event": "dyeredevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:blue_dye"
									}
								]
							},
							"event": "dyeblueevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:white_dye"
									}
								]
							},
							"event": "dyewhiteevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:light_gray_dye"
									}
								]
							},
							"event": "dyelightgrayevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:gray_dye"
									}
								]
							},
							"event": "dyegrayevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:black_dye"
									}
								]
							},
							"event": "dyeblackevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:brown_dye"
									}
								]
							},
							"event": "dyebrownevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:orange_dye"
									}
								]
							},
							"event": "dyeorangeevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:yellow_dye"
									}
								]
							},
							"event": "dyeyellowevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:lime_dye"
									}
								]
							},
							"event": "dyelimeevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:green_dye"
									}
								]
							},
							"event": "dyegreenevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:cyan_dye"
									}
								]
							},
							"event": "dyecyanevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:light_blue_dye"
									}
								]
							},
							"event": "dyelightblueevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:purple_dye"
									}
								]
							},
							"event": "dyepurpleevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:magenta_dye"
									}
								]
							},
							"event": "dyemagentaevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					},
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "minecraft:pink_dye"
									}
								]
							},
							"event": "dyepinkevent"
						},
						"use_item": true,
						"interact_text": "action.interact.dye"
					}
				]
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:nameable": {},
			"minecraft:breathable": {
				"breathes_water": true,
				"breathes_air": false,
				"totalSupply": 15,
				"suffocateTime": 0
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?50:0"
			}
		},
		"events": {
			"dyewhiteevent": {
				"add": {
					"component_groups": [
						"shark3"
					]
				}
			},
			"dyeblueevent": {
				"add": {
					"component_groups": [
						"shark1"
					]
				}
			},
			"dyeredevent": {
				"add": {
					"component_groups": [
						"shark2"
					]
				}
			},
			"dyelightgrayevent": {
				"add": {
					"component_groups": [
						"shark4"
					]
				}
			},
			"dyeblackevent": {
				"add": {
					"component_groups": [
						"shark6"
					]
				}
			},
			"dyebrownevent": {
				"add": {
					"component_groups": [
						"shark7"
					]
				}
			},
			"dyeorangeevent": {
				"add": {
					"component_groups": [
						"shark8"
					]
				}
			},
			"dyeyellowevent": {
				"add": {
					"component_groups": [
						"shark9",
						"shark4"
					]
				}
			},
			"dyegreenevent": {
				"add": {
					"component_groups": [
						"shark11"
					]
				}
			},
			"dyegrayevent": {
				"add": {
					"component_groups": [
						"shark5"
					]
				}
			},
			"dyecyanevent": {
				"add": {
					"component_groups": [
						"shark12"
					]
				}
			},
			"dyepinkevent": {
				"add": {
					"component_groups": [
						"shark16"
					]
				}
			},
			"dyelimeevent": {
				"add": {
					"component_groups": [
						"shark10"
					]
				}
			},
			"dyelightblueevent": {
				"add": {
					"component_groups": [
						"shark13"
					]
				}
			},
			"dyepurpleevent": {
				"add": {
					"component_groups": [
						"shark14"
					]
				}
			},
			"dyemagentaevent": {
				"add": {
					"component_groups": [
						"shark15"
					]
				}
			},
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"shark1"
					]
				}
			}
		}
	}
}