{
   "format_version":"1.21.0",
   "minecraft:entity":{
      "description":{
         "identifier":"true:immune_teenager",
         "spawn_category":"creature",
         "is_spawnable":false,
         "is_summonable":true
      },
      "component_groups":{
         "true:default":{
            "minecraft:is_baby":{
               
            },
            "minecraft:ageable":{
               "duration":7200,
               "grow_up":{
                  "event":"true:to_grow_up",
                  "target":"self"
               }
            },
            "minecraft:behavior.look_at_player":{
               "priority":7,
               "look_distance":6.0,
               "probability":0.02
            },
            "minecraft:behavior.random_look_around":{
               "priority":9
            }
         },
         "true:grow_up":{
            "minecraft:transformation":{
               "into":"minecraft:villager<true:spawn_immune>"
            }
         },
         "true:peaceful":{
            "minecraft:transformation":{
               "into":"true:despawn"
            }
         }
      },
      "components":{
         "minecraft:type_family":{
            "family":[
               "teenager",
               "immune"
            ]
         },
         "minecraft:collision_box":{
            "width":0.5,
            "height":1.5
         },
         "minecraft:health":{
            "value":15,
            "max":15
         },
         "minecraft:scale":{
            "value":0.8
         },
         "minecraft:movement":{
            "value":0.2
         },
         "minecraft:navigation.generic":{
            "can_path_over_water":true,
            "avoid_water":true,
            "avoid_damage_blocks":true
         },
         "minecraft:movement.basic":{
            
         },
         "minecraft:behavior.random_stroll":{
            "priority":4,
            "speed_multiplier":0.9
         },
         "minecraft:persistent":{
            
         },
         "minecraft:pushable":{
            "is_pushable":true,
            "is_pushable_by_piston":true
         },
         "minecraft:physics":{
            
         }
      },
      "events":{
         "minecraft:entity_spawned":{
            "add":{
               "component_groups":[
                  "true:default"
               ]
            }
         },
         "true:to_default":{
            "add":{
               "component_groups":[
                  "true:default"
               ]
            }
         },         
         "true:to_grow_up":{
            "add":{
               "component_groups":[
                  "true:grow_up"
               ]
            }
         }
      }
   }
}