# 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,
  "hungry" : boolean
}
```

{% 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.

if `"hungry"` is false, most of HA's features are disabled. Animals won't drink milk from their mother, move to eat item, move to eat block, and move to trough. They can be bred by vanilla breeding items. The amount of meat dropped becomes vanilla.&#x20;

### 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.
