{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "cc_fairytales:hydra",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"generar_cabeza": {
				"minecraft:addrider": {
					"entity_type": "cc_fairytales:hydra_head"
				}
			}
		},
		"components": {
			"minecraft:ambient_sound_interval": {
				"event_name": "ambient",
				"range": 16,
				"value": 8
			},
			"minecraft:type_family": {
				"family": ["undead", "hydra_body","monster"]
			},
			"minecraft:health": {
				"value": 400
			},"minecraft:experience_reward": {
				"on_death": "100"
			},
			"minecraft:physics": {
				"has_gravity": true,
				"has_collision": true
			},
			"minecraft:pushable": {
				"is_pushable": false
			},
			"minecraft:push_through": {
				"value": 1
			},
			"minecraft:loot": {
				"table": "loot_tables/chillcraft/fairy/entities/hydra.json"
			},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"avoid_water": true,
				"avoid_damage_blocks": true
			},
			"minecraft:movement.basic": {},
			"minecraft:movement": {
				"value": 0.7
			},
			"minecraft:input_ground_controlled": {},
			"minecraft:behavior.random_stroll": {
				"priority": 7,
				"speed_multiplier": 1
			},
			"minecraft:behavior.look_at_player": {
				"priority": 2,
				"look_distance": 16.0,
				"probability": 1
			},
			"minecraft:boss": {
				"hud_range": 55,
				"name": "HYDRA",
				"should_darken_sky": false
			},
			"minecraft:behavior.random_look_around": {
				"priority": 7
			},
			"minecraft:collision_box": {
				"width": 2,
				"height": 2
			},
			"minecraft:custom_hit_test": {
				"hitboxes": [
					{
						"width": 1.8,
						"height": 1.1,
						"pivot": [0, 0.55, 0.4]
					}
				]
			},
			"minecraft:rideable": {
				"controlling_seat": 0,
				"crouching_skip_interact": true,
				"family_types": ["hydra_head"],
				"interact_text": "ride",
				"pull_in_entities": true,
				"rider_can_interact": false,
				"seat_count": 5,
				"seats": [
					{
						"position": [0, 1, 1]
					},
					{
						"position": [0.5, 1, 1]
					},
					{
						"position": [-0.5, 1, 1]
					},
					{
						"position": [0.45, 1.5, 0.55], "rotate_rider_by": -57
					},
					{
						"position": [-0.45, 1.5, 0.55], "rotate_rider_by": 57
					}
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "bola_veneno"
									}
								]
							}
						},
						"deals_damage": false
					}
				]
			},
			"minecraft:behavior.nearest_attackable_target": {
				"attack_owner": false,
				"must_reach": true,
				"must_see": true,
				"must_see_forget_duration": 3,
				"persist_time": 3,
				"reselect_targets": true,
				"scan_interval": 10,
				"set_persistent": true,
				"target_invisible_multiplier": 0.5,
				"target_search_height": -1,
				"target_sneak_visibility_multiplier": 0.8,
				"entity_types": [
					{
						"filters": {
							"test": "is_family",
							"subject": "other",
							"value": "player"
						},
						"max_dist": 16
					}
				]
			},
			"minecraft:knockback_resistance": {
				"value": 100
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": ["generar_cabeza"]
				}
			}
		}
	}
}
