# Animal config

Located in **server/plugins/MochiFarm/animals\_config**

## example\_cow\.json

```json
{
  "default_entity": true,
  "config_name": "example_cow",
  "type": "COW",
  "display_name": "{#C4741E}Basic Cow",
  "time_growth": 600,
  "breeding_items": [...],
  "egg": {...},
  "drop_items": [...],
  "passive_drop_items": [...],
  "tools": [...]
}
```

**default\_entity** - all entities of the COW type will be replaced with this config\
**config\_name** - It's better to use the file name without spaces\
**type** - type of entity in minecraft\
**display\_name** - animal name\
**time\_growth** - how many seconds will the animal grow\
**egg** - LiteItem\
**drop\_items** - items that drop when harvest/killing an animal. LiteDrop\
**passive\_drop\_items** - items that drop within a certain time interval. LiteDrop\
**tools** - tools that are activated by animals

## breeding\_items

Items that allow you to breed animals. You feed them with these items, then after a while a new small animal appears.

```json
"breeding_items": [
    {
      "item": {
        "amount": 1,
        "material": "WHEAT",
        "display_name": "{#FFE067}Basic Wheat"
      },
      "time": 600,
      "chance": 50.0,
      "need_partner": true
    }
  ]
```

**item** - LiteItem\
**time** - time in seconds after which the animal will give birth\
**chance** - time for a successful birth\
**need\_partner** - If enabled, a partner is required for a successful pregnancy. Otherwise, after the pregnancy, you will immediately become pregnant

## tools

```json
 "tools": [
    {
      "id": 58151528431300,
      "item": {
        "amount": "1",
        "material": "SHEARS",
        "display_name": "{#ADADAD}Shears"
      },
      "time": 600,
      "baby": false,
      "drops": [LiteDrop]
    }
  ]
```

**item** - LiteItem\
**time** - tool reload time for a one entity\
**baby** -   if enabled then the entity becomes small after use


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://roribinki.gitbook.io/mochibreeding/config/animal-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
