{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_2761_gator",
			"is_summonable": true,
			"is_spawnable": false,
			"is_experimental": false
		},
		"component_groups": {
			"scp2761evolve": {
				"minecraft:transformation": {
					"into": "scpcf:scp_2761_pup"
				}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"scp"
				]
			},
			"minecraft:health": {
				"value": 80,
				"max": 80
			},
			"minecraft:can_climb": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "drowning",
						"deals_damage": false
					}
				]
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:infested_bone"
									}
								]
							},
							"event": "mutate"
						},
						"use_item": true,
						"interact_text": "action.interact.feed"
					}
				]
			},
			"minecraft:behavior.melee_attack": {
				"speed_multiplier": 1
			},
			"minecraft:attack": {
				"damage": 6
			},
			"minecraft:behavior.nearest_attackable_target": {
				"entity_types": [
					{
						"filters": {
							"other_with_families": [
								"player",
								"animal",
								"mob",
								"recontainhumanfriendly",
								"recontainhuman",
								"mtfepsilon11",
								"fish"
							]
						},
						"max_dist": 35,
						"must_see": false
					}
				],
				"within_radius": 50,
				"reselect_targets": true
			},
			"minecraft:behavior.random_stroll": {
				"priority": 5,
				"speed_multiplier": 0.5
			},
			"minecraft:behavior.move_to_water": {
				"priority": 4,
				"search_range": 20,
				"search_height": 5,
				"goal_radius": 1.5
			},
			"minecraft:movement.amphibious": {},
			"minecraft:movement": {
				"value": 0.3
			},
			"minecraft:underwater_movement": {
				"value": 0.3
			},
			"minecraft:behavior.move_to_land": {
				"priority": 3,
				"search_range": 30,
				"search_height": 8,
				"search_count": 80,
				"goal_radius": 5
			},
			"minecraft:navigation.generic": {
				"is_amphibious": true,
				"can_path_over_water": true,
				"can_swim": true,
				"can_walk": true,
				"can_sink": false,
				"avoid_damage_blocks": true
			},
			"minecraft:jump.static": {},
			"minecraft:nameable": {},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?20:0"
			}
		},
		"events": {
			"mutate": {
				"queue_command": {
					"command": [
						"particle minecraft:crop_growth_area_emitter"
					]
				},
				"add": {
					"component_groups": [
						"scp2761evolve"
					]
				}
			}
		}
	}
}