{
	"format_version": "1.21.0",
	"minecraft:entity": {
		"description": {
			"identifier": "dds_camping:caribou",
			"spawn_category": "creature",
			"is_spawnable": true,
			"is_summonable": true
		},
		"component_groups": {
			"minecraft:sheep_baby": {
				"minecraft:is_baby": {},
				"minecraft:scale": {
					"value": 0.5
				},
				"minecraft:ageable": {
					"duration": 1200,
					"feed_items": "apple",
					"grow_up": {
						"event": "minecraft:ageable_grow_up",
						"target": "self"
					}
				},
				"minecraft:behavior.follow_parent": {
					"priority": 6,
					"speed_multiplier": 1.1
				}
			},
			"minecraft:sheep_adult": {
				"minecraft:experience_reward": {
					"on_bred": "Math.Random(1,7)",
					"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
				},
				"minecraft:behavior.breed": {
					"priority": 3,
					"speed_multiplier": 1.0
				},
				"minecraft:breedable": {
					"require_tame": false,
					"breeds_with": {
						"mate_type": "dds_camping:caribou",
						"baby_type": "dds_camping:caribou"
					},
					"breed_items": "apple"
				}
			},
			"minecraft:sheep_wild": {
				"minecraft:health": {
					"value": 10,
					"max": 10
				},
				"minecraft:behavior.tempt": {
					"priority": 0,
					"speed_multiplier": 1,
					"within_radius": 16,
					"can_get_scared": true,
					"tempt_sound": "tempt",
					"sound_interval": [
						0,
						100
					],
					"items": [
						"minecraft:glow_berries"
					]
				},
				"minecraft:loot": {
					"table": "loot_tables/dds/camping/caribou.json"
				},
				"minecraft:tameable": {
					"probability": 0.3,
					"tame_items": "glow_berries",
					"tame_event": {
						"event": "minecraft:on_tame",
						"target": "self"
					}
				}
			},
			"minecraft:adult_tamed": {
				"minecraft:health": {
					"value": 20,
					"max": 20
				},
				"minecraft:behavior.tempt": {
					"priority": 0,
					"speed_multiplier": 1,
					"within_radius": 16,
					"can_get_scared": true,
					"tempt_sound": "tempt",
					"sound_interval": [
						0,
						100
					],
					"items": [
						"minecraft:glow_berries"
					]
				},
				"minecraft:is_tamed": {},
				"minecraft:input_ground_controlled": {},
				"minecraft:behavior.player_ride_tamed": {},
				"minecraft:buoyant": {
					"apply_gravity": false,
					"base_buoyancy": 0,
					"big_wave_probability": 0.03,
					"big_wave_speed": 10,
					"liquid_blocks": [
						"water"
					]
				},
				"minecraft:rideable": {
					"controlling_seat": 0,
					"crouching_skip_interact": true,
					"family_types": [
						"player"
					],
					"interact_text": "action.interact.ride.horse",
					"pull_in_entities": false,
					"rider_can_interact": false,
					"seat_count": 2,
					"seats": [
						{
							"position": [
								0,
								1.2,
								-0.2
							],
							"min_rider_count": 1,
							"max_rider_count": 2
						},
						{
							"position": [
								0,
								1.2,
								-0.8
							],
							"min_rider_count": 2,
							"max_rider_count": 2
						}
					]
				},
				"minecraft:healable": {
					"items": [
						{
							"item": "apple",
							"heal_amount": 3
						},
						{
							"item": "minecraft:sweet_berries",
							"heal_amount": 2
						},
						{
							"item": "minecraft:glow_berries",
							"heal_amount": 4
						},
						{
							"item": "minecraft:golden_apple",
							"heal_amount": 10
						}
					]
				}
			},
			"minecraft:sheep_sheared": {
				"minecraft:is_sheared": {}
			}
		},
		"components": {
			"minecraft:is_hidden_when_invisible": {},
			"minecraft:type_family": {
				"family": [
					"caribou",
					"mob"
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:collision_box": {
				"width": 0.9,
				"height": 1.3
			},
			"minecraft:nameable": {},
			"minecraft:hurt_on_condition": {
				"damage_conditions": [
					{
						"filters": {
							"test": "in_lava",
							"subject": "self",
							"operator": "==",
							"value": true
						},
						"cause": "lava",
						"damage_per_tick": 4
					}
				]
			},
			"minecraft:movement": {
				"value": 0.25
			},
			"minecraft:behavior.avoid_mob_type": {
				"priority": 6,
				"entity_types": [
					{
						"filters": {
							"test": "is_family",
							"subject": "other",
							"value": "player"
						},
						"max_dist": 10,
						"walk_speed_multiplier": 0.8,
						"sprint_speed_multiplier": 1.33
					}
				]
			},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"avoid_water": true
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:leashable": {
				"soft_distance": 4.0,
				"hard_distance": 6.0,
				"max_distance": 10.0
			},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:variable_max_auto_step": {
				"base_value": 1.0625,
				"controlled_value": 1.0625,
				"jump_prevented_value": 0.5625
			},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.panic": {
				"priority": 1,
				"speed_multiplier": 1.25
			},
			"minecraft:behavior.mount_pathing": {
				"priority": 2,
				"speed_multiplier": 1.5,
				"target_dist": 0.0,
				"track_target": true
			},
			"minecraft:behavior.follow_parent": {
				"priority": 5,
				"speed_multiplier": 1.1
			},
			"minecraft:behavior.eat_block": {
				"priority": 6,
				"success_chance": "query.is_baby ? 0.02 : 0.001",
				"time_until_eat": 1.8,
				"eat_and_replace_block_pairs": [
					{
						"eat_block": "grass",
						"replace_block": "dirt"
					},
					{
						"eat_block": "tallgrass",
						"replace_block": "air"
					},
					{
						"eat_block": "mossy_cobblestone",
						"replace_block": "cobblestone"
					}
				],
				"on_eat": {
					"event": "minecraft:on_eat_block",
					"target": "self"
				}
			},
			"minecraft:behavior.random_stroll": {
				"priority": 7,
				"speed_multiplier": 0.8
			},
			"minecraft:behavior.look_at_player": {
				"priority": 8,
				"look_distance": 6.0,
				"probability": 0.02
			},
			"minecraft:behavior.random_look_around": {
				"priority": 9
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:conditional_bandwidth_optimization": {}
		},
		"events": {
			"minecraft:entity_spawned": {
				"sequence": [
					{
						"randomize": [
							{
								"weight": 95,
								"remove": {},
								"trigger": "spawn_adult"
							},
							{
								"weight": 5,
								"remove": {},
								"trigger": "spawn_baby"
							}
						]
					}
				]
			},
			"spawn_adult": {
				"add": {
					"component_groups": [
						"minecraft:sheep_adult",
						"minecraft:sheep_wild"
					]
				}
			},
			"spawn_baby": {
				"add": {
					"component_groups": [
						"minecraft:sheep_baby"
					]
				}
			},
			"minecraft:entity_born": {
				"remove": {},
				"add": {
					"component_groups": [
						"minecraft:sheep_baby"
					]
				}
			},
			"minecraft:ageable_grow_up": {
				"remove": {
					"component_groups": [
						"minecraft:sheep_baby"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:sheep_adult"
					]
				}
			},
			"minecraft:on_eat_block": {
				"sequence": [
					{
						"remove": {
							"component_groups": [
								"minecraft:sheep_sheared"
							]
						}
					},
					{
						"filters": {
							"subject": "self",
							"test": "has_component",
							"operator": "!=",
							"value": "minecraft:is_baby"
						}
					}
				]
			},
			"minecraft:on_tame": {
				"remove": {
					"component_groups": [
						"minecraft:sheep_wild"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:adult_tamed"
					]
				}
			}
		}
	}
}