{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:class_d",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"classdone": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"classdtwo": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"classdthree": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"classdfour": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"classdfive": {
				"minecraft:variant": {
					"value": 4
				}
			},
			"classdsix": {
				"minecraft:variant": {
					"value": 5
				}
			},
			"scp008zombie": {
				"minecraft:transformation": {
					"into": "scpcf:scp_008_zombie_class_d"
				}
			},
			"scp049zombie": {
				"minecraft:transformation": {
					"into": "scpcf:scp_049_zombie_class_d"
				}
			},
			"moving": {
				"minecraft:movement": {
					"value": 0.4
				},
				"minecraft:movement.basic": {},
				"minecraft:behavior.random_stroll": {
					"priority": 3,
					"speed_multiplier": 0.8
				},
				"minecraft:pushable": {
					"is_pushable": true,
					"is_pushable_by_piston": true
				},
				"minecraft:interact": {
					"interactions": [
						{
							"on_interact": {
								"event": "stopmoving",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:stand_still_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Stop Class-D From Moving",
							"play_sounds": "armor.equip_generic"
						},
						{
							"on_interact": {
								"event": "move",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:move_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Allow Class-D To Move",
							"play_sounds": "armor.equip_generic"
						}
					]
				}
			},
			"stopmoving": {
				"minecraft:pushable": {
					"is_pushable": false,
					"is_pushable_by_piston": true
				},
				"minecraft:movement": {
					"value": 0
				},
				"minecraft:movement.basic": {},
				"minecraft:interact": {
					"interactions": [
						{
							"on_interact": {
								"event": "stopmoving",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:stand_still_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Stop Class-D From Moving",
							"play_sounds": "armor.equip_generic"
						},
						{
							"on_interact": {
								"event": "move",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:move_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Allow Class-D To Move",
							"play_sounds": "armor.equip_generic"
						}
					]
				}
			}
		},
		"components": {
			"minecraft:movement": {
				"value": 0.4
			},
			"minecraft:navigation.walk": {
				"is_amphibious": false,
				"avoid_portals": false,
				"avoid_powder_snow": false,
				"avoid_sun": false,
				"avoid_water": false,
				"avoid_damage_blocks": false,
				"can_break_doors": false,
				"can_open_doors": true,
				"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": 3,
				"speed_multiplier": 0.8
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:type_family": {
				"family": [
					"recontainhuman"
				]
			},
			"minecraft:health": {
				"value": 25,
				"max": 25
			},
			"minecraft:physics": {},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 30
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8,
				"look_time": [
					2,
					3
				]
			},
			"minecraft:behavior.avoid_mob_type": {
				"entity_types": [
					{
						"filters": {
							"any_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "scp"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "scp682"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "aquaticscp"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "scp096"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "scp1145"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "scp594"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "scp705entity"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "066eric"
								},
								{
									"test": "is_family",
									"subject": "other",
									"value": "ntfgrenade"
								}
							]
						},
						"max_dist": 6,
						"walk_speed_multiplier": 1,
						"sprint_speed_multiplier": 1
					}
				]
			},
			"minecraft:nameable": {},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"any_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp008zombie"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp008zombievillager"
									}
								],
								"all_of": [
									{
										"test": "has_damage",
										"value": "fatal"
									}
								]
							},
							"event": "become_zombie_scp_008"
						}
					},
					{
						"on_damage": {
							"filters": {
								"any_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp049"
									}
								],
								"all_of": [
									{
										"test": "has_damage",
										"value": "fatal"
									}
								]
							},
							"event": "scp049zombiesummon"
						}
					}
				]
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1,
				"entity_types": {
					"filters": {
						"any_of": [
							{
								"test": "is_family",
								"subject": "other",
								"value": "player"
							}
						]
					}
				}
			},
			"minecraft:behavior.melee_attack": {
				"priority": 2,
				"speed_multiplier": 0.8
			},
			"minecraft:attack": {
				"damage": 4
			},
			"minecraft:breathable": {
				"totalSupply": 15,
				"suffocateTime": 0
			},
			"minecraft:behavior.float": {
				"priority": 2
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?6:0"
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"randomize": [
					{
						"weight": 1,
						"add": {
							"component_groups": [
								"classdone",
								"moving"
							]
						}
					},
					{
						"weight": 1,
						"add": {
							"component_groups": [
								"classdtwo",
								"moving"
							]
						}
					},
					{
						"weight": 1,
						"add": {
							"component_groups": [
								"classdthree",
								"moving"
							]
						}
					},
					{
						"weight": 1,
						"add": {
							"component_groups": [
								"classdfour",
								"moving"
							]
						}
					},
					{
						"weight": 1,
						"add": {
							"component_groups": [
								"classdfive",
								"moving"
							]
						}
					},
					{
						"weight": 1,
						"add": {
							"component_groups": [
								"classdsix",
								"moving"
							]
						}
					}
				]
			},
			"become_zombie_scp_008": {
				"add": {
					"component_groups": [
						"scp008zombie"
					]
				}
			},
			"scp049zombiesummon": {
				"add": {
					"component_groups": [
						"scp049zombie"
					]
				}
			},
			"stopmoving": {
				"remove": {
					"component_groups": [
						"moving"
					]
				},
				"add": {
					"component_groups": [
						"stopmoving"
					]
				}
			},
			"move": {
				"add": {
					"component_groups": [
						"moving"
					]
				},
				"remove": {
					"component_groups": [
						"stopmoving"
					]
				}
			}
		}
	}
}