简介:
此数据包旨在为原版 Minecraft 添加村庄守卫,支持 Minecraft 1.16.2 至 1.21.11 版本。
村庄守卫属性:
- 生命值 ♥️:20(10颗心)
- 护甲值 ?️:6(相当于3层护甲)
- 攻击伤害 ⚔️:11(5.5颗心)
- 远程攻击伤害 ?:8-10(4-5颗心)
- 可在水中漂浮,因此不会溺亡 ?
- 敌意 ?:对所有僵尸类型、灾厄村民以及苦力怕怀有敌意
- 随时间恢复生命 ➕
- 生成方式:当村民自行生成铁傀儡时
- 生成数量:6个
- 最大生成数量 ?:每个村庄最多10个(此数值可更改。请参阅“管理员命令”部分。)
- 武器 ⚔️:
- 铁剑(60%几率)
- 铁斧(20%几率)
- 弓(20%几率)
- 掉落物 ?:当前持有的武器
- 会在村庄附近建造灯柱 ?。此功能可禁用。请参阅“管理员命令”部分。
- 着火时 ?:能更快地扑灭身上的火焰。
根据村庄守卫的分类玩家类型:
- 坏玩家 ?:这类玩家是那些激怒了村庄守卫的玩家。激怒村庄守卫的方式如下:-
- 普通玩家 ?:默认情况下,所有玩家都被归类为此类。
- 村庄英雄 ?♂️:拥有“村庄英雄”效果的玩家。守卫和铁傀儡会保护这些玩家。
- 受保护玩家 ??:即使失去“村庄英雄”效果后,这些玩家仍继续受到守卫和铁傀儡的保护。
村庄守卫对各类玩家的行为:
- 坏玩家 ?:守卫和铁傀儡看到即攻击,直到其中一方成功杀死该坏玩家为止。
- 普通玩家 ?:中立。在被激怒前对玩家保持被动。
- 村庄英雄 ?♂️:这些玩家被视为受保护实体。拥有此效果后,你可以对任何人做任何事,守卫和铁傀儡不会反击。在你失去“村庄英雄”效果之前,守卫和铁傀儡始终保持被动。失去效果后,你仍然算作受保护实体。
- 受保护玩家 ??:这些玩家也视为受保护实体。只要没有受保护实体被此类玩家杀死,守卫和铁傀儡将保持被动。
保护实体机制如何运作?
- 如果你是村庄英雄或受保护玩家,你将被视为受保护实体。
- 如果你独自与任何生物战斗,守卫和铁傀儡不会干涉,它们将保持中立。
- 一旦有生物/玩家主动攻击你或试图反击,它们就会对该生物/玩家产生敌意并开始攻击它们。
额外功能:
- 你可以向村庄守卫提供以下物品,每种物品都有特定功能:
- 比它当前手持更好的任何武器。
- 盾牌 ?️:吸收来自任何来源施加给守卫70%的伤害。
- 战旗 ?:仅当已装备盾牌时生效。
- 不死图腾 ?:给予守卫一条额外的命,但由于它们在低血量时不知道逃跑,所以实用性不高。
- 任何附魔箭(仅限持弓守卫)?:赋予守卫无限的附魔箭。
- 发光箭(仅限持弓守卫)?:赋予守卫无限的发光箭。
- 铁斧(仅限持斧守卫)?:赋予守卫双倍斧头力量 = 双倍伤害。
- 金苹果?:赋予守卫治愈附近僵尸村民的机会。如果守卫发现上述任何物品,它会掉落金苹果。
- 如果村庄守卫在副手栏装备了任何物品,它将永久锁定其主手武器,直到副手物品被破坏前,永远不会更换主手武器。
- 除非僵尸村民距离受保护实体小于3格且即将发起攻击,否则村庄守卫不会攻击僵尸村民。
管理员命令:
/function give:vg/spawn_egg/village_guard
获取村庄守卫刷怪蛋
/function summon:vg/village_guard
召唤村庄守卫
/function toggles:village_guards
在此处可以切换数据包专属功能(如需)。包括:
- 最大村庄守卫数量:设置允许在256*256方块区域内自然生成的村庄守卫的最大数量(上限)。(默认值=10)
- 教程消息:启用后,将显示教程消息。
- 速度:控制村庄守卫的移动速度。
- 守卫建造灯柱:启用后,守卫将在夜间村庄附近过于黑暗的地方建造灯柱。
/function uninstall:village_guards
开始卸载此数据包的过程。
优点:
- 铁傀儡不再孤单。
- 村庄更能抵御灾厄村民袭击和僵尸潮。
- “村庄英雄”效果现在有了实际用途。
缺点:
- 如果你通过击杀铁傀儡来获取最初的铁锭,这将变得非常困难。你将遭到一群村庄守卫的追击。
已知Bug:
- 由于村庄守卫不幸表现为骷髅,你无法在村庄内睡觉。
解决方法:你可以堆叠10个方块高然后安心睡觉。如果你有通过数据包编程解决此Bug的方案,请在我数据包页面的评论区推荐给我,我将永远感激不尽。
- 当村庄守卫被困在细雪方块中冻结时,它会转化为流浪者。
解决方法:现在每当它开始冻结时,会自动攀爬出来。
我的社交账号:
- PlanetMinecraft 页面
- Modrinth 页面
- Discord 服务器
许可证:
本作品采用 知识共享 署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可。
适用条件:
- 如果你公开展示本作品,必须给予创作者适当的署名。
- 不得将本作品用于商业/业务目的。(这并不包括在你的服务器中安装该数据包的情况)
- 你可以修改本作品,但不得分发修改后的版本。
安装方法:
打开你的 .minecraft 目录。将数据包放入 saves/world_name/datapacks 目录中。
Introduction:
This datapack aims to add Village Guards in vanilla minecraft and it supports minecraft versions 1.16.2 to 1.21.11.
Village Guard Stats:
- HP ♥️: 20 (10 hearts)
- AP ?️: 6 (3 armors)
- Attack Damage ⚔️: 11 (5.5 hearts)
- Ranged Attack Damage ?: 8-10 (4-5 hearts)
- Floats in water hence does not drown ?
- Hate ?: All zombie types, all illagers, and creepers
- Heals overtime ➕
- Spawns : When villagers create their own iron golem
- Spawn count : 6
- Max Spawn ?: 10 per village (This value is changeable. See Admin Commands section.)
- Weapons ⚔️:
- Iron Sword(60% chance)
- Iron Axe(20% chance)
- Bow(20% chance)
- Loot Drop ?: Current Weapon
- Builds light pole ? near villages. This feature can be disabled. See Admin Commands section.
- When on fire ?: Can put out fire faster.
Types of Players according to Village Guard:
- Bad Players ?: These type of players are the players who have provoked the Village Guards. Provoking Village Guards is done in following ways:-
- Kill one of the protected entity.
- Hit a protected entity 3 times.
- Normal Players ?: This type is assigned to every player by default.
- Heroes of the Village ?♂️: These are the players who have "Hero of the Village" effect. Guards and Golems will protect these players.
- Protected Players ??: Players, when they lose their "Hero of the Village" effect still remain protected by Guards and Golems.
Village Guard's Behaviour towards every type of player:
- Bad Players ?: Guards and Golems attack them on sight and forgive after one of them successfully kill that bad player.
- Normal Players ?: Neutral. Passive to the players until provoked.
- Heroes of the Village ?♂️: These players count as protected entities. With this effect, you can do whatever you want to do with anybody, guards and golems won't fight back. Guards and Golems are always passive until you lose the "Hero of the Village" effect. After you lose the effect, you still remain a protected entity.
- Protected Players ??: These players also count as protected entities. Guards and Golems are passive until a protected entity has been killed by this player.
How does protecting an entity works?
- If you are a Hero of the Village OR the Protected Player, you come under protected entities.
- Guards and Golems will not care about anybody you fight by yourself. They will stay neutral.
- Once a mob/player targets you or tries fighting back to you, they get angry on that mob/player and starts attacking them.
Extra Features:
- You can give following items to Village Guard and each item has a function:
- Any Weapon which is better than the one it is holding.
- Shield ?️: Absorbs 70% of damage dealt to Guard from anything.
- Banner ?: Only works if a shield is already equipped.
- Totem of Undying ?: Gives an extra life to Guard but its not very useful since they do not know how to flee on low health.
- Any Tipped Arrow (Bow Guard only) ?: Gives the Guard unlimited Tipped Arrow.
- Spectral Arrow (Bow Guard only)?: Gives the Guard unlimited Spectral Arrow.
- Iron Axe (Axe Guard only)?: Gives the Guard the Double Axe Power = DOUBLE DAMAGE.
- Golden Apple?: Gives the Guard a chance to cure nearby zombie villagers, guard drops that apple if they find any of the above.
- If a village guard equips anything in its offhand, it will lock its weapons forever and will never change its mainhand weapon until the offhand weapon is destroyed.
- Village Guard will not attack a Zombie Villager unless and until Zombie Villagers are 3 blocks closer to protected entity and is about to attack.
Admin Commands:
/function give:vg/spawn_egg/village_guard
Obtain Village Guard Spawn Egg
/function summon:vg/village_guard
Summons Village Guard
/function toggles:village_guards
Here you can toggle datapack specific features if you want. They are:
- Maximum Village Guards : Set the maximum amount(limit) of Village Guards that are allowed to naturally spawn in a 256*256 blocks area. (Default = 10)
- Tutorial Messages : When Enabled, tutorial messages will appear.
- Speed : Controls the Speed of Village Guard.
- Guards construct light poles : When Enabled, guards will construct light poles at night where its too dark anywhere near village.
/function uninstall:village_guards
Starts the uninstallation process of this datapack.
Pros:
- Iron Golem is no longer lonely now.
- Villages are more safe from illager raids and zombie hordes.
- The effect Hero of the Village has REAL use now.
Cons:
- Its not easy to get your first iron ingots if you get those by killing the iron golem. You will be chased by a horde of village guards.
Known Bugs:
- You cannot sleep in the Village because of Village Guard unfortunately being a skeleton.
Fix:- You can build up 10 blocks and sleep peacefully. If you have a solution to this bug via datapack programs, please recommend me in comments section of my datapack page, I am always thankful to you.
- Village Guard will convert into stray mob when it freezes inside the powder snow block.
Fix:- It will now climb up automatically whenever it starts freezing.
My Socials:
- PlanetMinecraft Page
- Modrinth Page
- Discord Server
License:
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Conditions that apply:
- You must give appropriate credit to the creator if you publicly showcase this work.
- You may not use this work for commercial/business purposes. (this does not include having the datapack installed in your server)
- You may modify this work, but may not distribute the modified work.
Installation:
Open your .minecraft directory. Put the datapack into the saves/world_name/datapacks directory.
评论 0
登录后参与评分
还没有评论,来抢沙发吧