{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "guardian:smoldering_soul",
			"is_spawnable": true,
			"is_summonable": true
		},
		"component_groups": {
			"texture0": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"texture1": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"texture2": {
				"minecraft:variant": {
					"value": 2
				}
			}
		},
		"components": {
			"minecraft:behavior.charge_attack": {
				"priority": 0
			},
			"minecraft:behavior.nearest_attackable_target": {
				"priority": 1,
				"entity_types": [
					{
						"filters": {
							"any_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "player"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "glare"
								}
							]
						},
						"max_dist": 50,
						"must_see": true
					}
				]
			},
			"minecraft:is_hidden_when_invisible": {},
			"minecraft:type_family": {
				"family": [
					"smoldring_soul",
					"magic",
					"undead"
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:collision_box": {
				"width": 0.55,
				"height": 1.9
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"cause": "fall",
					"deals_damage": false
				}
			},
			"minecraft:hurt_on_condition": {
				"damage_conditions": [
					{
						"filters": {
							"test": "in_lava",
							"subject": "self",
							"operator": "==",
							"value": true
						},
						"cause": "lava",
						"damage_per_tick": 4
					}
				]
			},
			"minecraft:movement": {
				"value": 0.01
			},
			"minecraft:navigation.float": {
				"can_path_over_water": true
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.float_wander": {
				"xz_dist": 10,
				"y_dist": 7,
				"y_offset": -2,
				"random_reselect": true,
				"float_duration": [
					0.1,
					0.35
				]
			},
			"minecraft:can_fly": true,
			"minecraft:health": {
				"value": 30,
				"max": 30
			},
			"minecraft:nameable": {},
			"minecraft:physics": {},
			"minecraft:conditional_bandwidth_optimization": {},
			"minecraft:attack": {
				"damage": 6
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"sequence": [
					{
						"filters": {
							"test": "has_component",
							"operator": "!=",
							"value": "minecraft:variant"
						},
						"randomize": [
							{
								"weight": 1,
								"add": {
									"component_groups": [
										"texture0"
									]
								}
							},
							{
								"weight": 1,
								"add": {
									"component_groups": [
										"texture1"
									]
								}
							},
							{
								"weight": 1,
								"add": {
									"component_groups": [
										"texture2"
									]
								}
							}
						]
					}
				]
			}
		}
	}
}