Attract Villagers
Attract villagers with emeralds to relocated them more easily. No need for rail tracks or boat anymore!
截图
介绍
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
NoAINBT set totrueor 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.untemptabletag 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:
- Youtube
- Planet Minecraft
- Or if you’re in a generous mood, I accept donation on paypal or buy me a kawa (slang term for “coffee”)!
常见问题
Attract Villagers 支持哪些 Minecraft 版本?
Attract Villagers 支持 Minecraft Java 版 1.20.5–26.3,共 19 个版本。下载时注意选择和你游戏版本一致的文件。
Attract Villagers 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
KawaMood 的其他作品
查看全部 →
KawaMood’s Waystones
Craft and place waystones to quickly travel between all your points of interest.
Racks
Your tools and weapons will no longer envy the armor stands. From now on, they will also have their own exhibition space!
No Creeper Grief
Creepers will still damage entities around when they blast, but won't break blocks anymore.
Better Item Frames
Easily turn your item frames invisible or visible in Survival! You can also lock your item frames rotation to avoid miss-click issues.
评论
登录后评论和评分