{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_940",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false,
			"runtime_identifier": "minecraft:spider"
		},
		"component_groups": {},
		"components": {
			"minecraft:movement.basic": {},
			"minecraft:navigation.climb": {
				"is_amphibious": false,
				"avoid_portals": false,
				"avoid_powder_snow": true,
				"avoid_sun": false,
				"avoid_water": true,
				"avoid_damage_blocks": true,
				"can_break_doors": true,
				"can_open_doors": false,
				"can_pass_doors": true,
				"can_path_over_water": true,
				"can_path_over_lava": false,
				"can_path_from_air": false,
				"can_sink": false,
				"can_walk_in_lava": false
			},
			"minecraft:behavior.random_stroll": {
				"priority": 2,
				"speed_multiplier": 0.6
			},
			"minecraft:health": {
				"value": 50,
				"max": 50
			},
			"minecraft:can_climb": {},
			"minecraft:jump.static": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:type_family": {
				"family": [
					"scp"
				]
			},
			"minecraft:attack": {
				"damage": 10
			},
			"minecraft:behavior.nearest_attackable_target": {
				"entity_types": [
					{
						"filters": {
							"other_with_families": [
								"player",
								"animal",
								"mob",
								"recontainhuman",
								"mtfepsilon11",
								"recontainhumanfriendly"
							]
						},
						"must_see": true,
						"max_dist": 50
					}
				],
				"reselect_targets": true
			},
			"minecraft:behavior.melee_attack": {
				"priority": 1,
				"speed_multiplier": 1,
				"on_attack": {
					"event": "scp940attackevent",
					"target": "self"
				},
				"on_kill": {
					"event": "scp940spawn"
				}
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:follow_range": {
				"value": 50,
				"max": 50
			},
			"minecraft:behavior.mount_pathing": {
				"priority": 5,
				"speed_multiplier": 1.25,
				"target_dist": 0,
				"track_target": true
			},
			"minecraft:behavior.float": {
				"priority": 2
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:nameable": {},
			"minecraft:breathable": {
				"totalSupply": 10,
				"suffocateTime": 0
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?20:0"
			},
			"minecraft:annotation.break_door": {
				"break_time": 0.5,
				"min_difficulty": "normal"
			},
			"minecraft:behavior.break_door": {
				"priority": 4,
				"speed_multiplier": 1
			}
		},
		"events": {
			"scp940spawn": {
				"queue_command": {
					"command": [
						"summon scpcf:scp_940_larva",
						"summon scpcf:scp_940_larva",
						"summon scpcf:scp_940_larva",
						"summon scpcf:scp_940_larva"
					]
				}
			},
			"scp940attackevent": {
				"queue_command": {
					"command": [
						"tag @s add scpfleafunction"
					],
					"target": "target"
				}
			}
		}
	}
}