{
  "format_version": "1.21.50",
  "minecraft:entity": {
    "description": {
      "identifier": "silverlabs_nat:elephant",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false,
      "properties": {
        "silverlabs_nat:can_drink": {
          "type": "bool",
          "default": false
        },
        "silverlabs_nat:is_drinking": {
          "type": "bool",
          "default": false,
          "client_sync": true
        },
        "silverlabs_nat:recipe_page": {
          "type": "int",
          "default": 27,
          "range": [
            0,
            93
          ],
          "client_sync": true
        },
        "silverlabs_nat:is_dancing": {
          "type": "bool",
          "default": false,
          "client_sync": true
        },
        "silverlabs_nat:has_music_nearby": {
          "type": "bool",
          "default": false
        },
        "silverlabs_nat:has_rider": {
          "type": "bool",
          "default": false
        },
        "silverlabs_nat:has_player_driver": {
          "type": "bool",
          "default": false
        },
        "silverlabs_nat:is_following_owner": {
          "type": "bool",
          "default": false,
          "client_sync": false
        }
      },
      "animations": {
        "water_drinkable": "controller.animation.silverlabs_nat.water_drinkable"
      },
      "scripts": {
        "animate": [
          "water_drinkable"
        ]
      }
    },
    "component_groups": {
      "silverlabs_nat:baby": {
        "minecraft:is_baby": {},
        "minecraft:collision_box": {
          "width": 1,
          "height": 1.5
        },
        "minecraft:ageable": {
          "duration": 1200,
          "feed_items": [
            "melon_slice"
          ],
          "grow_up": {
            "event": "silverlabs_nat:ageable_grow_up",
            "target": "self"
          }
        },
        "minecraft:behavior.tempt": {
          "priority": 4,
          "speed_multiplier": 1.25,
          "items": [
            "minecraft:melon_slice"
          ]
        },
        "minecraft:movement": {
          "value": 0.2
        },
        "minecraft:navigation.walk": {
          "can_path_over_water": true,
          "avoid_water": true,
          "avoid_damage_blocks": true
        },
        "minecraft:movement.basic": {
          "max_turn": 15
        },
        "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:baby_tameable": {
        "minecraft:tameable": {
          "probability": 1,
          "tame_items": [
            "minecraft:melon_slice"
          ],
          "tame_event": {
            "event": "silverlabs_nat:baby_tamed",
            "target": "self"
          }
        }
      },
      "silverlabs_nat:baby_tamed": {
        "minecraft:is_tamed": {},
        "minecraft:inventory": {
          "inventory_size": 16,
          "container_type": "horse"
        }
      },
      "silverlabs_nat:baby_wild": {
        "minecraft:on_target_acquired": {
          "event": "silverlabs_nat:on_scared",
          "target": "self"
        },
        "minecraft:behavior.nearest_attackable_target": {
          "priority": 2,
          "entity_types": {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            "max_dist": 0.5
          }
        },
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "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": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:poisonous_potato"
                    }
                  ]
                },
                "event": "silverlabs_nat:set_permanent_baby"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.feed"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:ageable_grow_up"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            }
          ]
        },
        "minecraft:behavior.panic": {
          "priority": 3,
          "speed_multiplier": 2
        }
      },
      "silverlabs_nat:baby_follow_parent": {
        "minecraft:behavior.follow_parent": {
          "priority": 4,
          "speed_multiplier": 1.25
        }
      },
      "silverlabs_nat:baby_scared": {
        "minecraft:angry": {
          "duration": 1,
          "broadcast_anger": true,
          "broadcast_range": 20,
          "calm_event": {
            "event": "silverlabs_nat:baby_on_calm",
            "target": "self"
          }
        }
      },
      "silverlabs_nat:adult_hitbox": {
        "minecraft:collision_box": {
          "width": 2.5,
          "height": 3.5
        }
      },
      "silverlabs_nat:adult": {
        "minecraft:collision_box": {
          "width": 2.5,
          "height": 3.5
        },
        "minecraft:loot": {
          "table": "loot_tables/sf/nba/entities/elephant.loot.json"
        },
        "minecraft:experience_reward": {
          "on_bred": "Math.Random(1,7)",
          "on_death": "query.last_hit_by_player ? Math.Random(1,3): 0"
        },
        "minecraft:behavior.tempt": {
          "priority": 4,
          "speed_multiplier": 1.25,
          "items": [
            "pumpkin"
          ]
        },
        "minecraft:behavior.breed": {
          "priority": 3,
          "speed_multiplier": 1
        },
        "minecraft:breedable": {
          "require_tame": false,
          "breed_items": [
            "pumpkin"
          ],
          "breeds_with": {
            "mate_type": "silverlabs_nat:elephant",
            "baby_type": "silverlabs_nat:elephant",
            "breed_event": {
              "event": "silverlabs_nat:entity_born",
              "target": "baby"
            }
          }
        },
        "minecraft:movement": {
          "value": 0.2
        },
        "minecraft:navigation.walk": {
          "can_path_over_water": true,
          "avoid_water": true,
          "avoid_damage_blocks": true
        },
        "minecraft:movement.basic": {
          "max_turn": 15
        }
      },
      "silverlabs_nat:adult_wild": {
        "minecraft:on_target_acquired": {
          "event": "silverlabs_nat:on_anger",
          "target": "self"
        },
        "minecraft:on_friendly_anger": {
          "event": "silverlabs_nat:on_anger",
          "target": "self"
        },
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "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": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_baby"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:baby"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            }
          ]
        }
      },
      "silverlabs_nat:adult_hostile": {
        "minecraft:attack": {
          "damage": 6
        },
        "minecraft:behavior.melee_attack": {
          "priority": 2,
          "speed_multiplier": 1.2,
          "reach_multiplier": 1.5
        },
        "minecraft:on_target_escape": {
          "event": "silverlabs_nat:on_calm",
          "target": "self"
        }
      },
      "silverlabs_nat:elephant_drinking": {
        "minecraft:timer": {
          "looping": false,
          "time": 7.5,
          "time_down_event": {
            "event": "silverlabs_nat:can_move_to_water"
          }
        }
      },
      "silverlabs_nat:tamed": {
        "minecraft:is_tamed": {},
        "minecraft:inventory": {
          "inventory_size": 16,
          "container_type": "horse"
        },
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "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": "!="
                    },
                    {
                      "any_of": [
                        {
                          "test": "has_equipment",
                          "value": "silverlabs_nat:whistle",
                          "subject": "other"
                        },
                        {
                          "test": "has_equipment",
                          "value": "sf_hba:whistle",
                          "subject": "other"
                        }
                      ]
                    },
                    {
                      "test": "is_sneaking",
                      "subject": "other",
                      "operator": "!="
                    }
                  ]
                }
              },
              "swing": true
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "saddle"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_baby"
                    }
                  ]
                },
                "event": "silverlabs_nat:saddled"
              },
              "use_item": true,
              "swing": true,
              "equip_item_slot": "0",
              "play_sounds": "saddle",
              "interact_text": "action.interact.saddle"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_baby"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:become_baby_tamed"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            },
            {
              "play_sounds": "armor.equip_generic",
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "is_sneaking",
                      "subject": "other",
                      "value": false
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "chest"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_saddled"
                    }
                  ]
                },
                "event": "silverlabs_nat:on_chest",
                "target": "self"
              },
              "use_item": true,
              "interact_text": "action.interact.attachchest"
            }
          ]
        }
      },
      "silverlabs_nat:baby_interact": {
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "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": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:grow_up_tamed"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_tamed"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:ageable_grow_up"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "saddle"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:become_baby_saddled"
              },
              "use_item": true,
              "swing": true,
              "equip_item_slot": "0",
              "play_sounds": "saddle",
              "interact_text": "action.interact.saddle"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:shears"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:unsaddled"
              },
              "hurt_item": 1,
              "swing": true,
              "play_sounds": "shear",
              "interact_text": "action.interact.shear",
              "spawn_items": {
                "table": "loot_tables/sf/nba/entities/saddle.loot.json"
              }
            }
          ]
        }
      },
      "silverlabs_nat:stay": {},
      "silverlabs_nat:wander_around": {
        "minecraft:behavior.random_stroll": {
          "priority": 7,
          "speed_multiplier": 1
        },
        "minecraft:behavior.random_look_around": {
          "priority": 9
        }
      },
      "silverlabs_nat:chested": {
        "minecraft:is_chested": {}
      },
      "silverlabs_nat:saddled": {
        "minecraft:is_saddled": {},
        "minecraft:rideable": {
          "seat_count": 2,
          "crouching_skip_interact": true,
          "interact_text": "action.interact.ride.horse",
          "pull_in_entities": false,
          "controlling_seat": 0,
          "seats": [
            {
              "position": [
                0,
                3.3,
                0.3
              ],
              "min_rider_count": 0,
              "max_rider_count": 2
            },
            {
              "position": [
                0,
                3.3,
                -0.6
              ],
              "min_rider_count": 2,
              "max_rider_count": 2,
              "lock_rider_rotation": 90
            }
          ]
        },
        "minecraft:loot": {
          "table": "loot_tables/sf/nba/entities/elephant_saddled.loot.json"
        },
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    },
                    {
                      "test": "is_sitting",
                      "operator": "!="
                    },
                    {
                      "any_of": [
                        {
                          "test": "has_equipment",
                          "value": "silverlabs_nat:whistle",
                          "subject": "other"
                        },
                        {
                          "test": "has_equipment",
                          "value": "sf_hba:whistle",
                          "subject": "other"
                        }
                      ]
                    },
                    {
                      "test": "is_sneaking",
                      "subject": "other",
                      "operator": "!="
                    }
                  ]
                }
              },
              "swing": true
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "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": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "saddle"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:saddled"
              },
              "use_item": true,
              "swing": true,
              "equip_item_slot": "0",
              "play_sounds": "saddle",
              "interact_text": "action.interact.saddle"
            },
            {
              "play_sounds": "armor.equip_generic",
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "is_sneaking",
                      "subject": "other",
                      "value": false
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "chest"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_chested"
                    }
                  ]
                },
                "event": "silverlabs_nat:on_chest",
                "target": "self"
              },
              "use_item": true,
              "interact_text": "action.interact.attachchest"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:shears"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_chested"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:remove_chest_only"
              },
              "hurt_item": 1,
              "swing": true,
              "play_sounds": "shear",
              "interact_text": "action.interact.shear",
              "spawn_items": {
                "table": "loot_tables/sf/nba/entities/chest.loot.json"
              }
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:shears"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_chested"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:unsaddled"
              },
              "hurt_item": 1,
              "swing": true,
              "play_sounds": "shear",
              "interact_text": "action.interact.shear",
              "spawn_items": {
                "table": "loot_tables/sf/nba/entities/saddle.loot.json"
              }
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "silverlabs_nat:info_book"
                    }
                  ]
                }
              },
              "swing": true
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_baby"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "silverlabs_nat:become_baby_tamed"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_baby"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "silverlabs_nat:baby"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            }
          ]
        }
      },
      "silverlabs_nat:player_controlled": {
        "minecraft:input_ground_controlled": {},
        "minecraft:can_power_jump": {},
        "minecraft:behavior.player_ride_tamed": {}
      },
      "silverlabs_nat:baby_saddled": {
        "minecraft:is_saddled": {},
        "minecraft:input_ground_controlled": {},
        "minecraft:can_power_jump": {},
        "minecraft:behavior.player_ride_tamed": {},
        "minecraft:rideable": {
          "seat_count": 1,
          "crouching_skip_interact": true,
          "interact_text": "action.interact.ride.horse",
          "pull_in_entities": false,
          "seats": {
            "position": [
              0,
              1.4,
              -0.1
            ]
          }
        },
        "minecraft:loot": {
          "table": "loot_tables/sf/nba/entities/elephant_saddled.loot.json"
        },
        "minecraft:interact": {
          "interactions": [
            {
              "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
                    },
                    {
                      "any_of": [
                        {
                          "test": "has_equipment",
                          "value": "silverlabs_nat:whistle",
                          "subject": "other"
                        },
                        {
                          "test": "has_equipment",
                          "value": "sf_hba:whistle",
                          "subject": "other"
                        }
                      ]
                    },
                    {
                      "test": "is_sneaking",
                      "subject": "other",
                      "operator": "!="
                    }
                  ]
                }
              },
              "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
                    },
                    {
                      "any_of": [
                        {
                          "test": "has_equipment",
                          "value": "silverlabs_nat:whistle",
                          "subject": "other"
                        },
                        {
                          "test": "has_equipment",
                          "value": "sf_hba:whistle",
                          "subject": "other"
                        }
                      ]
                    },
                    {
                      "test": "is_sneaking",
                      "subject": "other",
                      "operator": "!="
                    }
                  ]
                }
              },
              "swing": true
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_baby",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "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": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "silverlabs_nat:info_book"
                    }
                  ]
                }
              },
              "swing": true
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "silverlabs_nat:grow_up_tamed"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:debug_stick"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "silverlabs_nat:ageable_grow_up"
              },
              "use_item": true,
              "swing": true,
              "interact_text": "action.interact.transform"
            },
            {
              "on_interact": {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "player"
                    },
                    {
                      "test": "has_equipment",
                      "domain": "hand",
                      "subject": "other",
                      "value": "minecraft:shears"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_saddled"
                    },
                    {
                      "test": "is_sneak_held",
                      "subject": "other",
                      "value": false
                    }
                  ]
                },
                "event": "silverlabs_nat:unsaddled"
              },
              "hurt_item": 1,
              "swing": true,
              "play_sounds": "shear",
              "interact_text": "action.interact.shear",
              "spawn_items": {
                "table": "loot_tables/sf/nba/entities/saddle.loot.json"
              }
            }
          ]
        }
      },
      "silverlabs_nat:natural_despawn": {
        "minecraft:despawn": {
          "despawn_from_distance": {},
          "remove_child_entities": true
        }
      },
      "silverlabs_nat:persistent": {
        "minecraft:persistent": {}
      },
      "silverlabs_nat:permanent_baby": {
        "minecraft:is_baby": {},
        "minecraft:ageable": {
          "duration": -1
        }
      },
      "silverlabs_nat:baby_dancing": {
        "minecraft:movement": {
          "value": 0
        },
        "minecraft:navigation.generic": {
          "can_walk": false,
          "can_jump": false
        }
      },
      "silverlabs_nat:ridden_slow": {
        "minecraft:movement": {
          "value": 0.1
        }
      },
      "silverlabs_nat:ridden_slow_chested": {
        "minecraft:movement": {
          "value": 0.05
        }
      },
      "silverlabs_nat:restore_normal_movement": {
        "minecraft:movement": {
          "value": 0.2
        }
      },
      "silverlabs_nat:baby_ridden_slow": {
        "minecraft:movement": {
          "value": 0.1
        }
      },
      "silverlabs_nat:baby_restore_normal_movement": {
        "minecraft:movement": {
          "value": 0.2
        }
      }
    },
    "components": {
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:type_family": {
        "family": [
          "silverlabs_nat:elephant",
          "mob"
        ]
      },
      "minecraft:equippable": {
        "slots": [
          {
            "slot": 0,
            "item": "saddle",
            "accepted_items": [
              "saddle"
            ],
            "on_equip": {
              "event": "silverlabs_nat:saddled"
            },
            "on_unequip": {
              "event": "silverlabs_nat:unsaddled"
            }
          }
        ]
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "avoid_water": true,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.basic": {
        "max_turn": 15
      },
      "minecraft:jump.static": {
        "jump_power": 0.6
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "width": 2.5,
        "height": 3.5
      },
      "minecraft:nameable": {},
      "minecraft:health": {
        "value": 50,
        "max": 50
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:environment_sensor": {
        "triggers": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_music_nearby",
                  "value": true
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:is_dancing",
                  "value": false
                }
              ]
            },
            "event": "silverlabs_nat:add_dancing"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "any_of": [
                    {
                      "test": "bool_property",
                      "domain": "silverlabs_nat:has_music_nearby",
                      "value": false
                    }
                  ]
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:is_dancing",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:remove_dancing"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:inventory"
                }
              ]
            },
            "event": "silverlabs_nat:grow_up_tamed"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:input_ground_controlled"
                }
              ]
            },
            "event": "silverlabs_nat:grow_up_saddled"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "event": "silverlabs_nat:saddled"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "event": "silverlabs_nat:restore_baby_saddled"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:interact"
                }
              ]
            },
            "event": "silverlabs_nat:restore_baby_interact"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:input_ground_controlled"
                }
              ]
            },
            "event": "silverlabs_nat:become_baby_saddled"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:input_ground_controlled"
                }
              ]
            },
            "event": "silverlabs_nat:become_adult_saddled"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:interact"
                }
              ]
            },
            "event": "silverlabs_nat:restore_tamed"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_chested"
                },
                {
                  "test": "rider_count",
                  "operator": ">=",
                  "value": 1
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_player_driver",
                  "value": true
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": false
                }
              ]
            },
            "event": "silverlabs_nat:rider_mounted"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_chested"
                },
                {
                  "test": "rider_count",
                  "operator": ">=",
                  "value": 1
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_player_driver",
                  "value": true
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": false
                }
              ]
            },
            "event": "silverlabs_nat:rider_mounted_chested"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "rider_count",
                  "operator": "==",
                  "value": 0
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_player_driver",
                  "value": false
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:rider_dismounted"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_chested"
                },
                {
                  "test": "rider_count",
                  "operator": ">=",
                  "value": 1
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:chest_added_while_ridden"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_chested"
                },
                {
                  "test": "rider_count",
                  "operator": ">=",
                  "value": 1
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:chest_removed_while_ridden"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "rider_count",
                  "operator": ">=",
                  "value": 1
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": false
                }
              ]
            },
            "event": "silverlabs_nat:baby_rider_mounted"
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                },
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                },
                {
                  "test": "rider_count",
                  "operator": "==",
                  "value": 0
                },
                {
                  "test": "bool_property",
                  "domain": "silverlabs_nat:has_rider",
                  "value": true
                }
              ]
            },
            "event": "silverlabs_nat:baby_rider_dismounted"
          }
        ]
      },
      "minecraft:movement": {
        "value": 0.2
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1
      },
      "minecraft:behavior.avoid_mob_type": {
        "priority": 1,
        "entity_types": [
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "bee"
            },
            "max_dist": 8,
            "walk_speed_multiplier": 1.5,
            "sprint_speed_multiplier": 1.5
          }
        ]
      },
      "minecraft:behavior.nap": {
        "priority": 5,
        "cooldown_min": 2,
        "cooldown_max": 10,
        "can_nap_filters": {
          "test": "bool_property",
          "domain": "silverlabs_nat:can_drink"
        }
      },
      "minecraft:behavior.look_at_player": {
        "priority": 8,
        "look_distance": 6,
        "probability": 0.02
      },
      "minecraft:knockback_resistance": {
        "value": 0.75
      },
      "minecraft:variable_max_auto_step": {
        "base_value": 1,
        "controlled_value": 1,
        "jump_prevented_value": 1
      },
      "minecraft:leashable": {
        "soft_distance": 4,
        "hard_distance": 6,
        "max_distance": 10
      },
      "minecraft:healable": {
        "items": [
          {
            "item": "pumpkin",
            "heal_amount": 5
          },
          {
            "item": "minecraft:melon_slice",
            "heal_amount": 2
          }
        ]
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:follow_range": {
        "value": 20
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:scheduler": {
        "min_delay_secs": 0,
        "max_delay_secs": 0,
        "scheduled_events": [
          {
            "filters": {
              "test": "is_sleeping",
              "value": true
            },
            "event": "silverlabs_nat:start_drinking"
          }
        ]
      },
      "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:pacifier"
                  }
                ]
              },
              "event": "silverlabs_nat:revert_to_baby"
            },
            "use_item": false,
            "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
          }
        ]
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 95,
            "trigger": "silverlabs_nat:adult"
          },
          {
            "weight": 5,
            "trigger": "silverlabs_nat:entity_born"
          }
        ]
      },
      "silverlabs_nat:adult": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby",
            "silverlabs_nat:baby_wild",
            "silverlabs_nat:baby_tameable",
            "silverlabs_nat:baby_tamed",
            "silverlabs_nat:baby_interact",
            "silverlabs_nat:baby_dancing",
            "silverlabs_nat:saddled"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:adult",
            "silverlabs_nat:adult_hitbox",
            "silverlabs_nat:adult_wild",
            "silverlabs_nat:wander_around"
          ]
        }
      },
      "silverlabs_nat:entity_born": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:adult",
            "silverlabs_nat:adult_wild",
            "silverlabs_nat:adult_hostile",
            "silverlabs_nat:tamed",
            "silverlabs_nat:saddled",
            "silverlabs_nat:chested"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby",
            "silverlabs_nat:baby_wild",
            "silverlabs_nat:baby_tameable",
            "silverlabs_nat:baby_follow_parent",
            "silverlabs_nat:wander_around"
          ]
        }
      },
      "silverlabs_nat:spawn_as_baby_saddled": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:adult",
            "silverlabs_nat:adult_wild",
            "silverlabs_nat:adult_hostile",
            "silverlabs_nat:tamed",
            "silverlabs_nat:saddled",
            "silverlabs_nat:chested"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby",
            "silverlabs_nat:baby_wild",
            "silverlabs_nat:baby_tameable",
            "silverlabs_nat:baby_follow_parent",
            "silverlabs_nat:wander_around",
            "silverlabs_nat:baby_saddled"
          ]
        },
        "queue_command": {
          "command": "replaceitem entity @s slot.inventory 0 minecraft:saddle 1 0"
        }
      },
      "silverlabs_nat:ageable_grow_up": {
        "sequence": [
          {
            "add": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox"
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable",
                "silverlabs_nat:baby_tamed",
                "silverlabs_nat:baby_interact",
                "silverlabs_nat:baby_saddled",
                "silverlabs_nat:baby_follow_parent"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed"
                }
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:tamed",
                "silverlabs_nat:wander_around"
              ]
            },
            "set_property": {
              "silverlabs_nat:is_following_owner": false
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_tamed",
                  "operator": "!="
                }
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:adult_wild"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_saddled"
                }
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:saddled"
              ]
            }
          }
        ]
      },
      "silverlabs_nat:baby": {
        "sequence": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:adult_wild",
                "silverlabs_nat:adult_hostile",
                "silverlabs_nat:tamed",
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_saddled"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable",
                "silverlabs_nat:baby_saddled"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:adult_wild",
                "silverlabs_nat:adult_hostile",
                "silverlabs_nat:tamed",
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_saddled"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable"
              ]
            }
          }
        ]
      },
      "silverlabs_nat:become_baby_tamed": {
        "sequence": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:adult_wild",
                "silverlabs_nat:adult_hostile",
                "silverlabs_nat:tamed",
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_saddled",
                "silverlabs_nat:wander_around"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable",
                "silverlabs_nat:baby_tamed",
                "silverlabs_nat:baby_interact",
                "silverlabs_nat:baby_saddled",
                "silverlabs_nat:wander_around"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:adult_wild",
                "silverlabs_nat:adult_hostile",
                "silverlabs_nat:tamed",
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_saddled",
                "silverlabs_nat:wander_around"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable",
                "silverlabs_nat:baby_tamed",
                "silverlabs_nat:baby_interact",
                "silverlabs_nat:wander_around"
              ]
            }
          }
        ]
      },
      "silverlabs_nat:grow_up_tamed": {
        "sequence": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable",
                "silverlabs_nat:baby_tamed",
                "silverlabs_nat:baby_interact",
                "silverlabs_nat:baby_dancing",
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_saddled",
                "silverlabs_nat:baby_follow_parent",
                "silverlabs_nat:adult_wild"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:tamed",
                "silverlabs_nat:saddled",
                "silverlabs_nat:wander_around"
              ]
            },
            "set_property": {
              "silverlabs_nat:is_following_owner": false
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:rideable"
                }
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable",
                "silverlabs_nat:baby_tamed",
                "silverlabs_nat:baby_interact",
                "silverlabs_nat:baby_dancing",
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_saddled",
                "silverlabs_nat:baby_follow_parent",
                "silverlabs_nat:adult_wild"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:tamed",
                "silverlabs_nat:wander_around"
              ]
            },
            "set_property": {
              "silverlabs_nat:is_following_owner": false
            }
          }
        ]
      },
      "silverlabs_nat:grow_up_saddled": {
        "add": {
          "component_groups": [
            "silverlabs_nat:saddled"
          ]
        }
      },
      "silverlabs_nat:become_baby_saddled": {
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_saddled"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:saddled"
          ]
        }
      },
      "silverlabs_nat:become_adult_saddled": {
        "add": {
          "component_groups": [
            "silverlabs_nat:saddled"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_saddled"
          ]
        }
      },
      "silverlabs_nat:baby_tamed": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_wild",
            "silverlabs_nat:baby_tameable",
            "silverlabs_nat:baby_follow_parent",
            "silverlabs_nat:wander_around"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_tamed",
            "silverlabs_nat:baby_interact",
            "silverlabs_nat:wander_around"
          ]
        },
        "set_property": {
          "silverlabs_nat:is_following_owner": false
        }
      },
      "silverlabs_nat:on_calm": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:adult_hostile"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:adult_wild"
          ]
        }
      },
      "silverlabs_nat:on_anger": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:adult_wild"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:adult_hostile"
          ]
        }
      },
      "silverlabs_nat:baby_on_calm": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_scared"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_wild"
          ]
        }
      },
      "silverlabs_nat:on_scared": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_wild"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_scared"
          ]
        }
      },
      "silverlabs_nat:can_drink": {
        "set_property": {
          "silverlabs_nat:can_drink": true
        }
      },
      "silverlabs_nat:start_drinking": {
        "set_property": {
          "silverlabs_nat:is_drinking": true
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:elephant_drinking"
          ]
        }
      },
      "silverlabs_nat:can_move_to_water": {
        "set_property": {
          "silverlabs_nat:can_drink": false,
          "silverlabs_nat:is_drinking": false
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:elephant_drinking"
          ]
        }
      },
      "silverlabs_nat:on_tame": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:adult_wild",
            "silverlabs_nat:wander_around"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:tamed",
            "silverlabs_nat:wander_around"
          ]
        },
        "set_property": {
          "silverlabs_nat:is_following_owner": false
        }
      },
      "silverlabs_nat:follow_owner": {
        "add": {
          "component_groups": [
            "silverlabs_nat:stay"
          ]
        },
        "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:stay"
          ]
        },
        "set_property": {
          "silverlabs_nat:is_following_owner": false
        },
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:whistle_wander"
          ],
          "target": "self"
        }
      },
      "silverlabs_nat:on_chest": {
        "add": {
          "component_groups": [
            "silverlabs_nat:chested"
          ]
        },
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:on_chest"
          ],
          "target": "self"
        }
      },
      "silverlabs_nat:remove_chest": {
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:remove_chest"
          ],
          "target": "self"
        }
      },
      "silverlabs_nat:saddled": {
        "sequence": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_baby"
                }
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby_saddled"
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:saddled",
                "silverlabs_nat:baby_interact"
              ]
            }
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "operator": "!=",
                  "value": "minecraft:is_baby"
                }
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:saddled"
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:baby_interact"
              ]
            }
          }
        ]
      },
      "silverlabs_nat:restore_baby_saddled": {
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_saddled"
          ]
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:saddled",
            "silverlabs_nat:baby_interact"
          ]
        }
      },
      "silverlabs_nat:unsaddled": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:saddled",
            "silverlabs_nat:baby_saddled"
          ]
        },
        "queue_command": {
          "command": [
            "replaceitem entity @s slot.inventory 0 air"
          ]
        }
      },
      "silverlabs_nat:remove_chest_only": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:chested"
          ]
        },
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:drop_chest_items"
          ]
        }
      },
      "silverlabs_nat:unsaddle_and_remove_chest": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:saddled",
            "silverlabs_nat:baby_saddled",
            "silverlabs_nat:chested"
          ]
        },
        "queue_command": {
          "command": [
            "replaceitem entity @s slot.inventory 0 air",
            "scriptevent silverlabs_nat:drop_chest_items"
          ]
        }
      },
      "silverlabs_nat:restore_baby_interact": {
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_interact"
          ]
        }
      },
      "silverlabs_nat:restore_tamed": {
        "add": {
          "component_groups": [
            "silverlabs_nat:tamed"
          ]
        }
      },
      "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:add_dancing": {
        "set_property": {
          "silverlabs_nat:is_dancing": true
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_dancing"
          ]
        }
      },
      "silverlabs_nat:remove_dancing": {
        "set_property": {
          "silverlabs_nat:is_dancing": false
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_dancing"
          ]
        }
      },
      "silverlabs_nat:rider_mounted": {
        "set_property": {
          "silverlabs_nat:has_rider": true
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:restore_normal_movement",
            "silverlabs_nat:ridden_slow_chested"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:ridden_slow"
          ]
        }
      },
      "silverlabs_nat:rider_mounted_chested": {
        "set_property": {
          "silverlabs_nat:has_rider": true
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:restore_normal_movement",
            "silverlabs_nat:ridden_slow"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:ridden_slow_chested"
          ]
        }
      },
      "silverlabs_nat:rider_dismounted": {
        "set_property": {
          "silverlabs_nat:has_rider": false
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:ridden_slow",
            "silverlabs_nat:ridden_slow_chested"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:restore_normal_movement"
          ]
        }
      },
      "silverlabs_nat:chest_added_while_ridden": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:ridden_slow"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:ridden_slow_chested"
          ]
        }
      },
      "silverlabs_nat:chest_removed_while_ridden": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:ridden_slow_chested"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:ridden_slow"
          ]
        }
      },
      "silverlabs_nat:baby_rider_mounted": {
        "set_property": {
          "silverlabs_nat:has_rider": true
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_restore_normal_movement"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_ridden_slow"
          ]
        }
      },
      "silverlabs_nat:baby_rider_dismounted": {
        "set_property": {
          "silverlabs_nat:has_rider": false
        },
        "remove": {
          "component_groups": [
            "silverlabs_nat:baby_ridden_slow"
          ]
        },
        "add": {
          "component_groups": [
            "silverlabs_nat:baby_restore_normal_movement"
          ]
        }
      },
      "silverlabs_nat:enable_player_control": {
        "add": {
          "component_groups": [
            "silverlabs_nat:player_controlled"
          ]
        }
      },
      "silverlabs_nat:disable_player_control": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:player_controlled"
          ]
        }
      },
      "silverlabs_nat:start_sniff": {
        "queue_command": {
          "command": [
            "playsound silverlabs_nat.flower_obsession.baby_sniff_large @a[r=6]"
          ]
        }
      },
      "silverlabs_nat:revert_drop_chest": {
        "remove": {
          "component_groups": [
            "silverlabs_nat:chested"
          ]
        },
        "queue_command": {
          "command": [
            "scriptevent silverlabs_nat:revert_chest_drop"
          ]
        }
      },
      "silverlabs_nat:revert_to_baby": {
        "trigger": "silverlabs_nat:become_persistent",
        "sequence": [
          {
            "filters": {
              "all_of": [
                {
                  "test": "has_component",
                  "value": "minecraft:is_chested"
                }
              ]
            },
            "trigger": "silverlabs_nat:revert_drop_chest"
          },
          {
            "queue_command": {
              "command": [
                "playsound silverlabs_nat.pacifier.interact @a[r=10] ~~~"
              ]
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby",
                "silverlabs_nat:baby_interact"
              ]
            },
            "remove": {
              "component_groups": [
                "silverlabs_nat:adult",
                "silverlabs_nat:adult_hitbox",
                "silverlabs_nat:adult_wild",
                "silverlabs_nat:saddled",
                "silverlabs_nat:chested"
              ]
            }
          },
          {
            "filters": {
              "test": "has_component",
              "value": "minecraft:is_tamed",
              "operator": "!="
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby_wild",
                "silverlabs_nat:baby_tameable"
              ]
            }
          },
          {
            "filters": {
              "test": "has_component",
              "value": "minecraft:is_tamed"
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby_tamed"
              ]
            }
          },
          {
            "filters": {
              "test": "has_component",
              "value": "minecraft:is_saddled"
            },
            "add": {
              "component_groups": [
                "silverlabs_nat:baby_saddled"
              ]
            },
            "queue_command": {
              "command": [
                "replaceitem entity @s slot.inventory 0 saddle"
              ]
            }
          }
        ]
      },
      "silverlabs_nat:knapsack_no_capture": {}
    }
  }
}