Animal Registry

Introduction

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

Grammar

animal.json
[
  hungry_animal_entry,
  hungry_animal_entry,
  ...
]
hungry_animal_entry
string
|
{
  "name" : string,
  "tamable" : boolean,
  "model_growing" : boolean,
  "sexual" : boolean,
  "ageabe" : bollean
}

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.

Last updated