Guard Villagers

Guard Villagers

68064851 次下载
最近更新9 个月前
帮助村庄害虫控制的守卫 Guards that help with village pest control

你是否厌倦了因为村庄的铁傀儡太懒,导致村庄逐渐衰败?

你是否厌倦了几乎只能独自保卫村庄?

这个模组添加了守卫作为解决方案,同时还对村民相关的AI进行了新的改动。

* 表示某个功能是可配置的

这里有织物(Fabric)版本!(非官方版本,并非由我制作,若有任何相关问题,请向他们的Discord反馈,而非我们的)

在此处发布你的建议!

守卫

他们以六人一组的形式在村庄生成,装备铁剑或弩。他们时刻准备与任何威胁村庄的敌人战斗(可能也包括你!)。要制作新的守卫,手持剑或弩,对傻子村民或无业村民蹲下并右键点击。

守卫可以与村民“闲聊”,如果玩家声望足够高、拥有“村庄英雄”效果,或者是由该玩家转化而来的,守卫会信任玩家并允许玩家打开他们的物品栏。右键点击将打开守卫的物品栏,你可以给他们装备盔甲,并更换他们的武器!对于副手栏位,你可以给他们一面盾牌,或者一些食物。如果他们有盾牌,他们会用它来抵挡攻击。手持盾牌的弩手守卫在抵挡攻击时无法踢敌人。如果他们有食物(或药水),当生命值较低时,他们会开始进食或饮用。

玩家可以通过点击右侧的“巡逻”按钮,让守卫站在特定区域。如果玩家拥有“村庄英雄”效果,左侧的“跟随”按钮将解锁,顾名思义,该按钮能让守卫跟随玩家并为玩家战斗。拥有“村庄英雄”效果的玩家敲响村庄的钟,钟声范围内的多个守卫也会跟随玩家。

杂项

其他一些小的新增内容包括:

添加了基岩版大头婴儿村民*(默认开启)

女巫会攻击村民。*默认开启

在袭击中,灾厄村民会杀死他们看到的任何动物。*默认开启

村民和灾厄村民害怕北极熊。*默认开启

牧师会使用再生药水治疗低生命值的守卫、村民以及拥有“村庄英雄”效果的玩家,铁匠会用铁锭修复铁傀儡。

内部物品栏中有多余食物的村民会把食物给守卫。

铁傀儡现在会在水上漂浮,以免被困在河流和池塘中。*默认开启

常见问题

你能移植到旧版本/织物(Fabric)上吗?

不行。维护一个版本已经够难了,而且我从未学过织物(Fabric)相关知识。不过,该模组的许可协议允许你自行移植。目前也已经有这个模组的织物(Fabric)版本了。

那[插入最新版本]呢?

抱歉,这个模组只会在大版本更新(1.20、1.21、1.22等)时进行更新,原因很简单,我无法投入所有时间,将我的模组更新到每一个新发布的版本。

你能移植到Windows 10版/Xbox/移动端吗?

不行。基岩版的模组使用完全不同的框架,我也从未学过。模组的许可协议允许你自行尝试,但由于基岩版的模组API功能不如Forge,你可能无法完全复现所有内容。

为什么守卫不像其他村民职业那样有工作站?

我还没想到一个合适的方块,既能让大量守卫存在,又不会在存放时造成不便。

怎样让守卫生成时带有模组装备?

要让守卫生成时带有自定义装备,只需在自定义数据包中覆盖这些文件:

如果使用1.20.1及以上版本,覆盖armor_sets文件夹中的文件:https://github.com/seymourimadeit/guardvillagers/tree/main/src/main/resources/data/guardvillagers/loot_table/entities

如果使用1.19.2及以下版本,覆盖guard_(装备栏位)文件:https://github.com/seymourimadeit/guardvillagers/tree/1.19/src/main/resources/data/guardvillagers/loot_tables/entities

查看1.21.1版本的数据包示例(通过将loot_table文件夹改为loot_tables,可使其与1.20.1版本兼容):https://github.com/seymourimadeit/Guard-Datapack-Example

怎样让这个模组减少卡顿?

任何过度的卡顿都不是该模组有意为之,应该在GitHub上反馈。不过,在配置中禁用守卫巡逻村庄的功能可能会有所帮助。

这个模组与X兼容吗?

试试就知道了!

加入我们的Discord!

特别感谢MMD Discord中的朋友们,他们在模组内容方面给予了我帮助。


Are you tired of your village dying off because its golem is too lazy?

Are you tired of essentially defending it all by yourself?

This mod adds Guards as a solution, as well as new villager-related AI changes.

* means a feature is configurable

Fabric version here! (UNOFFICIAL AND NOT MADE BY ME, PLEASE REPORT ANY ISSUES PERTAINING TO THEM TO THEIR DISCORD, NOT OURS)

Post your suggestions here!

Guards 

They spawn in villages in groups of six, equipped with either an iron sword or a crossbow. They're prepared to fight any threat to the village (possibly including you!). To make new guards, crouch and right click on a nitwit or unemployed villager with a sword or crossbow.

Guards can 'gossip' with villagers and will trust the player to open their inventory if they have a high enough reputation, have hero of the village, or was converted by the player. Right clicking will open up the guard inventory, allowing you to give them armor, and swap out their weapons! For their offhand slot, you can either give them a shield, or some food. If they have a shield, they will use it to block attacks. Crossbow guards with a shield won't be able to kick enemies if they're blocking. If they have food (or a potion), they will start eating or drinking if they are low on health.

Players are able to make guards stand on a specific area by clicking on the 'patrol' button seen on the right. If the player has hero of the village, the 'follow' button, seen on the left, will be unlocked and as the name implies will allow guards to follow the player and fight for the player. Ringing a village bell with the hero of the village effect will also allow multiple guards in the bell's area to follow the player. 

Misc.

Other minor additions include:

Big-headed baby villagers from bedrock have been added*(true by default)

Witches attack villagers. *true by default 

In raids, illagers kill any animal they see. *true by default 

Villagers and Illagers are scared of polar bears. *true by default 

Clerics heal low-health guards, villagers, and players with Hero of the Village using regeneration potions, and smiths repair iron golems with ingots.

Villagers that have excess food in their internal inventory will give food to the guards. 

Golems will now float on water in order to avoid being stuck in rivers and ponds. *true on default

Frequently Asked Questions

Can you port to an older version/fabric?

No. Maintaining one version is hard enough already, and I've never learned fabric. However, the mod's license permits you to make ports yourself. A fabric version of this mod also currently exists.4

What about [insert newest version]?

Sorry, but this mod will only be updated to major version changes (1.20, 1.21, 1.22, etc) for the simple fact that I cannot physically dedicate all my existing time to updating my mods to every single new drop.

Can you port to Windows 10 Edition/Xbox/Mobile?

No. Mods for the Bedrock ediiton use a completely different framework that I've also never learned. The mod's license allows you to try yourself, but since the modding API on Bedrock is less capable than forge you probably won't be able to replicate all of it.

Why don't guards have a workstation like other villager professions?

I haven't thought of a suitable block that would let you have a large number of guards without being inconvenient to store.

How would you make guards spawn with modded equipment?

To make guards spawn with custom equipment, simply override these files in a custom datapack:

If using 1.20.1 and up, override the files in the armor_sets folder: https://github.com/seymourimadeit/guardvillagers/tree/main/src/main/resources/data/guardvillagers/loot_table/entities 

If using 1.19.2 and below, override the guard_(equipment slot) files: https://github.com/seymourimadeit/guardvillagers/tree/1.19/src/main/resources/data/guardvillagers/loot_tables/entities

See an example datapack for 1.21.1 (which can be made compatible for 1.20.1 by changing the loot_table folder to loot_tables): https://github.com/seymourimadeit/Guard-Datapack-Example 

How do I make the mod less laggy?

Any extreme amount of lag is unintended by the mod and should be reported to the github. However, disabling the ability to guards to patrol villages in the config can help.

Is this mod compatible with X?

Try and see!

Join our discord!

 Special thanks to those in the MMD discord for helping me with some of the mods contents.

 
 

本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!