{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "guardian:rascal",
			"is_summonable": true,
			"is_spawnable": true
		},
    "component_groups": {
      "minecraft:rascal_adult": {
        "minecraft:experience_reward": {
          "on_bred": "Math.Random(1,7)",
          "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/rascal.json"
        }
      },
        "minecraft:movement": {
          "value": 0.25
        },
        "minecraft:underwater_movement": {
          "value": 0.08
        }
    },
    "components": {
      "minecraft:is_hidden_when_invisible": {
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "on_damage": {
            "filters": [
              {
                "test": "is_family",
                "subject": "other",
                "value": "lightning"
              },
              {
                "test": "is_difficulty",
                "operator": "!=",
                "value": "peaceful"
              }
            ],
            "event": "become_zombie"
          },
          "deals_damage": false
        }
      },
      "minecraft:type_family": {
        "family": [ "rascal", "mob" ]
      },
      "minecraft:nameable": {
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "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.20
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": false,
        "avoid_water": true,
    "can_pass_doors": true,
    "can_open_doors": true,
    "can_pass_iron_doors": true,
    "can_open_iron_doors": true,
        "can_sink": true,
        "is_amphibious": true,
        "avoid_damage_blocks": true,
        "can_float": false
      },
"minecraft:jump.static": {},
"minecraft:movement.basic": {},
      "minecraft:can_climb": {
      },
      "minecraft:collision_box": {
        "width": 0.4,
        "height": 0.9
      },
"minecraft:annotation.open_door": {
},
      "minecraft:leashable": {
        "soft_distance": 4.0,
        "hard_distance": 6.0,
        "max_distance": 10.0
      },
      "minecraft:knockback_resistance": {
        "value": 1.0
      },
      "minecraft:behavior.mount_pathing": {
        "priority": 1,
        "speed_multiplier": 1.25,
        "target_dist": 0.0,
        "track_target": true
      },
      "minecraft:behavior.panic": {
        "priority": 3,
        "speed_multiplier": 1.25
      },
      "minecraft:behavior.float": {
        "priority": 1
      },
      "minecraft:behavior.random_stroll": {
        "priority": 7,
        "speed_multiplier": 1.0
      },
      "minecraft:behavior.look_at_player": {
        "priority": 8,
        "look_distance": 6.0,
        "probability": 0.02
      },
      "minecraft:behavior.random_look_around": {
        "priority": 9
      },
			"minecraft:physics": {
				"has_collision": true,
				"has_gravity": true
			},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {
      }
    },
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 100,
            "trigger": "minecraft:spawn_adult"
          }
        ]
      },
      "minecraft:entity_born": {
        "remove": {
        }
      },
      "minecraft:ageable_grow_up": {
        "add": {
          "component_groups": [
            "minecraft:rascal_adult"
          ]
        }
      },
      "minecraft:spawn_adult": {
        "add": {
          "component_groups": [
            "minecraft:rascal_adult"
          ]
        }
      }
    }
  }
}