> For the complete documentation index, see [llms.txt](https://pickytweaks.gitbook.io/cupido-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pickytweaks.gitbook.io/cupido-wiki/mobs.md).

# Mobs

Everything you need to know about mobs, from the management to the creation of custom properties!

## Mobs section explained

{% code title="config.yml" %}

```yaml
mobs:
  type: hearts
  enabled: true
  animation: true
  render-distance: 30
  dynamic: false
  duration: 10
  
```

{% endcode %}

* <mark style="color:blue;">**type:**</mark> Decides to show hearts or bars.
* <mark style="color:blue;">**enabled:**</mark> Set the duration of the hearts after the player is hit (if dynamic: true).
* <mark style="color:blue;">**animation:**</mark> Enables or Disables the white overlays for the hearts.
* <mark style="color:blue;">**render-distance:**</mark> Set how far the hearts are rendered.
* <mark style="color:blue;">**dynamic:**</mark> Shows the hearts only when the player is hit by another player.
* <mark style="color:blue;">**duration:**</mark> Set the duration of the hearts after the player is hit (if dynamic: true).

## Add specific-mobs properties

Head over **Cupido/mobs/minecraft.yml**, there you'll be able to add custom properties that will override the default ones set in config.yml in the "mobs:" section!

Be sure to use the only existing mobs!

{% code title="mobs/minecraft.yml" %}

```yaml
Mobs:
  ZOMBIE:
    type: bars
    colors:
      low: '&4'
      medium: '&6'
      high: '&a'
    hearts:
      max: 20
    bars:
      max: 180

```

{% endcode %}
