{
	"format_version": "1.13.0",
	"minecraft:entity": {
		"description": {
			"identifier": "addon:nazombie_officer",
			"runtime_identifier": "minecraft:piglin",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"components": {
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player ? 20 + (query.equipment_count * Math.Random(16,18)) : 0"
			},
			"minecraft:spell_effects": {
				"add_effects": [{
					"effect": "regeneration",
					"amplifier": 0,
					"visible": false,
					"ambient": false,
					"duration": 99999
				}]
			},
			"minecraft:knockback_resistance": {
				"value": 0.8
			},
			"minecraft:boss": {
				"name": "entity.addon:nazombie_officer.name",
				"hud_range": 64
			},
			"minecraft:loot": {
				"table": "loot_tables/ammo/9magazine8.json"
			},
			"minecraft:equipment": {
				"table": "loot_tables/guns/p08.json"
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"on_damage": {
						"filters": {
							"test": "is_family",
							"subject": "other",
							"value": "nazombie"
						}
					},
					"deals_damage": false
				}
			},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 1.8
			},
			"minecraft:movement": {
				"value": 0.28
			},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"can_pass_doors": true,
				"can_open_doors": true,
				"avoid_water": true
			},
			"minecraft:annotation.open_door": {},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:health": {
				"value": 200,
				"max": 200
			},
			"minecraft:follow_range": {
				"value": 64,
				"max": 64
			},
			"minecraft:nameable": {},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.summon_entity": {
				"priority": 0,
				"summon_choices": [{
					"min_activation_range": 0,
					"weight": 1,
					"cooldown_time": 10,
					"cast_duration": 0,
					"sequence": [{
						"shape": "line",
						"target": "self",
						"base_delay": 0,
						"delay_per_summon": 1,
						"num_entities_spawned": 2,
						"entity_type": "addon:nazombie",
						"summon_cap": 8,
						"summon_cap_radius": 16,
						"size": 10
					}]
				}, {
					"min_activation_range": 0,
					"weight": 1,
					"cooldown_time": 10,
					"cast_duration": 0,
					"sequence": [{
						"shape": "line",
						"target": "self",
						"base_delay": 0,
						"delay_per_summon": 1,
						"num_entities_spawned": 1,
						"entity_type": "addon:nazombie_sniper",
						"summon_cap": 8,
						"summon_cap_radius": 32,
						"size": 10
					}]
				}]
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1,
				"entity_types": {
					"filters": {
						"test": "is_family",
						"subject": "other",
						"operator": "!=",
						"value": "nazombie"
					},
					"max_dist": 64
				}
			},
			"minecraft:behavior.nearest_attackable_target": {
				"priority": 2,
				"entity_types": [{
					"filters": {
						"test": "is_family",
						"subject": "other",
						"value": "player"
					},
					"max_dist": 64
				}, {
					"filters": {
						"test": "is_family",
						"subject": "other",
						"value": "villager"
					},
					"max_dist": 64
				}, {
					"filters": {
						"test": "is_family",
						"subject": "other",
						"value": "irongolem"
					},
					"max_dist": 64
				}],
				"must_see": true
			},
			"minecraft:shooter": {
				"type": "Arrow",
				"def": "addon:9bullet"
			},
			"minecraft:behavior.ranged_attack": {
				"priority": 2,
				"attack_interval_min": 1.8,
				"attack_interval_max": 2.2,
				"burst_shots": 8,
				"burst_interval": 0.6,
				"speed_multiplier": 1,
				"attack_radius": 24
			},
			"minecraft:behavior.random_stroll": {
				"priority": 4,
				"speed_multiplier": 0.8
			},
			"minecraft:behavior.random_look_around": {
				"priority": 6
			},
			"minecraft:type_family": {
				"family": ["nazombie", "monster", "undead", "zombie", "walker"]
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			}
		},
		"events": {}
	}
}