{
	"format_version" : "1.16.210",
	"minecraft:entity" : {
		"description" : {
			"identifier" : "minecraft:drowned",
			"is_spawnable" : true,
			"is_summonable" : true,
			"is_experimental" : false
		},
		"component_groups" : {
			"minecraft:baby_drowned" : {
				"minecraft:experience_reward" : {
					"on_death" : "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
				},
				"minecraft:is_baby" : {},
				"minecraft:scale" : {
					"value" : 0.5
				},
				"minecraft:movement" : {
					"value" : 0.25
				},
				"minecraft:underwater_movement" : {
					"value" : 0.08
				}
			},
			"minecraft:adult_drowned" : {
				"minecraft:experience_reward" : {
					"on_death" : "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/drowned.json"
				}
			},
			"minecraft:mode_switcher" : {
				"minecraft:target_nearby_sensor" : {
					"inside_range" : 3.0,
					"outside_range" : 5.0,
					"on_inside_range" : {
						"event" : "minecraft:switch_to_melee",
						"target" : "self"
					},
					"on_outside_range" : {
						"event" : "minecraft:switch_to_ranged",
						"target" : "self"
					}
				},
				"minecraft:equipment" : {
					"table" : "loot_tables/entities/drowned_ranged_equipment.json",
					"slot_drop_chance" : [
						{
							"slot" : "slot.weapon.offhand",
							"drop_chance" : 1.0
						}
					]
				}
			},
			"minecraft:ranged_mode" : {
				"minecraft:shooter" : {
					"def" : "minecraft:thrown_trident"
				},
				"minecraft:behavior.ranged_attack" : {
					"priority" : 3,
					"attack_interval_min" : 1.0,
					"attack_interval_max" : 3.0,
					"attack_radius" : 10.0,
					"swing" : true
				}
			},
			"minecraft:melee_mode" : {
				"minecraft:attack" : {
					"damage" : 3
				},
				"minecraft:behavior.melee_attack" : {
					"priority" : 3,
					"speed_multiplier" : 1,
					"track_target" : false,
					"require_complete_path" : true
				},
				"minecraft:equipment" : {
					"table" : "loot_tables/entities/drowned_equipment.json",
					"slot_drop_chance" : [
						{
							"slot" : "slot.weapon.offhand",
							"drop_chance" : 1.0
						}
					]
				}
			},
			"minecraft:hunter_mode" : {
				"minecraft:navigation.generic" : {
					"is_amphibious" : true,
					"can_path_over_water" : false,
					"can_break_doors" : true,
					"can_swim" : true,
					"can_walk" : true,
					"avoid_sun" : true
				}
			},
			"minecraft:wander_mode" : {
				"minecraft:navigation.generic" : {
					"is_amphibious" : true,
					"can_path_over_water" : false,
					"can_break_doors" : true,
					"can_swim" : false,
					"can_walk" : true,
					"avoid_sun" : true
				}
			},
			"rare_drowned" : {
				"minecraft:health" : {
					"value" : 40,
					"max" : 40
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/rare_drowned.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "20"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.43
				},
				"minecraft:attack" : {
					"damage" : 6
				},
				"minecraft:behavior.melee_attack" : {
					"priority" : 3,
					"speed_multiplier" : 1,
					"track_target" : false,
					"require_complete_path" : true
				},
				"minecraft:equipment" : {
					"table" : "loot_tables/entities/drowned_equipment.json",
					"slot_drop_chance" : [
						{
							"slot" : "slot.weapon.offhand",
							"drop_chance" : 1.0
						}
					]
				}
			},
			"rare_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bRare Armoured Drowned The Defender"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 1,
							"visible" : false
						}
					]
				}
			},
			"rare_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bRare Unseen Drowned Of Stalking"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"rare_sprint" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bRare Sprinting Drowned Of Bolting"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "speed",
							"duration" : 999999,
							"amplifier" : 1,
							"visible" : false
						}
					]
				}
			},
			"ultra_drowned" : {
				"minecraft:health" : {
					"value" : 60,
					"max" : 60
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/ultra_drowned.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "40"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.63
				},
				"minecraft:attack" : {
					"damage" : 9
				},
				"minecraft:behavior.melee_attack" : {
					"priority" : 3,
					"speed_multiplier" : 1,
					"track_target" : false,
					"require_complete_path" : true
				},
				"minecraft:equipment" : {
					"table" : "loot_tables/entities/drowned_equipment.json",
					"slot_drop_chance" : [
						{
							"slot" : "slot.weapon.offhand",
							"drop_chance" : 1.0
						}
					]
				}
			},
			"ultra_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Defensive Drowned Of Turtling"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 2,
							"visible" : false
						}
					]
				}
			},
			"ultra_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Stalking Drowned The Unseen"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"ultra_sprint" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Charging Drowned The Swift One"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "speed",
							"duration" : 999999,
							"amplifier" : 2,
							"visible" : false
						}
					]
				}
			},
			"infernal_drowned" : {
				"minecraft:health" : {
					"value" : 80,
					"max" : 80
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/infernal_drowned.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "60"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.83
				},
				"minecraft:attack" : {
					"damage" : 12
				},
				"minecraft:behavior.melee_attack" : {
					"priority" : 3,
					"speed_multiplier" : 1,
					"track_target" : false,
					"require_complete_path" : true
				},
				"minecraft:equipment" : {
					"table" : "loot_tables/entities/drowned_equipment.json",
					"slot_drop_chance" : [
						{
							"slot" : "slot.weapon.offhand",
							"drop_chance" : 1.0
						}
					]
				}
			},
			"infernal_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Turtling Drowned Of Effing Armor"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 3,
							"visible" : false
						}
					]
				}
			},
			"infernal_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Hunting Drowned The Predator"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"infernal_sprint" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Swift Drowned Of Being In Your Face"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "speed",
							"duration" : 999999,
							"amplifier" : 3,
							"visible" : false
						}
					]
				}
			}
		},
		"components" : {
			"minecraft:nameable" : {},
			"minecraft:type_family" : {
				"family" : [ "drowned", "zombie", "undead", "monster", "mob" ]
			},
			"minecraft:equip_item" : {},
			"minecraft:collision_box" : {
				"width" : 0.6,
				"height" : 1.9
			},
			"minecraft:annotation.break_door" : {},
			"minecraft:underwater_movement" : {
				"value" : 0.06
			},
			"minecraft:movement.generic" : {},
			"minecraft:jump.static" : {},
			"minecraft:can_climb" : {},
			"minecraft:health" : {
				"value" : 20,
				"max" : 20
			},
			"minecraft:hurt_on_condition" : {
				"damage_conditions" : [
					{
						"filters" : {
							"test" : "in_lava",
							"subject" : "self",
							"operator" : "==",
							"value" : true
						},
						"cause" : "lava",
						"damage_per_tick" : 4
					}
				]
			},
			"minecraft:movement" : {
				"value" : 0.23
			},
			"minecraft:burns_in_daylight" : {},
			"minecraft:breathable" : {
				"total_supply" : 15,
				"suffocate_time" : 0,
				"breathes_air" : true,
				"breathes_water" : true
			},
			"minecraft:navigation.generic" : {
				"is_amphibious" : true,
				"can_path_over_water" : false,
				"can_break_doors" : true,
				"can_swim" : false,
				"can_walk" : true,
				"avoid_sun" : true
			},
			"minecraft:shareables" : {
				"items" : [
					{
						"item" : "minecraft:nautilus_shell",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 0
					},
					{
						"item" : "minecraft:trident",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 1
					},
					{
						"item" : "minecraft:netherite_sword",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 2
					},
					{
						"item" : "minecraft:diamond_sword",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 3
					},
					{
						"item" : "minecraft:iron_sword",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 4
					},
					{
						"item" : "minecraft:stone_sword",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 5
					},
					{
						"item" : "minecraft:golden_sword",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 6
					},
					{
						"item" : "minecraft:wooden_sword",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 7
					},
					{
						"item" : "minecraft:netherite_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 0
					},
					{
						"item" : "minecraft:diamond_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 1
					},
					{
						"item" : "minecraft:iron_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 2
					},
					{
						"item" : "minecraft:chainmail_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 3
					},
					{
						"item" : "minecraft:golden_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 4
					},
					{
						"item" : "minecraft:leather_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 5
					},
					{
						"item" : "minecraft:turtle_helmet",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 6
					},
					{
						"item" : "minecraft:skull:0",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 7
					},
					{
						"item" : "minecraft:skull:1",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 7
					},
					{
						"item" : "minecraft:carved_pumpkin",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 7
					},
					{
						"item" : "minecraft:netherite_chestplate",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 0
					},
					{
						"item" : "minecraft:diamond_chestplate",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 1
					},
					{
						"item" : "minecraft:iron_chestplate",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 2
					},
					{
						"item" : "minecraft:chainmail_chestplate",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 3
					},
					{
						"item" : "minecraft:golden_chestplate",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 4
					},
					{
						"item" : "minecraft:leather_chestplate",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 5
					},
					{
						"item" : "minecraft:netherite_leggings",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 0
					},
					{
						"item" : "minecraft:diamond_leggings",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 1
					},
					{
						"item" : "minecraft:iron_leggings",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 2
					},
					{
						"item" : "minecraft:chainmail_leggings",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 3
					},
					{
						"item" : "minecraft:golden_leggings",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 4
					},
					{
						"item" : "minecraft:leather_leggings",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 5
					},
					{
						"item" : "minecraft:netherite_boots",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 0
					},
					{
						"item" : "minecraft:diamond_boots",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 1
					},
					{
						"item" : "minecraft:iron_boots",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 2
					},
					{
						"item" : "minecraft:chainmail_boots",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 3
					},
					{
						"item" : "minecraft:golden_boots",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 4
					},
					{
						"item" : "minecraft:leather_boots",
						"want_amount" : 1,
						"surplus_amount" : 1,
						"priority" : 5
					}
				]
			},
			"minecraft:despawn" : {
				"despawn_from_distance" : {}
			},
			"minecraft:behavior.flee_sun" : {
				"priority" : 2,
				"speed_multiplier" : 1
			},
			"minecraft:behavior.equip_item" : {
				"priority" : 3
			},
			"minecraft:behavior.stomp_turtle_egg" : {
				"priority" : 4,
				"speed_multiplier" : 1,
				"search_range" : 10,
				"search_height" : 2,
				"goal_radius" : 1.14,
				"interval" : 20
			},
			"minecraft:behavior.pickup_items" : {
				"priority" : 6,
				"max_dist" : 3,
				"goal_radius" : 2,
				"speed_multiplier" : 1.0,
				"pickup_based_on_chance" : true,
				"can_pickup_any_item" : true
			},
			"minecraft:behavior.random_stroll" : {
				"priority" : 7,
				"speed_multiplier" : 1
			},
			"minecraft:behavior.look_at_player" : {
				"priority" : 8,
				"look_distance" : 6,
				"probability" : 0.02
			},
			"minecraft:behavior.random_look_around" : {
				"priority" : 9
			},
			"minecraft:behavior.hurt_by_target" : {
				"priority" : 1
			},
			"minecraft:behavior.nearest_attackable_target" : {
				"priority" : 2,
				"reselect_targets" : true,
				"must_see" : true,
				"within_radius" : 12.0,
				"must_see_forget_duration" : 17.0,
				"persist_time" : 0.5,
				"entity_types" : [
					{
						"filters" : {
							"all_of" : [
								{
									"any_of" : [
										{
											"test" : "is_family",
											"subject" : "other",
											"value" : "player"
										},
										{
											"test" : "is_family",
											"subject" : "other",
											"value" : "snowgolem"
										},
										{
											"test" : "is_family",
											"subject" : "other",
											"value" : "irongolem"
										},
										{
											"test" : "is_family",
											"subject" : "other",
											"value" : "axolotl"
										}
									]
								},
								{
									"any_of" : [
										{
											"test" : "in_water",
											"subject" : "other",
											"value" : true
										},
										{
											"test" : "is_daytime",
											"value" : false
										}
									]
								}
							]
						},
						"max_dist" : 20
					},
					{
						"filters" : {
							"all_of" : [
								{
									"any_of" : [
										{
											"test" : "is_family",
											"subject" : "other",
											"value" : "villager"
										},
										{
											"test" : "is_family",
											"subject" : "other",
											"value" : "wandering_trader"
										}
									]
								},
								{
									"any_of" : [
										{
											"test" : "in_water",
											"subject" : "other",
											"value" : true
										},
										{
											"test" : "is_daytime",
											"value" : false
										}
									]
								}
							]
						},
						"max_dist" : 20,
						"must_see" : false
					},
					{
						"filters" : {
							"all_of" : [
								{
									"test" : "is_family",
									"subject" : "other",
									"value" : "baby_turtle"
								},
								{
									"test" : "in_water",
									"subject" : "other",
									"operator" : "!=",
									"value" : true
								}
							]
						},
						"max_dist" : 20
					}
				]
			},
			"minecraft:physics" : {},
			"minecraft:pushable" : {
				"is_pushable" : true,
				"is_pushable_by_piston" : true
			},
			"minecraft:on_target_acquired" : {
				"event" : "minecraft:has_target",
				"target" : "self"
			},
			"minecraft:on_target_escape" : {
				"event" : "minecraft:lost_target",
				"target" : "self"
			},
			"minecraft:conditional_bandwidth_optimization" : {}
		},
		"events" : {
			"minecraft:entity_spawned" : {
				"randomize" : [
					{
						"weight" : 9500,
						"randomize" : [
							{
								"weight" : 95,
								"remove" : {},
								"add" : {
									"component_groups" : [ "minecraft:melee_mode", "minecraft:adult_drowned" ]
								}
							},
							{
								"weight" : 5,
								"remove" : {},
								"add" : {
									"component_groups" : [ "minecraft:melee_mode", "minecraft:baby_drowned" ]
								}
							}
						]
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_drowned", "rare_bullwark" ]
						}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_drowned", "rare_cloaking" ]
						}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_drowned", "rare_sprint" ]
						}
					},
					{
						"weight" : 75,
						"remove" : {},
						"add" : {
							"component_groups" : [
								"minecraft:mode_switcher",
								"minecraft:ranged_mode",
								"minecraft:adult_drowned"
							]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_drowned", "ultra_bullwark" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_drowned", "ultra_cloaking" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_drowned", "ultra_sprint" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_drowned", "infernal_bullwark" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_drowned", "infernal_cloaking" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_drowned", "infernal_sprint" ]
						}
					}
				]
			},
			"minecraft:as_baby" : {
				"add" : {
					"component_groups" : [ "minecraft:melee_mode", "minecraft:baby_drowned" ]
				}
			},
			"minecraft:as_adult" : {
				"add" : {
					"component_groups" : [ "minecraft:melee_mode", "minecraft:adult_drowned" ]
				}
			},
			"minecraft:switch_to_melee" : {
				"remove" : {
					"component_groups" : [ "minecraft:ranged_mode" ]
				},
				"add" : {
					"component_groups" : [ "minecraft:melee_mode" ]
				}
			},
			"minecraft:switch_to_ranged" : {
				"remove" : {
					"component_groups" : [ "minecraft:melee_mode" ]
				},
				"add" : {
					"component_groups" : [ "minecraft:ranged_mode" ]
				}
			},
			"minecraft:has_target" : {
				"remove" : {
					"component_groups" : [ "minecraft:wander_mode" ]
				},
				"add" : {
					"component_groups" : [ "minecraft:hunter_mode" ]
				}
			},
			"minecraft:lost_target" : {
				"remove" : {
					"component_groups" : [ "minecraft:hunter_mode" ]
				},
				"add" : {
					"component_groups" : [ "minecraft:wander_mode" ]
				}
			}
		}
	}
}
