僵尸猎食动物
僵尸现在可以捕猎动物作为食物,通过拾取掉落的肉类来恢复生命值,并获得额外的最大生命值。因此, unprotected 的家畜和野外动物可能会成为僵尸食物链的一部分。
该模组会自动支持许多模组添加的动物,方法是检查它们的战利品表;同时,数据包标签和配置文件让整合包作者能够直接控制系统行为。
僵尸成长与奖励
根据配置,僵尸可以:
- 通过反复进食获得额外的最大生命值
- 在进食后变得持久存在,并停止自然消失
- 根据其获得的额外最大生命值掉落额外的战利品
- 在食用腐肉后获得临时的抗性效果
最大生命值增长量是可配置的,包括困难难度下的额外上限。这意味着存活并长期进食的僵尸会变得更加危险,击杀它们也能获得更多回报。
配置
系统的各个方面大多都可以调整。
捕猎
alwaysHunting — 只要满足正常捕猎条件,僵尸就会持续寻找猎物
berserkerHunting — 启用更具攻击性的捕猎模式,绕过正常的捕猎限制
huntCooldownTicks — 成功捕猎之间的冷却时间(以刻为单位)
huntCapForADay — 单个僵尸在一个 Minecraft 日内最多可进行的捕猎次数
huntCapForADayTotal — 同一层级内所有僵尸在一个日内最多可进行的总捕猎次数
huntFollowDistanceFactor — 搜索猎物时应用于僵尸跟随范围的乘数
doNotAttackZombieHorses — 防止僵尸将僵尸马作为目标
进食与成长
enableEatFoodItems — 启用拾取并食用掉落的食品
recoveryPerNutrition — 控制从食物营养中恢复的生命值
maxHealthBoostCap — 僵尸通过进食可获得的最大额外生命值上限
maxHealthBoostCapHardModeAddition — 困难难度下额外的生命值增长上限
eatCooldownTicks — 进食动作之间的冷却时间(以刻为单位)
rottenFleshGiveResistance — 允许食用腐肉授予临时抗性效果
持久性与战利品
zombiesBecomePersistentAfterEating — 已进食的僵尸将不再自然消失
zombiesDropMoreLoot — 基于通过进食获得的额外生命值增加奖励战利品
hpLootRatio — 控制需要多少额外最大生命值才能触发额外的战利品投掷
数据包支持
该模组使用标签来控制僵尸的食物和捕猎目标。
僵尸食物
zombieseatanimals:zombie_food
此标签中的任何物品都可以被僵尸食用。
data/zombieseatanimals/tags/items/zombie_food.json
强制捕猎目标
zombieseatanimals:zombie_target_animal
此标签中的实体始终被视为有效的捕猎目标。
阻止捕猎
zombieseatanimals:not_zombie_target_animal
此标签中的实体永远不会被猎杀。
目标选择遵循以下优先级:
not_zombie_target_animal 中的实体永远不会被猎杀。
zombie_target_animal 中的实体始终是有效目标。
- 否则,模组会检查该实体的战利品表是否能掉落
zombie_food 标签中的物品。
对于大多数整合包而言,将兼容的食品物品添加到 zombie_food 标签中通常就足够了。实体标签主要用于需要显式覆盖的情况。
Zombies Eat Animals
Zombies can now hunt animals for food, eat dropped meat to recover health, and gain additional maximum health. Unprotected livestock and animals in the wilderness may therefore become part of a zombie's food chain.
The mod also automatically supports many modded animals by checking their loot tables, while datapack tags and configs give modpack authors direct control over the system.
Zombie Growth and Rewards
Depending on configuration, zombies can:
- Gain additional maximum health from repeated feeding
- Become persistent after eating and stop naturally despawning
- Drop additional loot based on the maximum health they gained
- Receive temporary Resistance effect after eating rotten flesh
The maximum amount of health growth is configurable, including an additional cap for Hard difficulty. This means a zombie that survives and feeds for a long time can become both more dangerous and more rewarding to kill.
Configuration
Most aspects of the system can be adjusted.
Hunting
alwaysHunting — Zombies continue looking for prey whenever normal hunting conditions allow it
berserkerHunting — Enables a more aggressive hunting mode that bypasses normal hunting limits
huntCooldownTicks — Cooldown between successful hunts
huntCapForADay — Maximum hunts per zombie during one Minecraft day
huntCapForADayTotal — Maximum total hunts by zombies in the same level during one day
huntFollowDistanceFactor — Multiplier applied to zombie follow range while searching for prey
doNotAttackZombieHorses — Prevents zombies from targeting zombie horses
Eating and Growth
enableEatFoodItems — Enables eating dropped food
recoveryPerNutrition — Controls health restored from food nutrition
maxHealthBoostCap — Maximum additional health zombies can gain from feeding
maxHealthBoostCapHardModeAddition — Additional health-growth cap in Hard difficulty
eatCooldownTicks — Cooldown between eating actions
rottenFleshGiveResistance — Allows rotten flesh to grant temporary Resistance
Persistence and Loot
zombiesBecomePersistentAfterEating — Zombies that have eaten will no longer naturally despawn
zombiesDropMoreLoot — Adds bonus loot based on health gained through feeding
hpLootRatio — Controls how much gained maximum health is required for additional loot rolls
Datapack Support
The mod uses tags to control zombie food and hunting targets.
Zombie Food
zombieseatanimals:zombie_food
Any item in this tag can be eaten by zombies.
data/zombieseatanimals/tags/items/zombie_food.json
Force Hunting Targets
zombieseatanimals:zombie_target_animal
Entities in this tag are always considered valid hunting targets.
Prevent Hunting
zombieseatanimals:not_zombie_target_animal
Entities in this tag are never hunted.
Target selection follows this priority:
- Entities in
not_zombie_target_animal are never hunted.
- Entities in
zombie_target_animal are always valid targets.
- Otherwise, the mod checks whether the entity's loot table can drop an item in
zombie_food.
For most modpacks, adding compatible food items to zombie_food should be enough. The entity tags are mainly intended for cases where explicit overrides are needed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧