{
	"format_version": "1.20.80",
	"minecraft:entity": {
		"description": {
			"identifier": "v360:lumifly",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"lumifly_wild": {
				"minecraft:tameable": {
					"probability": 0.33,
					"tame_items": [
						"v360:glow_larva"
					],
					"tame_event": {
						"event": "minecraft:on_tame",
						"target": "self"
					}
				}
			},
			"lumifly_tame": {
				"minecraft:is_tamed": {},
				"minecraft:behavior.follow_owner": {
					"priority": 2,
					"speed_multiplier": 1,
					"start_distance": 5,
					"stop_distance": 1
				},
				"minecraft:sittable": {},
				"minecraft:behavior.stay_while_sitting": {
					"priority": 1
				},
				"minecraft:type_family": {
					"family": [
						"lumifly_tamed",
						"arthropod",
						"lumifly"
					]
				}
			}
		},
		"components": {
			"minecraft:is_hidden_when_invisible": {},
			"minecraft:behavior.random_hover": {
				"priority": 12,
				"xz_dist": 8,
				"y_dist": 8,
				"y_offset": -1,
				"interval": 1,
				"hover_height": [
					1,
					4
				]
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:behavior.float": {
				"priority": 19
			},
			"minecraft:type_family": {
				"family": [
					"lumifly",
					"arthropod"
				]
			},
			"minecraft:breathable": {
				"totalSupply": 15,
				"suffocateTime": 0
			},
			"minecraft:collision_box": {
				"width": 0.2,
				"height": 0.2
			},
			"minecraft:conditional_bandwidth_optimization": {},
			"minecraft:follow_range": {
				"value": 1024
			},
			"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.3
			},
			"minecraft:flying_speed": {
				"value": 0.15
			},
			"minecraft:navigation.hover": {
				"can_path_over_water": true,
				"can_sink": false,
				"can_pass_doors": false,
				"can_path_from_air": true,
				"avoid_water": true,
				"avoid_damage_blocks": true,
				"avoid_sun": false
			},
			"minecraft:movement.hover": {},
			"minecraft:jump.static": {},
			"minecraft:can_fly": true,
			"minecraft:health": {
				"value": 6,
				"max": 6
			},
			"minecraft:nameable": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"lumifly_wild"
					]
				}
			},
			"minecraft:on_tame": {
				"remove": {
					"component_groups": [
						"lumifly_wild"
					]
				},
				"add": {
					"component_groups": [
						"lumifly_tame"
					]
				}
			}
		}
	}
}