# Villagers

Villagers are significantly modified on Vanilla+.

Villagers are limited per chunk to 4 unoptimized villagers and 24 optimized villagers. Any villagers exceeding these limits may despawn after a short period of time.

You can optimize a villager by simply trading with it or by using a nametag named “Optimize” on the villager. This will not consume the nametag.

When a villager is optimized, it only improves server performance and has no other gameplay effects. Villager trade restock times are unaffected.

If you wish to un-optimize a villager, simply name it anything else. This will not consume the nametag.

***

## Villager Breeders

Villager breeders are slightly modified on Vanilla+ due to the 6 villager per chunk limit, causing them to not be infinitely stack-able.

It is suggested to move your villagers a chunk away from where they were originally bred, as this **sometimes** causes issues with breeders breaking.

{% embed url="<https://www.youtube.com/watch?v=5Ehf7eLOlYw>" %}
The borders of the farmland do not have to be glass panes, they can be any solid block.
{% endembed %}


---

# 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://docs.vanillaplus.net/farms/villagers.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.
