{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_682_cu",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"sleeping": {
				"minecraft:environment_sensor": {
					"triggers": [
						{
							"filters": {
								"test": "is_daytime",
								"value": true
							},
							"event": "wake_up"
						}
					]
				},
				"minecraft:damage_sensor": {
					"triggers": [
						{
							"on_damage": {
								"event": "woken_up"
							}
						}
					]
				},
				"minecraft:interact": {
					"interactions": [
						{
							"on_interact": {
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "scpcat"
										}
									]
								},
								"event": "woken_up"
							}
						}
					]
				},
				"minecraft:timer": {
					"time": 300,
					"time_down_event": {
						"event": "wake_up"
					}
				},
				"minecraft:behavior.lay_down": {
					"priority": 1,
					"interval": 50,
					"random_stop_interval": 50000
				}
			},
			"sleep_timer": {
				"minecraft:timer": {
					"time": 15,
					"time_down_event": {
						"event": "sleep_again"
					}
				}
			}
		},
		"components": {
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {
				"avoid_sun": false,
				"is_amphibious": false,
				"avoid_portals": true,
				"avoid_powder_snow": true,
				"avoid_water": false,
				"avoid_damage_blocks": true,
				"can_break_doors": false,
				"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.3
			},
			"minecraft:health": {
				"value": 10,
				"max": 10
			},
			"minecraft:healable": {
				"items": [
					{
						"item": "minecraft:cookie",
						"heal_amount": 5
					},
					{
						"item": "minecraft:sweet_berries",
						"heal_amount": 6
					},
					{
						"item": "minecraft:beef",
						"heal_amount": 10
					},
					{
						"item": "minecraft:cooked_beef",
						"heal_amount": 15
					},
					{
						"item": "minecraft:chicken",
						"heal_amount": 13
					},
					{
						"item": "minecraft:cooked_chicken",
						"heal_amount": 20
					},
					{
						"item": "minecraft:salmon",
						"heal_amount": 11
					},
					{
						"item": "minecraft:cooked_salmon",
						"heal_amount": 16
					},
					{
						"item": "minecraft:porkchop",
						"heal_amount": 13
					},
					{
						"item": "minecraft:cooked_porkchop",
						"heal_amount": 25
					}
				]
			},
			"minecraft:tameable": {
				"tame_items": [
					"minecraft:cookie",
					"minecraft:beef",
					"minecraft:cooked_beef",
					"minecraft:sweet_berries",
					"minecraft:porkchop",
					"minecraft:cooked_porkchop",
					"minecraft:salmon",
					"minecraft:cooked_salmon",
					"minecraft:chicken",
					"minecraft:cooked_chicken"
				],
				"probability": 0.5
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:scale": {
				"value": 0.8
			},
			"minecraft:type_family": {
				"family": [
					"friendlyscp"
				]
			},
			"minecraft:behavior.follow_owner": {
				"priority": 1,
				"speed_multiplier": 0.3,
				"start_distance": 20,
				"stop_distance": 15
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:nameable": {},
			"minecraft:behavior.look_at_player": {
				"priority": 6,
				"look_distance": 30,
				"look_time": 3
			},
			"minecraft:behavior.random_look_around": {
				"priority": 5,
				"look_time": 3
			},
			"minecraft:collision_box": {
				"width": 0.5,
				"height": 2
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"filters": {
							"test": "is_daytime",
							"value": false
						},
						"event": "sleep"
					}
				]
			}
		},
		"events": {
			"sleep": {
				"add": {
					"component_groups": [
						"sleeping"
					]
				}
			},
			"wake_up": {
				"remove": {
					"component_groups": [
						"sleeping"
					]
				},
				"add": {
					"component_groups": [
						"sleep_timer"
					]
				}
			},
			"woken_up": {
				"remove": {
					"component_groups": [
						"sleeping"
					]
				},
				"add": {
					"component_groups": [
						"sleep_timer"
					]
				}
			},
			"sleep_again": {
				"add": {
					"component_groups": [
						"sleeping"
					]
				},
				"remove": {
					"component_groups": [
						"sleep_timer"
					]
				}
			}
		}
	}
}