HomeJavaDatapacksAttract Villagers
Attract Villagers
DatapacksJava

Attract Villagers

by KawaMood · on Modrinth

Attract villagers with emeralds to relocated them more easily. No need for rail tracks or boat anymore!. Free Minecraft Java datapack for 26.1, 26.1.1…

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 26.1–26.2⬇ Download for 1.21.9–1.21.11⬇ Download for 1.21.2–1.21.8⬇ Download for 1.21–1.21.1⬇ Download for 1.20.5–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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:

🪠 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:

📌 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:

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more