Перейти к содержимому
Mineforgian

Attract Villagers

Attract villagers with emeralds to relocated them more easily. No need for rail tracks or boat anymore!

13K загрузок67 подписчиковCC-BY-SA-4.0datapack

Обновлён 26 марта 2026 г. · опубликован 22 сентября 2024 г.

  • Attract Villagers

Attract Villagers

Make villagers follow you or a track of emerald items!

Attract villagers with a track of emeralds or by holding an emerald block to relocated them more easily.
No need for railroads or rowing a boat on the ground anymore!

This presentation concerns the latest version of the data pack
For older ones, you can check them on Github:

🪄Introduction

What is Attract Villagers?

Relocating villagers may require long railroads, that are themselves annoying to build and remove. Moreover, putting a villager inside a minecart or a boat to move it isn't always easy.
In order to solve that, this data pack introduces two other methods to attract villagers. These methods are named Follow and Pickup modes.

Follow Mode

Players holding an emerald block in one of their hands will tempt villagers and wandering traders around them, and they will start following them. It simply replicates the behavior some animals like cows or sheeps would have when the player hold wheat near them.

Pickup Mode

This way is quite similar to the behavior of piglin with gold ingots. Villagers will walk to emeralds around them and will gather them, allowing players to set up kind of emerald items track to attract villagers and wandering traders to a certain point.
They will keep all emeralds they collect, so this method involves a counterparty for the fact they can be attracted.

⚙️Settings

Toggling Pickup or Follow modes

If you don't like one or the other method, you can simply disable it.

The following commands respectively allow you to enable, disable, or get the current state of each mode. Both modes are enabled by default.

For the Follow mode:

/function pk_at_vi:settings/mode/follow/true
/function pk_at_vi:settings/mode/follow/false
/function pk_at_vi:settings/mode/follow/get

And the Pickup mode:

/function pk_at_vi:settings/mode/pickup/true
/function pk_at_vi:settings/mode/pickup/false
/function pk_at_vi:settings/mode/pickup/get

🦾Technical details

If you're a data pack developer, a server administrator or a map maker, you may be interessted in these following details:

  • Villagers and wandering traders with the NoAI NBT set to true or riding a vehicle can't be tempted.
  • They are attracted within a range of 10 blocks to a tempting source (emerald item or player holding an emerald block).
  • If you want to prevent certain villagers or wandering traders to be tempted, you can add the pk.at_vi.untemptable tag to them.
  • You can also edit the data pack's item tags to manage items that can be used for the Follow and Pickup modes. Both files are located in ./data/pk_at_vi/tags/item(s)/<mode>.json.

🪠 Report an issue

If you encountered an issue with this data pack, preferably join the Discord server, and open a post in the dedicated #data-pack-issues channel to describe your problem. Please, don't forget to provide all necessary informations including:

  • The Minecraft version you're using.
  • The version of the concerned data pack you're using.
  • If you're using any modified version like Forge, Paper or Spigot.
  • If you do, the plugins or mods you're using that may alter the functioning of data packs.
  • The list of other data packs you're using, if you have others.
  • A clear description of your issue, and a way to reproduce it.
  • If necessary, a video or a screenshot of the issue in game.

📌 Other links

Thank you for using Attract Villagers! It makes me happy to know people are enjoying it. If you want to support its development and the development of other data packs, you can support me on my other social networks:

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
V.3.0.3Релиз26.1, 26.1.1, 26.1.2, 26.2datapack26 марта 2026 г.Скачать (37 КБ)
V.3.0.1Релиз1.21.9, 1.21.10, 1.21.11datapack2 ноября 2025 г.Скачать (37 КБ)
V.3.0.0Релиз1.21.9, 1.21.10datapack3 октября 2025 г.Скачать (36 КБ)
V.3.0.0Релиз25w31adatapack29 июля 2025 г.Скачать (36 КБ)
V.3.0.0Релиз1.21.5, 1.21.6, 1.21.7, 1.21.8datapack23 октября 2024 г.Скачать (39 КБ)
V.3.0.0Релиз1.21, 1.21.1datapack27 сентября 2024 г.Скачать (39 КБ)
V.3.0.0Релиз1.20.5, 1.20.6datapack27 сентября 2024 г.Скачать (40 КБ)

Ченджлог

V.3.0.3Релиз26.1.1, 26.1.2, 26.2 · 26 марта 2026 г.
  • Updated for 26.1.
  • Normalized text components syntax.
V.3.0.1Релиз1.21.9, 1.21.10, 1.21.11 · 2 ноября 2025 г.
  • Baby villagers can't be tempted by emeralds or emerald block anymore.
  • Set a single safeguard trade to the guide entity, so whenever a player manages to interact with the wandering trader guiding a villager, they can't exploit it anymore.
V.3.0.0Релиз1.21.9, 1.21.10 · 3 октября 2025 г.
  • Updated for 1.21.9.
V.3.0.0Релиз25w31a · 29 июля 2025 г.
  • Updated for 25w31a with new pack format properties.
V.3.0.0Релиз1.21.6, 1.21.7, 1.21.8 · 23 октября 2024 г.
  • Updated for 1.21.3.
V.3.0.0Релиз1.21, 1.21.1 · 27 сентября 2024 г.
  • Both Follow and Pickup modes can now be used simultaneously.
  • You can now interact with villagers while they are in their attraction state.
  • Recreated from scratch with the recent Minecraft versions features and KawaMood's data packs V.3 standards.
V.3.0.0Релиз1.20.5, 1.20.6 · 27 сентября 2024 г.
  • Both Follow and Pickup modes can now be used simultaneously.
  • You can now interact with villagers while they are in their attraction state.
  • Recreated from scratch with the recent Minecraft versions features and KawaMood's data packs V.3 standards.

Комментарии

Загружаем…