{
	"format_version": "1.21.70",
	"minecraft:entity": {
	  "description": {
		"identifier": "scpcf:scp_173",
		"is_spawnable": true,
		"is_summonable": true,
		"properties": {
		  "minecraft:creaking_state": {
			"type": "enum",
			"values": ["neutral", "hostile_observed", "hostile_unobserved"],
			"default": "neutral",
			"client_sync": true
		  }
		}
	  },
	  "components": {
		"minecraft:type_family": {
		  "family": ["scp"]
		},
		"minecraft:health": {
		  "value": 1200,
		  "max": 1200
		},
		"minecraft:attack": {
		  "damage": 120
		},
		"minecraft:knockback_resistance": {
		  "value": 1.0
		},
		"minecraft:pushable": {
		  "is_pushable": false,
		  "is_pushable_by_piston": true
		},
		"minecraft:break_blocks": {
			"breakable_blocks": [
				"glass"
			]
		},
		"minecraft:mob_effect_immunity": {
			"mob_effects": [
				"absorption",
				"bad_omen",
				"blindness",
				"conduit_power",
				"darkness",
				"fatal_poison",
				"fire_resistance",
				"haste",
				"health_boost",
				"hunger",
				"infested",
				"instant_damage",
				"instant_health",
				"invisibility",
				"jump_boost",
				"levitation",
				"mining_fatigue",
				"nausea",
				"night_vision",
				"oozing",
				"poison",
				"raid_omen",
				"regeneration",
				"resistance",
				"saturation",
				"slow_falling",
				"slowness",
				"speed",
				"strength",
				"trial_omen",
				"village_hero",
				"water_breathing",
				"weakness",
				"weaving",
				"wind_charged",
				"wither"
			]
		},
		"minecraft:is_collidable": {},
		"minecraft:physics": {},
		"minecraft:jump.static": {},
		"minecraft:fire_immune": {},
	"minecraft:damage_sensor": {
  "triggers": [
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "operator": "!=",
              "value": "player"
            }
          ]
        },
		"event": "deflectsound"
      },
      "deals_damage": "no"
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            {
              "test": "has_equipment",
              "subject": "other",
              "domain": "hand",
              "value": "minecraft:wooden_pickaxe"
            }
          ]
        }
      },
      "damage_modifier": 5,
      "deals_damage": "yes"
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            {
              "test": "has_equipment",
              "subject": "other",
              "domain": "hand",
              "value": "minecraft:stone_pickaxe"
            }
          ]
        }
      },
      "damage_modifier": 10,
      "deals_damage": "yes"
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            {
              "test": "has_equipment",
              "subject": "other",
              "domain": "hand",
              "value": "minecraft:golden_pickaxe"
            }
          ]
        }
      },
      "damage_modifier": 15,
      "deals_damage": "yes"
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            {
              "test": "has_equipment",
              "subject": "other",
              "domain": "hand",
              "value": "minecraft:iron_pickaxe"
            }
          ]
        }
      },
      "damage_modifier": 25,
      "deals_damage": "yes"
    },
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            {
              "test": "has_equipment",
              "subject": "other",
              "domain": "hand",
              "value": "minecraft:diamond_pickaxe"
            }
          ]
        }
      },
      "damage_modifier": 35,
      "deals_damage": "yes"
    },
	{
		"on_damage": {
		  "filters": {
			"all_of": [
			  {
				"test": "is_family",
				"subject": "other",
				"value": "player"
			  },
			  {
				"test": "has_equipment",
				"subject": "other",
				"domain": "hand",
				"value": "minecraft:netherite_pickaxe"
			  }
			]
		  }
		},
		  "damage_modifier": 50,
		  "deals_damage": "yes"
	},			
    {
      "on_damage": {
        "filters": {
          "all_of": [
            {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            }
          ]
        },
		"event": "deflectsound"
      },
      "deals_damage": "no"
    }
  ]
},
		"minecraft:breathable": {
		  "breathes_solids": true,
		  "breathes_water": true
		},
		"minecraft:nameable": {
          "default_trigger": {
          "event": "fixedcollision",
          "target": "self"
        },
        "name_actions": [
        {
          "name_filter": "Peanut",
          "on_named": {
            "event": "peanutcollision",
            "target": "self"
          }
        },
		{
			"name_filter": "peanut",
			"on_named": {
			  "event": "peanutcollision",
			  "target": "self"
			}
		  }
      ]
    },
		"minecraft:can_climb": {},
		"minecraft:movement.basic": {},
		"minecraft:variable_max_auto_step": {
		  "base_value": 2.0625,
		  "jump_prevented_value": 1.5625
		},
		"minecraft:follow_range": {
		  "value": 36,
		  "max": 36
		}
	  },
	  "component_groups": {
		"fixedcollision": {
			"minecraft:collision_box": {
			  "width": 0.65,
			  "height": 1.585
			}
		},
		"peanutcollision": {
			"minecraft:collision_box": {
			  "width": 0.55,
			  "height": 1.585
			}
		},
		"variantshift1": {
			"minecraft:variant": {
				"value": 0
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:temporal_shifter"
									}
								]
							},
							"event": "variantshift2"
						},
						"use_item": false,
						"swing": true,
						"interact_text": "Shift Variant.",
						"play_sounds": "armor.equip_generic"
					}
				]
			}
		},
		"variantshift2": {
			"minecraft:variant": {
				"value": 1
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:temporal_shifter"
									}
								]
							},
							"event": "variantshift3"
						},
						"use_item": false,
						"swing": true,
						"interact_text": "Shift Variant.",
						"play_sounds": "armor.equip_generic"
					}
				]
			}
		},
		"variantshift3": {
			"minecraft:variant": {
				"value": 2
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:temporal_shifter"
									}
								]
							},
							"event": "variantshift4"
						},
						"use_item": false,
						"swing": true,
						"interact_text": "Shift Variant.",
						"play_sounds": "armor.equip_generic"
					}
				]
			}
		},
		"variantshift4": {
			"minecraft:variant": {
				"value": 3
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:temporal_shifter"
									}
								]
							},
							"event": "variantshift5"
						},
						"use_item": false,
						"swing": true,
						"interact_text": "Shift Variant.",
						"play_sounds": "armor.equip_generic"
					}
				]
			}
		},
		"variantshift5": {
			"minecraft:variant": {
				"value": 4
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:temporal_shifter"
									}
								]
							},
							"event": "variantshift6"
						},
						"use_item": false,
						"swing": true,
						"interact_text": "Shift Variant.",
						"play_sounds": "armor.equip_generic"
					}
				]
			}
		},
		"variantshift6": {
			"minecraft:variant": {
				"value": 5
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_equipment",
										"domain": "hand",
										"subject": "other",
										"value": "scpcf:temporal_shifter"
									}
								]
							},
							"event": "variantshift1"
						},
						"use_item": false,
						"swing": true,
						"interact_text": "Shift Variant.",
						"play_sounds": "armor.equip_generic"
					}
				]
			}
		},
		"minecraft:spawned_by_player": {
		  "minecraft:navigation.walk": {
			"can_path_over_water": true,
			"can_path_over_lava": false,
			"avoid_damage_blocks": true,
			"can_pass_doors": true,
			"can_sink": true,
			"can_break_doors": true
		  },
		  "minecraft:environment_sensor": {
			"triggers": [
			  {
				"filters": {
				  "all_of": [
					{
					  "any_of": [
						{ "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_observed" },
						{ "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_unobserved" }
					  ]
					},
					{
					  "any_of": [
						{ "test": "has_target", "value": false },
						{ "test": "actor_health", "subject": "target", "value": 0 },
						{ "test": "target_distance", "operator": ">", "value": 36 }
					  ]
					}
				  ]
				},
				"event": "minecraft:become_neutral"
			  }
			]
		  }
		},
		"minecraft:mobile": {
		  "minecraft:movement": {
			"value": 0.75
		  },
		  "minecraft:behavior.open_door": {
			"priority": 6,
			"close_door_after": false
		  },
		  "minecraft:annotation.open_door": {},
		  "minecraft:behavior.melee_box_attack": {
			"priority": 1,
			"cooldown_time": 0
		  }
		},
		"minecraft:immobile": {
		  "minecraft:movement": {
			"value": 0.0
		  },
		  "minecraft:knockback_resistance": {
			"value": 1.0
		  },
		  "minecraft:pushable": {
			"is_pushable": false,
			"is_pushable_by_piston": false
		  },
		  "minecraft:body_rotation_blocked": {}
		},
		"minecraft:neutral": {
			"minecraft:looked_at": {
				"search_radius": 24.0,
				"look_at_locations": [
				  { "location": "head" },
				  { "location": "body" },
				  {
					"location": "feet",
					"vertical_offset": 0.5
				  }
				],
				"set_target": "once_and_keep_scanning",
				"find_players_only": false,
				"looked_at_cooldown": 0,
				"field_of_view": 1000,
				"scale_fov_by_distance": false,
				"line_of_sight_obstruction_type": "collision_for_camera",
				"looked_at_event": {
				  "event": "minecraft:become_hostile",
				  "filter": "self"
				},
				"filters": {
					"all_of": [
					  { "test": "actor_health", "subject": "other", "operator": ">", "value": 0 },
					  { "test": "is_family", "subject": "other", "operator": "not", "value": "scp" },
					  { "test": "is_family", "subject": "other", "operator": "not", "value": "inanimate" }
					]
				  }
		  },
		  "minecraft:on_target_acquired": {
    "event": "minecraft:become_hostile"
},
		  "minecraft:ambient_sound_interval": {},
		  "minecraft:behavior.random_stroll": {
			"priority": 7,
			"interval": 3000,
			"speed_multiplier": 0.75
		  },
		  "minecraft:behavior.nearest_attackable_target": {
			"priority": 0,
			"within_radius": 24,
			"reselect_targets": true,
			"must_see": true,
			"entity_types": [
			  {
				"filters": {
				  "all_of": [
					{ "test": "is_family", "subject": "other", "operator": "not", "value": "scp" },
					{ "test": "is_family", "subject": "other", "operator": "not", "value": "inanimate" },
					{ "test": "actor_health", "subject": "other", "operator": ">", "value": 0 }
				  ]
				},
				"max_dist": 24
			  }
			]
		}
		},
		"minecraft:hostile": {
		  "minecraft:looked_at": {
			"search_radius": 36.0,
			"look_at_locations": [
			  { "location": "head" },
			  { "location": "body" },
			  { "location": "feet", "vertical_offset": 0.5 }
			],
			"set_target": "never",
			"find_players_only": false,
			"looked_at_cooldown": 0,
			"field_of_view": 120,
			"scale_fov_by_distance": false,
			"line_of_sight_obstruction_type": "collision_for_camera",
			"looked_at_event": {
			  "event": "minecraft:on_target_start_looking",
			  "filter": "self"
			},
			"not_looked_at_event": {
			  "event": "minecraft:on_target_stop_looking",
			  "filter": "self"
			},
			"filters": {
			  "all_of": [
				{ "test": "actor_health", "subject": "other", "operator": ">", "value": 0 },
				{
				  "none_of": [
					{ "test": "is_family", "subject": "other", "value": "scp" },
					{ "test": "is_family", "subject": "other", "value": "inanimate" }
				  ]
				}
			  ]
			}
		  },
		  "minecraft:behavior.nearest_attackable_target": {
			"priority": 0,
			"within_radius": 36,
			"reselect_targets": true,
			"must_see": true,
			"entity_types": [
			  {
				"filters": {
				  "all_of": [
					{ "test": "is_family", "subject": "other", "operator": "not", "value": "scp" },
					{ "test": "is_family", "subject": "other", "operator": "not", "value": "inanimate" },
					{ "test": "actor_health", "subject": "other", "operator": ">", "value": 0 }
				  ]
				},
				"max_dist": 36
			  }
			]
		  },
		  "minecraft:annotation.break_door": {
			"break_time": 0,
			"min_difficulty": "normal"
		  }
		},
		"minecraft:hostile_unobserved": {
		  "minecraft:behavior.melee_box_attack": {
			"priority": 1,
			"cooldown_time": 0
		  }
		}
	  },
	  "events": {
		"deflectsound": {
			"queue_command": {
				"command": [
                    "playsound block.mud_bricks.break @a[r=15]"
				]
			}
		},
		"fixedcollision": {
			"add": {
				"component_groups": [
					"fixedcollision"
				]
			},
			"remove": {
				"component_groups": [
					"peanutcollision"
				]
			}
		},
		"peanutcollision": {
			"add": {
				"component_groups": [
					"peanutcollision"
				]
			},
			"remove": {
				"component_groups": [
					"fixedcollision"
				]
			}
		},
		"minecraft:entity_spawned": {
		  "add": {
			"component_groups": ["minecraft:spawned_by_player", "minecraft:neutral", "minecraft:mobile", "variantshift1", "fixedcollision"]
		  }
		},
		"variantshift1": {
			"add": {
				"component_groups": [
					"variantshift1"
				]
			},
			"remove": {
				"component_groups": [
					"variantshift6"
				]
			}
		},
		"variantshift2": {
			"add": {
				"component_groups": [
					"variantshift2"
				]
			},
			"remove": {
				"component_groups": [
					"variantshift1"
				]
			}
		},
		"variantshift3": {
			"add": {
				"component_groups": [
					"variantshift3"
				]
			},
			"remove": {
				"component_groups": [
					"variantshift2"
				]
			}
		},
		"variantshift4": {
			"add": {
				"component_groups": [
					"variantshift4"
				]
			},
			"remove": {
				"component_groups": [
					"variantshift3"
				]
			}
		},
		"variantshift5": {
			"add": {
				"component_groups": [
					"variantshift5"
				]
			},
			"remove": {
				"component_groups": [
					"variantshift4"
				]
			}
		},
		"variantshift6": {
			"add": {
				"component_groups": [
					"variantshift6"
				]
			},
			"remove": {
				"component_groups": [
					"variantshift5"
				]
			}
		},
		"minecraft:become_hostile": {
		  "sequence": [
			{
			  "randomize": [
				{
				  "weight": 9,
				  "queue_command": {
					"command": ["playsound scp173.find @a[r=15]"]
				  },
				  "filters": {
					"test": "enum_property",
					"domain": "minecraft:creaking_state",
					"value": "neutral"
				  },
				  "add": {
					"component_groups": ["minecraft:hostile", "minecraft:immobile"]
				  },
				  "remove": {
					"component_groups": ["minecraft:neutral", "minecraft:hostile_unobserved", "minecraft:mobile"]
				  },
				  "set_property": {
					"minecraft:creaking_state": "hostile_observed"
				  }
				},
				{
				  "weight": 9,
				  "queue_command": {
					"command": ["playsound scp173.findagain @a[r=15]"]
				  },
				  "filters": {
					"test": "enum_property",
					"domain": "minecraft:creaking_state",
					"value": "neutral"
				  },
				  "add": {
					"component_groups": ["minecraft:hostile", "minecraft:immobile"]
				  },
				  "remove": {
					"component_groups": ["minecraft:neutral", "minecraft:hostile_unobserved", "minecraft:mobile"]
				  },
				  "set_property": {
					"minecraft:creaking_state": "hostile_observed"
				  }
				}
			  ]
			}
		  ]
		},
		"minecraft:become_neutral": {
		  "filters": {
			"test": "enum_property",
			"domain": "minecraft:creaking_state",
			"operator": "not",
			"value": "neutral"
		  },
		  "add": {
			"component_groups": ["minecraft:neutral", "minecraft:mobile"]
		  },
		  "remove": {
			"component_groups": ["minecraft:hostile", "minecraft:hostile_unobserved", "minecraft:immobile"]
		  },
		  "set_property": {
			"minecraft:creaking_state": "neutral"
		  },
		  "reset_target": {}
		},
		"minecraft:on_target_start_looking": {
		  "filters": {
			"test": "enum_property",
			"domain": "minecraft:creaking_state",
			"value": "hostile_unobserved"
		  },
		  "add": {
			"component_groups": ["minecraft:hostile", "minecraft:immobile"]
		  },
		  "remove": {
			"component_groups": ["minecraft:neutral", "minecraft:hostile_unobserved", "minecraft:mobile"]
		  },
		  "set_property": {
			"minecraft:creaking_state": "hostile_observed"
		  },
		  "emit_vibration": {
			"vibration": "entity_act"
		  },
		  "play_sound": {
			"sound": "freeze"
		  }
		},
		"minecraft:on_target_stop_looking": {
		  "filters": {
			"test": "enum_property",
			"domain": "minecraft:creaking_state",
			"value": "hostile_observed"
		  },
		  "add": {
			"component_groups": ["minecraft:hostile", "minecraft:hostile_unobserved", "minecraft:mobile"]
		  },
		  "remove": {
			"component_groups": ["minecraft:neutral", "minecraft:immobile"]
		  },
		  "set_property": {
			"minecraft:creaking_state": "hostile_unobserved"
		  },
		  "emit_vibration": {
			"vibration": "entity_act"
		  },
		  "play_sound": {
			"sound": "unfreeze"
		  }
		},
		"scp173playsoundevent": {
		  "sequence": [
			{
			  "randomize": [
				{
				  "weight": 9,
				  "queue_command": {
					"command": ["playsound scp173.find @a[r=15]"]
				  }
				},
				{
				  "weight": 9,
				  "queue_command": {
					"command": ["playsound scp173.findagain @a[r=15]"]
				  }
				}
			  ]
			}
		  ]
		}
	  }
	}
  }
  