{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:rabbit",
      "is_experimental": false,
      "is_summonable": true,
      "is_spawnable": true,
      "spawn_category": "creature"
    },
    "components": {
      "minecraft:balloonable": {
        "mass": 0.4
      },
      "minecraft:behavior.avoid_mob_type": {
        "entity_types": [
          {
            "filters": {
              "AND": [
                {
                  "test": "is_family",
                  "subject": 1,
                  "operator": 0,
                  "value": "player"
                }
              ]
            },
            "max_dist": 8,
            "walk_speed_multiplier": 1.5,
            "sprint_speed_multiplier": 1.8
          },
          {
            "filters": {
              "AND": [
                {
                  "test": "is_family",
                  "subject": 1,
                  "operator": 0,
                  "value": "wolf"
                }
              ]
            },
            "max_dist": 4,
            "walk_speed_multiplier": 1.5,
            "sprint_speed_multiplier": 1.8
          },
          {
            "filters": {
              "AND": [
                {
                  "test": "is_family",
                  "subject": 1,
                  "operator": 0,
                  "value": "monster"
                }
              ]
            },
            "max_dist": 4,
            "walk_speed_multiplier": 1.5,
            "sprint_speed_multiplier": 1.5
          }
        ],
        "priority": 4
      },
      "minecraft:behavior.breed": {
        "speed_multiplier": 0.8,
        "priority": 2
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.look_at_player": {
        "look_time": {
          "min": 1,
          "max": 2
        },
        "priority": 11
      },
      "minecraft:behavior.panic": {
        "damage_sources": [
          "all"
        ],
        "priority": 1,
        "speed_multiplier": 2.2
      },
      "minecraft:behavior.raid_garden": {
        "blocks": [
          "carrots"
        ],
        "goal_radius": 0.8,
        "priority": 5,
        "search_range": 16
      },
      "minecraft:behavior.random_stroll": {
        "priority": 6,
        "speed_multiplier": 0.6,
        "xz_dist": 2,
        "y_dist": 1
      },
      "minecraft:behavior.tempt": {
        "items": [
          "golden_carrot",
          "carrot",
          "yellow_flower"
        ],
        "priority": 3,
        "speed_multiplier": 1
      },
      "minecraft:breathable": {
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 0.67,
        "width": 0.67
      },
      "minecraft:despawn": {
        "despawn_from_distance": {}
      },
      "minecraft:health": {
        "max": 3,
        "value": 3
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "cause": "lava",
            "damage_per_tick": 4,
            "filters": {
              "operator": "==",
              "test": "in_lava",
              "subject": "self",
              "value": true
            }
          }
        ]
      },
      "minecraft:jump.dynamic": {
        "fast_skip_data": {
          "animation_duration": 1,
          "height": 0.15000000596046449,
          "distance_scale": 1.75,
          "jump_delay": 1
        },
        "regular_skip_data": {
          "animation_duration": 3,
          "height": 0.10000000149011612,
          "distance_scale": 0.800000011920929,
          "jump_delay": 20
        }
      },
      "minecraft:leashable": {
        "can_be_cut": false,
        "can_be_stolen": false,
        "on_unleash_interact_only": true,
        "presets": [
          {
            "hard_distance": 6.0,
            "max_distance": 10.0,
            "spring_type": "bouncy",
            "soft_distance": 4.0
          }
        ]
      },
      "minecraft:movement": {
        "value": 0.3
      },
      "minecraft:movement.skip": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "avoid_water": true,
        "can_path_over_water": true,
        "using_door_annotation": true
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:type_family": {
        "family": [
          "rabbit",
          "mob"
        ]
      }
    },
    "component_groups": {
      "adult": {
        "minecraft:behavior.breed": {
          "priority": 2
        },
        "minecraft:breedable": {
          "breed_items": [
            {
              "item": "golden_carrot"
            },
            {
              "item": "carrot"
            },
            {
              "item": "yellow_flower"
            }
          ],
          "breeds_with": {
            "minecraft:rabbit": {}
          },
          "require_tame": false
        },
        "minecraft:experience_reward": {
          "on_bred": {
            "expression": "Math.Random(1,7)",
            "version": 0
          },
          "on_death": {
            "expression": "query.last_hit_by_player ? Math.Random(1,3) : 0",
            "version": 0
          }
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/rabbit.json"
        },
        "minecraft:offspring": {
          "mutation_factor": {
            "variant": 0.2
          },
          "offspring_pairs": {
            "minecraft:rabbit": "minecraft:rabbit"
          }
        },
        "minecraft:scale": {
          "value": 0.6
        }
      },
      "coat_salt": {
        "minecraft:variant": {
          "value": 5
        }
      },
      "baby": {
        "minecraft:ageable": {
          "duration": 1200,
          "feed_items": [
            "golden_carrot",
            "carrot",
            "yellow_flower"
          ],
          "grow_up": {
            "event": "grow_up",
            "target": "self"
          }
        },
        "minecraft:behavior.follow_parent": {
          "priority": 6,
          "speed_multiplier": 1.1
        },
        "minecraft:is_baby": {},
        "minecraft:scale": {
          "value": 0.4
        }
      },
      "coat_brown": {
        "minecraft:variant": {
          "value": 0
        }
      },
      "coat_splotched": {
        "minecraft:variant": {
          "value": 3
        }
      },
      "coat_black": {
        "minecraft:variant": {
          "value": 2
        }
      },
      "coat_desert": {
        "minecraft:variant": {
          "value": 4
        }
      },
      "coat_white": {
        "minecraft:variant": {
          "value": 1
        }
      }
    },
    "events": {
      "in_desert": {
        "add": {
          "component_groups": [
            "coat_desert"
          ]
        }
      },
      "grow_up": {
        "add": {
          "component_groups": [
            "adult"
          ]
        },
        "remove": {
          "component_groups": [
            "baby"
          ]
        }
      },
      "in_snow": {
        "randomize": [
          {
            "add": {
              "component_groups": [
                "coat_white"
              ]
            },
            "weight": 80
          },
          {
            "add": {
              "component_groups": [
                "coat_splotched"
              ]
            },
            "weight": 20
          }
        ]
      },
      "minecraft:entity_born": {
        "sequence": [
          {
            "add": {
              "component_groups": [
                "baby"
              ]
            }
          },
          {
            "randomize": [
              {
                "add": {
                  "component_groups": [
                    "coat_brown"
                  ]
                },
                "weight": 50
              },
              {
                "add": {
                  "component_groups": [
                    "coat_black"
                  ]
                },
                "weight": 40
              },
              {
                "add": {
                  "component_groups": [
                    "coat_salt"
                  ]
                },
                "weight": 10
              }
            ],
            "filters": {
              "test": "has_component",
              "operator": "!=",
              "value": "minecraft:variant"
            }
          },
          {
            "filters": {
              "test": "is_biome",
              "value": "desert"
            },
            "add": {
              "component_groups": [
                "coat_desert"
              ]
            }
          },
          {
            "randomize": [
              {
                "add": {
                  "component_groups": [
                    "coat_white"
                  ]
                },
                "weight": 80
              },
              {
                "add": {
                  "component_groups": [
                    "coat_splotched"
                  ]
                },
                "weight": 20
              }
            ],
            "filters": {
              "test": "is_snow_covered",
              "value": true
            }
          }
        ]
      },
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "randomize": [
              {
                "add": {
                  "component_groups": [
                    "adult"
                  ]
                },
                "weight": 3
              },
              {
                "add": {
                  "component_groups": [
                    "baby"
                  ]
                },
                "weight": 1
              }
            ]
          },
          {
            "randomize": [
              {
                "add": {
                  "component_groups": [
                    "coat_brown"
                  ]
                },
                "weight": 50
              },
              {
                "add": {
                  "component_groups": [
                    "coat_black"
                  ]
                },
                "weight": 40
              },
              {
                "add": {
                  "component_groups": [
                    "coat_salt"
                  ]
                },
                "weight": 10
              }
            ],
            "filters": {
              "test": "has_component",
              "operator": "!=",
              "value": "minecraft:variant"
            }
          },
          {
            "filters": {
              "test": "is_biome",
              "value": "desert"
            },
            "add": {
              "component_groups": [
                "coat_desert"
              ]
            }
          },
          {
            "randomize": [
              {
                "add": {
                  "component_groups": [
                    "coat_white"
                  ]
                },
                "weight": 80
              },
              {
                "add": {
                  "component_groups": [
                    "coat_splotched"
                  ]
                },
                "weight": 20
              }
            ],
            "filters": {
              "test": "is_snow_covered",
              "value": true
            }
          }
        ]
      }
    }
  }
}