{
  "format_version": "1.21.50",
  "minecraft:entity": {
    "description": {
      "identifier": "silverlabs_nat:capybara",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false,
      "properties": {
        "silverlabs_nat:is_following_owner": {
          "type": "bool",
          "default": true,
          "client_sync": false
        },
        "silverlabs_nat:sleep": {
          "type": "bool",
          "client_sync": true,
          "default": "math.random_integer(0, 1)"
        },
        "silverlabs_nat:is_swimming": {
          "client_sync": true,
          "type": "bool",
          "default": false
        },
        "silverlabs_nat:dye": {
          "client_sync": true,
          "type": "int",
          "range": [
            0,
            16
          ],
          "default": 0
        }
      }
    },
    "component_groups": {
      "silverlabs_nat:baby": {
        "minecraft:is_baby": {},
        "minecraft:tameable": {
          "probability": 0.7,
          "tame_items": [
            "minecraft:melon"
          ],
          "tame_event": {
            "event": "silverlabs_nat:on_tame",
            "target": "self"
          }
        },
        "minecraft:collision_box": {
          "height": 0.5,
          "width": 0.65
        },
        "minecraft:ageable": {
          "duration": 1200,
          "feed_items": [
            "melon"
          ],
          "grow_up": {
            "event": "silverlabs_nat:ageable_grow_up",
            "target": "self"
          }
        },
        "minecraft:behavior.follow_parent": {
          "priority": 6,
          "speed_multiplier": 1.1
        },
        "minecraft:behavior.move_to_block": {
          "priority": 8,
          "start_chance": 0.2,
          "search_range": 32,
          "goal_radius": 0.25,
          "stay_duration": 3,
          "target_selection_method": "random",
          "on_reach": {
            "event": "silverlabs_nat:start_sniff",
            "target": "self"
          },
          "target_blocks": [
            "minecraft:poppy",
            "minecraft:dandelion",
            "minecraft:blue_orchid",
            "minecraft:allium",
            "minecraft:azure_bluet",
            "minecraft:orange_tulip",
            "minecraft:pink_tulip",
            "minecraft:red_tulip",
            "minecraft:white_tulip",
            "minecraft:oxeye_daisy",
            "minecraft:cornflower",
            "minecraft:lily_of_the_valley",
            "minecraft:sunflower",
            "minecraft:lilac",
            "minecraft:rose_bush",
            "minecraft:peony",
            "minecraft:pitcher_plant",
            "minecraft:pink_petals",
            "minecraft:wildflowers",
            "minecraft:torchflower",
            "minecraft:closed_eyeblossom",
            "minecraft:open_eyeblossom"
          ]
        },
        "minecraft:behavior.follow_mob": {
          "priority": 6,
          "search_range": 16,
          "stop_distance": 5,
          "speed_multiplier": 1.1,
          "use_home_position_restriction": true,
          "filters": {
            "all_of": [
              {
                "test": "is_underwater",
                "subject": "other",
                "value": false
              },
              {
                "test": "is_baby",
                "subject": "other",
                "value": false
              },
              {
                "any_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "silverlabs_nat:butterfly"
                  },
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "butterfly"
                  }
                ]
              }
            ]
          }
        }
      },
      "silverlabs_nat:adult": {
        "minecraft:experience_reward": {
          "on_bred": "Math.Random(1,7)",
          "on_death": "query.last_hit_by_player ? Math.Random(1,3): 0"
        },
        "minecraft:collision_box": {
          "width": 0.8,
          "height": 0.9
        },
        "minecraft:loot": {
          "table": "loot_tables/sf/nba/entities/capybara.loot.json"
        },
        "minecraft:behavior.hurt_by_target": {
          "priority": 1,
          "entity_types": {
            "filters": [
              {
                "test": "is_family",
                "subject": "other",
                "value": "player"
              },
              {
                "test": "actor_health",
                "operator": ">",
                "value": 7
              }
            ]
          }
        },
        "minecraft:behavior.breed": {
          "priority": 1,
          "speed_multiplier": 1
        },
        "minecraft:breedable": {
          "require_tame": true,
          "inherit_tamed": true,
          "breeds_with": {
            "mate_type": "silverlabs_nat:capybara",
            "baby_type": "silverlabs_nat:capybara",
            "breed_event": {
              "event": "silverlabs_nat:from_breeding",
              "target": "baby"
            }
          },
          "breed_items": [
            "melon"
          ]
        },
        "minecraft:tameable": {
          "probability": 0.7,
          "tame_items": [
            "minecraft:melon"
          ],
          "tame_event": {
            "event": "silverlabs_nat:on_tame",
            "target": "self"
          }
        }
      },
      "silverlabs_nat:night": {
        "minecraft:environment_sensor": {
          "triggers": [
            {
              "event": "silverlabs_nat:day",
              "filters": {
                "test": "clock_time",
                "value": 0.75,
                "operator": ">="
              }
            }
          ]
        }
      },
      "silverlabs_nat:add_rider": {
        "minecraft:addrider": {
          "entity_type": "silverlabs_nat:capybara",
          "spawn_event": "silverlabs_nat:baby"
        }
      },
      "silverlabs_nat:is_swimming": {
        "minecraft:buoyant": {
          "base_buoyancy": 0.2,
          "apply_gravity": false,
          "simulate_waves": false,
          "liquid_blocks": [
            "minecraft:water",
            "minecraft:flowing_water"
          ]
        }
      },
      "silverlabs_nat:tame_behaviors": {
        "minecraft:healable": {
          "items": [
            {
              "item": "minecraft:melon",
              "heal_amount": 2
            }
          ]
        },
        "minecraft:is_tamed": {},
        "minecraft:sittable": {},
        "minecraft:behavior.stay_while_sitting": {
          "priority": 1
        }
      },
      "silverlabs_nat:follow_owner": {
        "minecraft:behavior.follow_owner": {
          "priority": 7,
          "speed_multiplier": 1.2,
          "start_distance": 10,
          "stop_distance": 3
        },
        "minecraft:behavior.random_stroll": {
          "priority": 8
        }
      },
      "silverlabs_nat:wander_around": {
        "minecraft:behavior.random_stroll": {
          "priority": 8
        }
      },
      "silverlabs_nat:rideable": {
        "minecraft:rideable": {
          "controlling_seat": 0,
          "crouching_skip_interact": true,
          "family_types": [
            "silverlabs_nat:capybara",
            "silverlabs_nat:bird",
            "silverlabs_nat:caterpillar",
            "silverlabs_nat:squirrel",
            "silverlabs_nat:duck"
          ],
          "pull_in_entities": true,
          "seat_count": 1,
          "seats": [
            {
              "position": [
                0,
                1.025,
                0
              ],
              "max_rider_count": 1
            }
          ]
        }
      },
      "silverlabs_nat:natural_despawn": {
        "minecraft:despawn": {
          "despawn_from_distance": {},
          "remove_child_entities": true
        }
      },
      "silverlabs_nat:persistent": {
        "minecraft:persistent": {}
      },
      "silverlabs_nat:adult_hitbox": {
        "minecraft:collision_box": {
          "width": 0.9,
          "height": 0.9
        }
      }
    },
    "components": {
      "minecraft:behavior.beg": {
        "priority": 9,
        "look_distance": 8,
        "look_time": 4,
        "items": [
          "melon"
        ]
      },
      "minecraft:interact": {
        "interactions": [
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "is_baby",
                    "subject": "self",
                    "value": true
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "domain": "hand",
                    "value": "silverlabs_nat:empty_knapsack"
                  }
                ]
              },
              "event": "silverlabs_nat:knapsack_swing"
            },
            "swing": true
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "domain": "hand",
                    "value": "silverlabs_nat:empty_knapsack"
                  }
                ]
              },
              "event": "silverlabs_nat:knapsack_no_capture"
            },
            "swing": false
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "domain": "hand",
                    "value": "silverlabs_nat:pacifier"
                  }
                ]
              },
              "event": "silverlabs_nat:revert_to_baby"
            },
            "use_item": false,
            "swing": true
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "is_sitting",
                    "operator": "!="
                  },
                  {
                    "test": "bool_property",
                    "domain": "silverlabs_nat:is_following_owner",
                    "value": false
                  },
                  {
                    "test": "is_sneaking",
                    "subject": "other",
                    "operator": "!="
                  },
                  {
                    "any_of": [
                      {
                        "test": "has_equipment",
                        "value": "silverlabs_nat:whistle",
                        "subject": "other"
                      },
                      {
                        "test": "has_equipment",
                        "value": "sf_hba:whistle",
                        "subject": "other"
                      }
                    ]
                  }
                ]
              }
            },
            "swing": true
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "is_sitting",
                    "operator": "!="
                  },
                  {
                    "test": "bool_property",
                    "domain": "silverlabs_nat:is_following_owner",
                    "value": true
                  },
                  {
                    "test": "is_sneaking",
                    "subject": "other",
                    "operator": "!="
                  },
                  {
                    "any_of": [
                      {
                        "test": "has_equipment",
                        "value": "silverlabs_nat:whistle",
                        "subject": "other"
                      },
                      {
                        "test": "has_equipment",
                        "value": "sf_hba:whistle",
                        "subject": "other"
                      }
                    ]
                  }
                ]
              }
            },
            "swing": true
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 0
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:shears"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:remove_dye"
            },
            "hurt_item": 1,
            "swing": true,
            "play_sounds": "shear",
            "interact_text": "action.interact.shear"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 1
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:white_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_white"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 2
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:orange_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_orange"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 3
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:magenta_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_magenta"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 4
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:light_blue_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_light_blue"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 5
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:yellow_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_yellow"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 6
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:lime_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_lime"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 7
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:pink_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_pink"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 8
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:gray_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_gray"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 9
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:light_gray_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_light_gray"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 10
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:cyan_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_cyan"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 11
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:purple_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_purple"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 12
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:blue_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_blue"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 13
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:brown_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_brown"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 14
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:green_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_green"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 15
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:red_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_red"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          },
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  },
                  {
                    "test": "int_property",
                    "domain": "silverlabs_nat:dye",
                    "operator": "!=",
                    "value": 16
                  },
                  {
                    "test": "has_equipment",
                    "subject": "other",
                    "value": "minecraft:black_dye"
                  }
                ]
              },
              "target": "self",
              "event": "silverlabs_nat:dye_black"
            },
            "use_item": true,
            "swing": true,
            "interact_text": "action.interact.dye"
          }
        ]
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:type_family": {
        "family": [
          "silverlabs_nat:capybara",
          "mob"
        ]
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0,
        "breathes_water": true,
        "generates_bubbles": false
      },
      "minecraft:nameable": {},
      "minecraft:health": {
        "value": 14,
        "max": 14
      },
      "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.2
      },
      "minecraft:underwater_movement": {
        "value": 0.15
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:variable_max_auto_step": {
        "base_value": 1
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "width": 0.9,
        "height": 0.9
      },
      "minecraft:leashable": {
        "soft_distance": 4,
        "hard_distance": 6,
        "max_distance": 10
      },
      "minecraft:balloonable": {
        "mass": 0.9
      },
      "minecraft:behavior.tempt": {
        "priority": 2,
        "speed_multiplier": 1.2,
        "items": [
          "melon"
        ]
      },
      "minecraft:behavior.random_stroll": {
        "priority": 8,
        "speed_multiplier": 1
      },
      "minecraft:behavior.look_at_player": {
        "priority": 9,
        "look_distance": 6,
        "probability": 0.02
      },
      "minecraft:behavior.panic": {
        "priority": 5,
        "speed_multiplier": 1.4
      },
      "minecraft:behavior.random_look_around": {
        "priority": 10
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:environment_sensor": {
        "triggers": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "in_water"
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:is_swimming",
                  "value": false
                }
              ]
            },
            "event": "silverlabs_nat:is_swimming"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "on_ground"
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:is_swimming",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:is_not_swimming"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:rideable"
                },
                {
                  "test": "is_sitting",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:set_not_rideable"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                },
                {
                  "test": "is_sitting",
                  "value": false
                }
              ]
            },
            "event": "silverlabs_nat:set_rideable"
          }
        ]
      },
      "minecraft:behavior.nap": {
        "priority": 3,
        "cooldown_min": 2,
        "cooldown_max": 7,
        "mob_detect_dist": 12,
        "mob_detect_height": 6,
        "can_nap_filters": {
          "all_of": [
            {
              "test": "on_ground",
              "subject": "self",
              "value": true
            },
            {
              "test": "is_underground",
              "subject": "self",
              "value": false
            },
            {
              "test": "weather_at_position",
              "subject": "self",
              "operator": "!=",
              "value": "thunderstorm"
            },
            {
              "test": "hourly_clock_time",
              "operator": ">",
              "value": 6000
            },
            {
              "test": "hourly_clock_time",
              "operator": "<",
              "value": 13000
            },
            {
              "test": "in_block",
              "operator": "!=",
              "value": "water"
            }
          ]
        },
        "wake_mob_exceptions": {
          "any_of": [
            {
              "test": "trusts",
              "subject": "other",
              "value": true
            },
            {
              "test": "is_sneaking",
              "subject": "other",
              "value": true
            }
          ]
        }
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 95,
            "trigger": "silverlabs_nat:adult"
          },
          {
            "weight": 5,
            "trigger": "silverlabs_nat:entity_born"
          }
        ]
      },
      "silverlabs_nat:adult": {
        "randomize": [
          {
            "add": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:add_rider",
                "silverlabs_nat:wander_around"
              ]
            },
            "weight": 20
          },
          {
            "add": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:wander_around"
              ]
            },
            "weight": 80
          }
        ]
      },
      "silverlabs_nat:baby": {
        "add": {
          "component_groups": [
            "silverlabs_nat:baby",
            "silverlabs_nat:wander_around"
          ]
        }
      },
      "silverlabs_nat:from_breeding": {
        "add": {
          "component_groups": [
            "silverlabs_nat:baby",
            "silverlabs_nat:wander_around"
          ]
        },
        "trigger": "silverlabs_nat:on_tame"
      },
      "silverlabs_nat:entity_born": {
        "add": {
          "component_groups": [
            "silverlabs_nat:baby",
            "silverlabs_nat:wander_around"
          ]
        }
      },
      "silverlabs_nat:ageable_grow_up": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:adult",
            "silverlabs_nat:adult_hitbox"
          ]
        }
      },
      "silverlabs_nat:night": {
        "add": {
          "component_groups": [
            "silverlabs_nat:night"
          ]
        },
        "randomize": [
          {
            "set_property": {
              "silverlabs_nat:sleep": false
            },
            "weight": 1
          },
          {
            "set_property": {
              "silverlabs_nat:sleep": true
            },
            "weight": 1
          }
        ]
      },
      "silverlabs_nat:day": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:night"
          ]
        }
      },
      "silverlabs_nat:is_swimming": {
        "set_property": {
          "silverlabs_nat:is_swimming": true
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:is_swimming"
          ]
        }
      },
      "silverlabs_nat:is_not_swimming": {
        "set_property": {
          "silverlabs_nat:is_swimming": false
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:is_swimming"
          ]
        }
      },
      "silverlabs_nat:on_tame": {
        "add": {
          "component_groups": [
            "silverlabs_nat:tame_behaviors",
            "silverlabs_nat:follow_owner"
          ]
        },
        "trigger": "silverlabs_nat:dye_red"
      },
      "silverlabs_nat:follow_owner": {
        "add": {
          "component_groups": [
            "silverlabs_nat:follow_owner"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:wander_around"
          ]
        },
        "set_property": {
          "silverlabs_nat:is_following_owner": true
        },
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:whistle_follow"
          ],
          "target": "self"
        }
      },
      "silverlabs_nat:wander_around": {
        "add": {
          "component_groups": [
            "silverlabs_nat:wander_around"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:follow_owner"
          ]
        },
        "set_property": {
          "silverlabs_nat:is_following_owner": false
        },
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:whistle_wander"
          ],
          "target": "self"
        }
      },
      "silverlabs_nat:remove_dye": {
        "set_property": {
          "silverlabs_nat:dye": 0
        }
      },
      "silverlabs_nat:dye_white": {
        "set_property": {
          "silverlabs_nat:dye": 1
        }
      },
      "silverlabs_nat:dye_orange": {
        "set_property": {
          "silverlabs_nat:dye": 2
        }
      },
      "silverlabs_nat:dye_magenta": {
        "set_property": {
          "silverlabs_nat:dye": 3
        }
      },
      "silverlabs_nat:dye_light_blue": {
        "set_property": {
          "silverlabs_nat:dye": 4
        }
      },
      "silverlabs_nat:dye_yellow": {
        "set_property": {
          "silverlabs_nat:dye": 5
        }
      },
      "silverlabs_nat:dye_lime": {
        "set_property": {
          "silverlabs_nat:dye": 6
        }
      },
      "silverlabs_nat:dye_pink": {
        "set_property": {
          "silverlabs_nat:dye": 7
        }
      },
      "silverlabs_nat:dye_gray": {
        "set_property": {
          "silverlabs_nat:dye": 8
        }
      },
      "silverlabs_nat:dye_light_gray": {
        "set_property": {
          "silverlabs_nat:dye": 9
        }
      },
      "silverlabs_nat:dye_cyan": {
        "set_property": {
          "silverlabs_nat:dye": 10
        }
      },
      "silverlabs_nat:dye_purple": {
        "set_property": {
          "silverlabs_nat:dye": 11
        }
      },
      "silverlabs_nat:dye_blue": {
        "set_property": {
          "silverlabs_nat:dye": 12
        }
      },
      "silverlabs_nat:dye_brown": {
        "set_property": {
          "silverlabs_nat:dye": 13
        }
      },
      "silverlabs_nat:dye_green": {
        "set_property": {
          "silverlabs_nat:dye": 14
        }
      },
      "silverlabs_nat:dye_red": {
        "set_property": {
          "silverlabs_nat:dye": 15
        }
      },
      "silverlabs_nat:dye_black": {
        "set_property": {
          "silverlabs_nat:dye": 16
        }
      },
      "silverlabs_nat:set_rideable": {
        "add": {
          "component_groups": [
            "silverlabs_nat:rideable"
          ]
        }
      },
      "silverlabs_nat:set_not_rideable": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:rideable"
          ]
        }
      },
      "silverlabs_nat:natural_despawn": {
        "add": {
          "component_groups": [
            "silverlabs_nat:natural_despawn"
          ]
        }
      },
      "silverlabs_nat:become_persistent": {
        "add": {
          "component_groups": [
            "silverlabs_nat:persistent"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:natural_despawn"
          ]
        }
      },
      "silverlabs_nat:set_permanent_baby": {
        "add": {
          "component_groups": [
            "silverlabs_nat:permanent_baby"
          ]
        },
        "queue_command": {
          "command": [
            "particle minecraft:villager_angry ~ ~2 ~",
            "playsound random.eat @p ~ ~ ~ 0.8 1.2"
          ]
        }
      },
      "silverlabs_nat:start_sniff": {
        "queue_command": {
          "command": [
            "playsound silverlabs_nat.flower_obsession.baby_sniff_medium @a[r=6]"
          ]
        }
      },
      "silverlabs_nat:revert_to_baby": {
        "trigger": "silverlabs_nat:become_persistent",
        "queue_command": {
          "command": [
            "playsound silverlabs_nat.pacifier.interact @a[r=10] ~~~"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:adult",
            "silverlabs_nat:adult_hitbox"
          ]
        }
      },
      "silverlabs_nat:knapsack_no_capture": {}
    }
  }
}