> For the complete documentation index, see [llms.txt](https://a3626a.gitbook.io/hungryanimals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://a3626a.gitbook.io/hungryanimals/5.4/basics/animal-registry.md).

# Animal Registry

## Introduction

`animal.json` contains list of the names of animals that will be registered to Hungry Animals.

## Grammar

{% code title="animal.json" %}

```
[
  hungry_animal_entry,
  hungry_animal_entry,
  ...
]
```

{% endcode %}

{% code title="hungry\_animal\_entry " %}

```
string
|
{
  "name" : string,
  "tamable" : boolean,
  "model_growing" : boolean,
  "sexual" : boolean,
  "ageabe" : bollean
}
```

{% endcode %}

## Usage

if `"tamable"` is false, then taming is disabled for the animals. Default value is true.

if `"model_growing"` is true, then animals's sizes grow depending on their weight. Default value is true.

if `"sexual"` is false, then animals become asexual. Default value is true.

if `"ageable"` is false, then animals are always adult.

### Example

```
[
    {
        "name" : "minecraft:cow"
        "tamable" : false,
        "model_growing" : true
    },
    "minecraft:chicken"
]
```

Cow and Chicken are registered, but cow's taming is disabled. "Disabling taming" is to consider cow as tamed always. Read console logs, or use Debug Glass in game to get name of an animal.
