{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "minecraft:tadpole",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"grow_up": {
        "minecraft:transformation": {
          "into": "minecraft:frog",
          "transformation_sound": "convert_to_frog"
        }
			}
		},
    "components": {
      "minecraft:is_hidden_when_invisible": {
      },
      "minecraft:type_family": {
        "family": [ "tadpole", "mob" ]
      },
      "minecraft:collision_box": {
        "width": 0.8,
        "height": 0.6
      },
      "minecraft:breathable": {
        "total_supply": 8,
        "suffocate_time": 0,
        "breathes_water": true,
        "breathes_air": false,
        "generates_bubbles": false
      },
      "minecraft:nameable": {
      },
      "minecraft:health": {
        "value": 6
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:navigation.generic": {
        "can_path_over_water": true,
        "can_swim": true,
        "can_walk": false,
        "can_sink": false,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.sway": { //This is needed to allow the tadpole to swim
        "sway_amplitude": 0.0
      },
      "minecraft:movement": {
        "value": 0.1
      },
      "minecraft:underwater_movement": {
        "value": 0.1
      },
      "minecraft:physics": {
      },
      "minecraft:pushable": {
      },
      "minecraft:despawn": {
        "despawn_from_distance": {}
      },
      "minecraft:is_baby": {
      },
      "minecraft:ageable": {
        "duration": 1200,
        "feed_items": [ "slime_ball" ],
        "grow_up": {
          "event": "ageable_grow_up",
          "target": "self"
        }
      },
      "minecraft:behavior.panic": {
        "priority": 1,
        "speed_multiplier": 2.0
      },
      "minecraft:behavior.tempt": {
        "priority": 5,
        "speed_multiplier": 1.25,
        "can_tempt_vertically": true,
        "items": [ "slime_ball" ]
      },
      "minecraft:behavior.random_swim": {
        "priority": 2,
        "interval": 100
      },
      "minecraft:behavior.look_at_player": {
        "priority": 3,
        "target_distance": 6.0,
        "probability": 0.02
      }
    },
		"events": {
			"ageable_grow_up": {
				"sequence": [
					{
						"add": {
							"component_groups": [ "grow_up" ]
						}
					}
				]
			}
		}
	}
}
