{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_939_a",
			"runtime_identifier": "minecraft:warden",
			"is_summonable": true,
			"is_spawnable": false,
			"is_experimental": false
		},
		"component_groups": {},
		"components": {
			"minecraft:experience_reward": {
				"on_bred": "math.random(1,7)",
				"on_death": "query.last_hit_by_player?5:0"
			},
			"minecraft:attack": {
				"damage": 10
			},
			"minecraft:vibration_listener": {},
			"minecraft:vibration_damper": {},
			"minecraft:suspect_tracking": {},
			"minecraft:anger_level": {
				"max_anger": 150,
				"angry_threshold": 60,
				"remove_targets_below_angry_threshold": true,
				"angry_boost": 20,
				"anger_decrement_interval": 1,
				"default_annoyingness": 20,
				"default_projectile_annoyingness": 10,
				"on_increase_sounds": [
					{
						"sound": "mob.ravager.ambient",
						"condition": "query.anger_level(this)>=60"
					},
					{
						"sound": "mob.ravager.ambient",
						"condition": "query.anger_level(this)>=0"
					}
				],
				"nuisance_filter": {
					"all_of": [
						{
							"test": "is_family",
							"subject": "other",
							"operator": "not",
							"value": "scp"
						},
						{
							"test": "is_family",
							"subject": "other",
							"operator": "not",
							"value": "inanimate"
						}
					]
				}
			},
			"minecraft:type_family": {
				"family": [
					"scp"
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"can_path_over_lava": true,
				"avoid_damage_blocks": true
			},
			"minecraft:heartbeat": {
				"interval": "2-math.clamp(query.anger_level/40*1.5,0,1.5)"
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 1.6
			},
			"minecraft:health": {
				"value": 50,
				"max": 50
			},
			"minecraft:movement": {
				"value": 0.5
			},
			"minecraft:knockback_resistance": {
				"value": 0.2,
				"max": 0.2
			},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.roar": {
				"priority": 2,
				"duration": 1
			},
			"minecraft:behavior.investigate_suspicious_location": {
				"priority": 6,
				"speed_multiplier": 0.6,
				"goal_radius": 3
			},
			"minecraft:behavior.sniff": {
				"priority": 6,
				"duration": 4.16,
				"sniffing_radius": 24,
				"suspicion_radius_horizontal": 6,
				"suspicion_radius_vertical": 20,
				"cooldown_range": [
					5,
					10
				]
			},
			"minecraft:behavior.random_stroll": {
				"priority": 4,
				"speed_multiplier": 0.35
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8
			},
			"minecraft:breedable": {
				"require_tame": false,
				"breeds_with": [
					{
						"mate_type": "scpcf:scp_939_a",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_b",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_c",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_d",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_e",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_f",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_g",
						"baby_type": "scpcf:scp_939_baby_villager"
					},
					{
						"mate_type": "scpcf:scp_939_h",
						"baby_type": "scpcf:scp_939_baby_villager"
					}
				],
				"breed_items": [
					"rotten_flesh",
					"minecraft:rotten_flesh"
				],
				"breed_cooldown": 600
			},
			"minecraft:behavior.breed": {
				"priority": 1,
				"speed_multiplier": 0.6
			},
			"minecraft:physics": {},
			"minecraft:follow_range": 30,
			"minecraft:nameable": {},
			"minecraft:behavior.delayed_attack": {
				"priority": 4,
				"speed_multiplier": 0.6,
				"reach_multiplier": 4.5
			},
			"minecraft:ambient_sound_interval": {
				"value": 2,
				"range": 0.4,
				"event_names": [
					{
						"event_name": "angry",
						"condition": "query.anger_level(this)>=80"
					},
					{
						"event_name": "agitated",
						"condition": "query.anger_level(this)>=40"
					}
				]
			},
			"minecraft:loot": {
				"table": "loot_tables/scp008zombieloot.json"
			},
			"minecraft:on_target_acquired": {
				"event": "scp939"
			}
		},
		"events": {
			"scp939": {
				"queue_command": {
					"command": [
						"playsound mob.ravager.ambient @a[r=15]"
					]
				}
			}
		}
	}
}