{
	"format_version": "1.21.0",
	"minecraft:entity": {
		"description": {
			"identifier": "manalabs_scp:scp439_hive",
			"spawn_egg_name": "Spawn Bone Hive",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false,
			"desciption": "Bone hive",
			"animations": {
				"spawn_controll": "controller.animation.manalabs_scp.scp439_hive.spawn_controll",
				"spawner": "controller.animation.manalabs_scp.scp439_hive.spawner"
			},
			"scripts": {
				"animate": [
					{
						"spawn_controll": "query.life_time < 5"
					},
					{
						"spawner": "query.health > 1"
					}
				]
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"movement": {
				"minecraft:movement.basic": {
					"max_turn": 0
				},
				"minecraft:movement": {
					"value": 0.0
				}
			},
			"start_death": {
				"minecraft:type_family": {
					"family": [
						"mob",
						"monster",
						"hostile",
						"manalabs_scp_scp",
						"manalabs_scp_scp439_hive",
						"manalabs_scp_dead"
					]
				},
				"minecraft:damage_sensor": {
					"triggers": {
						"deals_damage": false
					}
				},
				"minecraft:movement": {
					"value": 0.0
				},
				"minecraft:health": {
					"value": 1,
					"max": 1,
					"min": 1
				},
				"minecraft:movement.basic": {
					"max_turn": 0
				},
				"minecraft:pushable": {
					"is_pushable": false,
					"is_pushable_by_piston": false
				},
				"minecraft:knockback_resistance": {
					"value": 1
				},
				"minecraft:attack": {
					"damage": 0
				}
			},
			"death": {
				"minecraft:health": {
					"value": 0,
					"max": 0
				},
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"event": "despawn",
						"target": "self",
						"filters": {
							"test": "is_difficulty",
							"operator": "==",
							"value": "peaceful"
						}
					}
				]
			},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:conditional_bandwidth_optimization": {},
			"minecraft:loot": {
				"table": "loot_tables/manalabs/scp/scp439_hive.loot.json"
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": true
			},
			"minecraft:physics": {
				"has_collision": true,
				"has_gravity": true
			},
			"minecraft:collision_box": {
				"height": 1.0,
				"width": 1.0
			},
			"minecraft:knockback_resistance": {
				"value": 1,
				"max": 1
			},
			"minecraft:health": {
				"value": 16,
				"max": 16
			},
			"minecraft:type_family": {
				"family": [
					"mob",
					"monster",
					"hostile",
					"manalabs_scp_scp",
					"manalabs_scp_scp439_hive"
				]
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"movement"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"start_death": {
				"remove": {
					"component_groups": [
						"movement",
						"attack_knockback"
					]
				},
				"add": {
					"component_groups": [
						"start_death"
					]
				}
			},
			"death": {
				"add": {
					"component_groups": [
						"death"
					]
				}
			}
		}
	}
}