吸引村民
让村民跟随你,或跟随由绿宝石物品组成的路径!
通过放置一条绿宝石路径或手持绿宝石块来吸引村民,从而更轻松地迁移他们。
再也不用铺设铁轨或在地面上划船了!
本页面介绍的是数据包的最新版本
如需查看旧版本,请访问 GitHub:
- V.2.1.3 适用于 MC 1.19 至 1.19.4
- V.2.1.3 适用于 MC 1.20 至 1.20.1
- V.2.1.4 适用于 MC 1.20.2 至 1.20.4
?简介
Attract Villagers 是什么?
迁移村民可能需要长距离的铁轨,而这些铁轨本身建造和拆除起来都很麻烦。此外,将村民放入矿车或船只中移动并不总是那么容易。
为了解决这个问题,这个数据包引入了另外两种吸引村民的方法。
这两种方法分别名为 跟随(Follow) 模式和 拾取(Pickup) 模式。
跟随模式
玩家一只手持有绿宝石块时,会引诱周围的村民和流浪商人,使他们开始跟随玩家。这仅仅是复制了当玩家手持小麦靠近牛或羊等动物时,它们所表现出的行为。
拾取模式
这种方式类似于猪灵对金锭的行为。村民会走向周围的绿宝石并将其收集,允许玩家设置某种绿宝石物品路径,以吸引村民和流浪商人前往特定地点。
他们会保留所有收集的绿宝石,因此这种方法是以牺牲绿宝石为代价来换取吸引效果。
⚙️设置
切换拾取或跟随模式
如果你不喜欢其中任何一种方法,可以直接禁用它。
以下命令分别用于启用、禁用或获取每种模式的当前状态。默认情况下,两种模式均处于启用状态。
对于跟随模式:
/function pk_at_vi:settings/mode/follow/true
/function pk_at_vi:settings/mode/follow/false
/function pk_at_vi:settings/mode/follow/get
以及拾取模式:
/function pk_at_vi:settings/mode/pickup/true
/function pk_at_vi:settings/mode/pickup/false
/function pk_at_vi:settings/mode/pickup/get
?技术细节
如果你是数据包开发者、服务器管理员或地图制作者,你可能对这些细节感兴趣:
- 具有
NoAINBT 标签且值为true的村民或流浪商人,或者正在骑乘载具的村民/流浪商人,无法被引诱。 - 它们在距离诱惑源(绿宝石物品或手持绿宝石块的玩家)10 格范围内受到吸引。
- 如果你想防止某些特定的村民或流浪商人被引诱,可以给它们添加
pk.at_vi.untemptable标签。 - 你还可以编辑数据包的 物品标签 来管理可用于跟随和拾取模式的物品。这两个文件位于
./data/pk_at_vi/tags/item(s)/<mode>.json中。
? 报告问题
如果你在使用此数据包时遇到了问题,建议加入 Discord 服务器,并在专门的 #data-pack-issues 频道发帖描述你的问题。请别忘了提供所有必要信息,包括:
- 你使用的 Minecraft 版本。
- 你使用的该数据包的版本。
- 你是否使用了任何修改版客户端/服务端,如 Forge、Paper 或 Spigot。
- 如果是,请列出可能影响数据包运行的插件或模组。
- 你使用的其他数据包列表(如果有)。
- 对你问题的清晰描述及复现步骤。
- 如有必要,附上游戏内的视频或截图。
? 其他链接
感谢使用 Attract Villagers!得知大家喜欢它让我很开心。 如果你想支持它的开发以及其他数据包的开发,可以通过我的其他社交网络支持我:
- Planet Minecraft
- 或者如果你慷慨大方,我也接受通过 paypal 或 请我喝杯咖瓦(buy me a kawa)(“咖啡”的俚语说法)进行的捐赠!
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:
- V.2.1.3 for MC 1.19 to 1.19.4
- V.2.1.3 for MC 1.20 to 1.20.1
- V.2.1.4 for MC 1.20.2 to 1.20.4
?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:
- 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
下载 Attract Villagers
下载 Attract Villagers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Attract Villagers
下载 Attract Villagers
下载 Attract Villagers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Attract Villagers
下载 Attract Villagers
- 已更新以适配 26.3。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
数据包
手持潜影盒时可直接打开,无需将其放置在地面上。只需按住 Shift 并右键点击即可访问你的潜影盒。
评论 0
登录后参与评分
还没有评论,来抢沙发吧