{
	"format_version": "1.13.0",
	"minecraft:entity": {
		"description": {
			"identifier": "addon:winker",
			"runtime_identifier": "minecraft:piglin",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": ["winker"]
			},
			"animations": {
				"winker": "controller.animation.winker"
			}
		},
		"components": {
			"minecraft:boss": {
				"name": "entity.addon:winker.name",
				"hud_range": 64
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player ? 80 + (query.equipment_count * Math.Random(1,8)) : 0"
			},
			"minecraft:knockback_resistance": {
				"value": 1
			},
			"minecraft:loot": {
				"table": "loot_tables/winker.json"
			},
			"minecraft:spell_effects": {
				"add_effects": [{
					"effect": "regeneration",
					"amplifier": 1,
					"visible": false,
					"ambient": false,
					"duration": 99999
				}, {
					"effect": "resistance",
					"amplifier": 0,
					"visible": false,
					"ambient": false,
					"duration": 99999
				}, {
					"effect": "fire_resistance",
					"amplifier": 1,
					"visible": false,
					"ambient": false,
					"duration": 99999
				}, {
					"effect": "jump_boost",
					"amplifier": 4,
					"visible": false,
					"ambient": false,
					"duration": 99999
				}]
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"on_damage": {
						"filters": {
							"test": "is_family",
							"subject": "other",
							"value": "zombie"
						}
					},
					"deals_damage": false
				}
			},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 1.8
			},
			"minecraft:movement": {
				"value": 0.34
			},
			"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:break_blocks": {
				"breakable_blocks": ["glass", "glass_pane", "stained_glass", "stained_glass_pane", "wooden_door", "spruce_door", "birch_door", "jungle_door", "acacia_door", "dark_oak_door", "crimson_door", "warped_door"]
			},
			"minecraft:health": {
				"value": 400,
				"max": 400
			},
			"minecraft:follow_range": {
				"value": 64,
				"max": 64
			},
			"minecraft:nameable": {},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1,
				"entity_types": {
					"filters": {
						"test": "is_family",
						"subject": "other",
						"operator": "!=",
						"value": "zombie"
					},
					"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": "irongolem"
					},
					"max_dist": 64
				}, {
					"filters": {
						"test": "is_family",
						"subject": "other",
						"value": "villager"
					},
					"max_dist": 64
				}],
				"must_see": true
			},
			"minecraft:shooter": {
				"type": "smallfireball",
				"def": "addon:winker_roar"
			},
			"minecraft:behavior.ranged_attack": {
				"priority": 0,
				"attack_interval_min": 1.6,
				"attack_interval_max": 1.6,
				"burst_shots": 8,
				"burst_interval": 0.4,
				"speed_multiplier": 1.2,
				"attack_radius": 4
			},
			"minecraft:behavior.random_stroll": {
				"priority": 3,
				"speed_multiplier": 0.8
			},
			"minecraft:behavior.random_look_around": {
				"priority": 5
			},
			"minecraft:type_family": {
				"family": ["zombie", "monster", "walker"]
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			}
		},
		"events": {}
	}
}