{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_939_baby_villager",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"scp939a": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_a"
				}
			},
			"scp939b": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_b"
				}
			},
			"scp939c": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_c"
				}
			},
			"scp939d": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_d"
				}
			},
			"scp939e": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_e"
				}
			},
			"scp939f": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_f"
				}
			},
			"scp939g": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_g"
				}
			},
			"scp939h": {
				"minecraft:transformation": {
					"into": "scpcf:scp_939_h"
				}
			},
			"scp939babyvillager1": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"scp939babyvillager2": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"scp939babyvillager3": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"scp939babyvillager4": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"scp939babyvillager5": {
				"minecraft:variant": {
					"value": 4
				}
			},
			"scp939babyvillager6": {
				"minecraft:variant": {
					"value": 5
				}
			},
			"scp939babyvillager7": {
				"minecraft:variant": {
					"value": 6
				}
			}
		},
		"components": {
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {
				"is_amphibious": false,
				"avoid_portals": false,
				"avoid_powder_snow": false,
				"avoid_water": false,
				"avoid_sun": false,
				"avoid_damage_blocks": false,
				"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.4
			},
			"minecraft:health": {
				"value": 20,
				"max": 20
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 30
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8,
				"look_time": [
					2,
					3
				]
			},
			"minecraft:type_family": {
				"family": [
					"scp"
				]
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:scale": {
				"value": 0.5
			},
			"minecraft:timer": {
				"looping": false,
				"time": 400,
				"time_down_event": {
					"event": "scp939transform"
				}
			},
			"minecraft:nameable": {},
			"minecraft:breathable": {
				"totalSupply": 15,
				"suffocateTime": 0
			},
			"minecraft:behavior.float": {
				"priority": 2
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"sequence": [
					{
						"filters": {
							"test": "has_component",
							"operator": "!=",
							"value": "minecraft:variant"
						}
					},
					{
						"filters": {
							"any_of": [
								{
									"test": "has_biome_tag",
									"value": "desert"
								},
								{
									"test": "has_biome_tag",
									"value": "mesa"
								}
							]
						},
						"add": {
							"component_groups": [
								"scp939babyvillager3"
							]
						}
					},
					{
						"filters": {
							"test": "has_biome_tag",
							"value": "jungle"
						},
						"add": {
							"component_groups": [
								"scp939babyvillager2"
							]
						}
					},
					{
						"filters": {
							"test": "has_biome_tag",
							"value": "savanna"
						},
						"add": {
							"component_groups": [
								"scp939babyvillager4"
							]
						}
					},
					{
						"filters": {
							"any_of": [
								{
									"all_of": [
										{
											"test": "has_biome_tag",
											"value": "cold"
										},
										{
											"test": "has_biome_tag",
											"operator": "!=",
											"value": "ocean"
										}
									]
								},
								{
									"test": "has_biome_tag",
									"value": "frozen"
								}
							]
						},
						"add": {
							"component_groups": [
								"scp939babyvillager5"
							]
						}
					},
					{
						"filters": {
							"test": "has_biome_tag",
							"value": "swamp"
						},
						"add": {
							"component_groups": [
								"scp939babyvillager6"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"any_of": [
										{
											"test": "has_biome_tag",
											"value": "taiga"
										},
										{
											"test": "has_biome_tag",
											"value": "extreme_hills"
										}
									]
								},
								{
									"test": "has_biome_tag",
									"operator": "!=",
									"value": "cold"
								}
							]
						},
						"add": {
							"component_groups": [
								"scp939babyvillager7"
							]
						}
					},
					{
						"filters": {
							"test": "has_biome_tag",
							"value": "plains"
						},
						"add": {
							"component_groups": [
								"scp939babyvillager1"
							]
						}
					}
				]
			},
			"scp939transform": {
				"randomize": [
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939a"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939b"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939c"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939d"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939e"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939f"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939g"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp939h"
							]
						}
					}
				]
			}
		}
	}
}