{
  "format_version": "1.8.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mobs:capuchin",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:wolf_baby": {
        "minecraft:is_baby": {},
        "minecraft:scale": {
          "value": 0.5
        },
        "minecraft:ageable": {
          "duration": 1200,
          "feedItems": [
            "chicken",
            "cooked_chicken",
            "beef",
            "cooked_beef",
            "muttonRaw",
            "muttonCooked",
            "porkchop",
            "cooked_porkchop",
            "rabbit",
            "cooked_rabbit",
            "rotten_flesh"
          ],
          "grow_up": {
            "event": "minecraft:ageable_grow_up",
            "target": "self"
          }
        }
      },
      "minecraft:wolf_adult": {
        "minecraft:breedable": {
          "requireTame": true,
          "breedsWith": {
            "mateType": "minecraft:wolf",
            "babyType": "minecraft:wolf",
            "breed_event": {
              "event": "minecraft:entity_born",
              "target": "baby"
            }
          },
          "breedItems": [
            "chicken",
            "cooked_chicken",
            "beef",
            "cooked_beef",
            "muttonRaw",
            "muttonCooked",
            "porkchop",
            "cooked_porkchop",
            "rabbit",
            "cooked_rabbit",
            "rotten_flesh"
          ]
        }
      },
      "minecraft:wolf_angry": {
        "minecraft:angry": {
          "duration": 25,
          "broadcastAnger": true,
          "broadcastRange": 20,
          "calm_event": {
            "event": "minecraft:on_calm",
            "target": "self"
          }
        },
        "minecraft:on_target_acquired": {}
      },
      "minecraft:wolf_wild": {
        "minecraft:behavior.avoid_mob_type": {
          "priority": 3,
          "entity_types": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "llama"
              },
              "max_dist": 24,
              "walk_speed_multiplier": 1.5,
              "sprint_speed_multiplier": 1.5
            }
          ],
          "probability_per_strength": 0.14
        },
        "minecraft:tameable": {
          "probability": 0.33,
          "tameItems": "bone",
          "tame_event": {
            "event": "minecraft:on_tame",
            "target": "self"
          }
        },
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 4,
          "attack_interval": 10,
          "reselect_targets": true,
          "entity_types": [
            {
              "filters": {
                "any_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "skeleton"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "sheep"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "rabbit"
                  }
                ]
              },
              "max_dist": 16
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "baby_turtle"
                  },
                  {
                    "test": "in_water",
                    "subject": "other",
                    "operator": "!=",
                    "value": true
                  }
                ]
              },
              "max_dist": 16
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "skeleton"
                  },
                  {
                    "test": "is_underwater",
                    "subject": "other",
                    "operator": "!=",
                    "value": true
                  }
                ]
              },
              "max_dist": 16
            }
          ],
          "must_see": true
        },
        "minecraft:on_target_acquired": {
          "event": "minecraft:become_angry",
          "target": "self"
        },
        "minecraft:rideable": {
          "seat_count": 1,
          "family_types": [
            "zombie"
          ],
          "seats": {
            "position": [
              0.0,
              0.675,
              -0.1
            ]
          }
        }
      },
      "minecraft:wolf_tame": {
        "minecraft:is_tamed": {},
        "minecraft:health": {
          "value": 19,
          "max": 19
        },
        "minecraft:color": {
          "value": 14
        },
        "minecraft:behavior.follow_owner": {
          "priority": 6,
          "speed_multiplier": 1.0,
          "start_distance": 10,
          "stop_distance": 2
        },
        "minecraft:attack": {
          "damage": 4
        },
        "minecraft:behavior.breed": {
          "priority": 7
        },
        "minecraft:behavior.owner_hurt_by_target": {
          "priority": 1
        },
        "minecraft:behavior.owner_hurt_target": {
          "priority": 2
        },
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 5,
          "attack_interval": 10,
          "entity_types": [
            {
              "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "skeleton"
              },
              "max_dist": 16
            }
          ],
          "must_see": true
        },
        "minecraft:sittable": {},
        "minecraft:is_dyeable": {
          "interact_text": "action.interact.dye"
        },
        "minecraft:leashable": {
          "soft_distance": 4.0,
          "hard_distance": 6.0,
          "max_distance": 10.0,
          "on_leash": {
            "event": "minecraft:on_leash",
            "target": "self"
          },
          "on_unleash": {
            "event": "minecraft:on_unleash",
            "target": "self"
          }
        }
      }
    },
    "components": {
      "minecraft:nameable": {
        "alwaysShow": false,
        "allowNameTagRenaming": false
      },
      "minecraft:type_family": {
        "family": []
      },
      "minecraft:breathable": {
        "totalSupply": 15,
        "suffocateTime": 0
      },
      "minecraft:collision_box": {
        "height": 0.8,
        "width": 0.6
      },
      "minecraft:health": {
        "value": 19,
        "max": 19
      },
      "minecraft:movement": {
        "value": 0.39
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:can_climb": {},
      "minecraft:healable": {
        "items": [
          {
            "item": "porkchop",
            "heal_amount": 3
          },
          {
            "item": "cooked_porkchop",
            "heal_amount": 8
          },
          {
            "item": "fish",
            "heal_amount": 2
          },
          {
            "item": "salmon",
            "heal_amount": 2
          },
          {
            "item": "clownfish",
            "heal_amount": 1
          },
          {
            "item": "pufferfish",
            "heal_amount": 1
          },
          {
            "item": "cooked_fish",
            "heal_amount": 5
          },
          {
            "item": "cooked_salmon",
            "heal_amount": 6
          },
          {
            "item": "beef",
            "heal_amount": 3
          },
          {
            "item": "cooked_beef",
            "heal_amount": 8
          },
          {
            "item": "chicken",
            "heal_amount": 2
          },
          {
            "item": "cooked_chicken",
            "heal_amount": 6
          },
          {
            "item": "muttonRaw",
            "heal_amount": 2
          },
          {
            "item": "muttonCooked",
            "heal_amount": 6
          },
          {
            "item": "rotten_flesh",
            "heal_amount": 4
          },
          {
            "item": "rabbit",
            "heal_amount": 3
          },
          {
            "item": "cooked_rabbit",
            "heal_amount": 5
          },
          {
            "item": "rabbit_stew",
            "heal_amount": 10
          }
        ]
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.mount_pathing": {
        "priority": 1,
        "speed_multiplier": 1.25,
        "target_dist": 0,
        "track_target": true
      },
      "minecraft:behavior.stay_while_sitting": {
        "priority": 3
      },
      "minecraft:behavior.random_stroll": {
        "priority": 8,
        "speed_multiplier": 1.0
      },
      "minecraft:behavior.look_at_player": {
        "priority": 6,
        "target_distance": 6.0,
        "probability": 0.02
      },
      "minecraft:behavior.beg": {
        "priority": 9,
        "look_distance": 8,
        "look_time": [
          2,
          4
        ],
        "items": [
          "bone",
          "porkchop",
          "cooked_porkchop",
          "chicken",
          "cooked_chicken",
          "beef",
          "cooked_beef",
          "rotten_flesh",
          "muttonraw",
          "muttoncooked",
          "rabbit",
          "cooked_rabbit"
        ]
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 3
      },
      "minecraft:physics": {},
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 8 : 0"
      },
      "minecraft:underwater_movement": {
        "value": 0.02
      },
      "minecraft:scale": {
        "value": 1
      },
      "minecraft:behavior.panic": {
        "speed_multiplier": 1.25
      },
      "minecraft:breedable": {
        "requireTame": false,
        "breedsWith": [
          {
            "mateType": "mobs:capuchin",
            "babyType": "mobs:capuchin",
            "breed_event": {
              "event": "minecraft:entity_born",
              "target": "baby"
            }
          }
        ],
        "breedItems": [
          "mobs:banana"
        ]
      },
      "minecraft:behavior.breed": {
        "priority": 3,
        "speed_multiplier": 1.0
      },
      "minecraft:lookat": {
        "allow_invulnerable": false,
        "filters": {
          "test": "has_target"
        },
        "search_radius": 10.0,
        "set_target": true
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/mobs_capuchin.json"
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 9,
            "remove": {},
            "add": {
              "component_groups": [
                "minecraft:wolf_adult",
                "minecraft:wolf_wild"
              ]
            }
          },
          {
            "weight": 1,
            "remove": {},
            "add": {
              "component_groups": [
                "minecraft:wolf_baby",
                "minecraft:wolf_wild"
              ]
            }
          }
        ]
      },
      "minecraft:entity_born": {
        "remove": {},
        "add": {
          "component_groups": [
            "minecraft:wolf_baby",
            "minecraft:wolf_tame"
          ]
        }
      },
      "minecraft:ageable_grow_up": {
        "remove": {
          "component_groups": [
            "minecraft:wolf_baby"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:wolf_adult"
          ]
        }
      },
      "minecraft:ageable_set_baby": {
        "remove": {
          "component_groups": [
            "minecraft:wolf_adult"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:wolf_baby"
          ]
        }
      },
      "minecraft:on_tame": {
        "remove": {
          "component_groups": [
            "minecraft:wolf_wild"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:wolf_tame"
          ]
        }
      },
      "minecraft:become_angry": {
        "remove": {
          "component_groups": [
            "minecraft:wolf_wild"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:wolf_angry"
          ]
        }
      },
      "minecraft:on_calm": {
        "remove": {
          "component_groups": [
            "minecraft:wolf_angry"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:wolf_wild"
          ]
        }
      },
      "on:death": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt_by_player": {
        "run_command": {
          "command": []
        }
      },
      "on:ignite": {
        "run_command": {
          "command": []
        }
      },
      "on:target_acquired": {
        "run_command": {
          "command": []
        }
      },
      "on:target_escape": {
        "run_command": {
          "command": []
        }
      },
      "on:wake_with_owner": {
        "run_command": {
          "command": []
        }
      }
    }
  }
}