zombies-eat-animals 图标

zombies-eat-animals

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.5.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/zombies-eat-animals
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: adventure cursed game-mechanics

资源介绍

Zombies Eat Animals

Zombies hunt animals for food. Eating meat restores their health and helps them grow stronger over time.

This mod turns zombies into scavengers and predators that interact with the world instead of wandering aimlessly.


Features

Zombies Hunt Animals

Zombies will search for nearby animals and attempt to hunt them.

Typical targets include creatures that drop edible meat, such as:

  • Cow
  • Pig
  • Sheep
  • Chicken
  • Rabbit

Animals in the wilderness are no longer completely safe at night.

Zombies that survive long enough will repeatedly hunt for food.


Automatic Target Detection

The mod automatically detects valid prey.

If a creature's loot table can drop food items that zombies can eat, zombies will treat that creature as a hunting target.

This means many modded animals will work automatically without additional configuration.


Zombies Eat Meat

When animals die and drop food items, zombies can walk toward the dropped items and eat them.

Supported foods include:

  • Raw meat
  • Cooked meat
  • Rotten flesh

Eating food restores zombie health and contributes to long-term growth.


Zombies Can Grow Stronger

Zombies that keep feeding may gradually increase their maximum health.

Over time, well-fed zombies that survive in the wild may become significantly tougher than normal zombies.

The growth cap is configurable.


Rotten Flesh Bonus

Eating rotten flesh may grant a temporary Resistance effect, allowing zombies to become harder to kill for a short time.


Gameplay Impact

This behavior creates a more dynamic world:

  • Animals may be hunted by zombies at night
  • Zombies roaming the wilderness may grow stronger over time
  • Unprotected farms may lose livestock
  • The death of a zombie may strengthen a nearby zombie
  • Monsters interact more naturally with the environment

Configuration

Several aspects of zombie behavior can be configured.

Hunting Behavior

  • alwaysHunting Zombies will always attempt to hunt animals. (Still respect hunting cooldown and other limits)

  • berserkerHunting Enables a special mode that bypasses normal hunting limits.

  • huntCooldownTicks Cooldown between successful hunts.

  • huntCapForADay Maximum hunts per zombie within one Minecraft day.

  • huntCapForADayTotal Maximum hunts by all zombies in the same level per day.

  • huntFollowDistanceFactor Multiplier applied to zombie follow range when searching for animals.


Eating Behavior

  • enableEatFoodItems Whether zombies can eat dropped food items.

  • recoveryPerNutrition Health restored from eating food.

  • maxHealthBoostCap Maximum health increase zombies can gain from feeding.

  • maxHealthBoostCapHardModeAddition Additional health cap applied in Hard difficulty.

  • eatCooldownTicks Cooldown between eating actions.

  • rottenFleshGiveResistance Rotten flesh may grant a temporary resistance effect.


Datapack Support

The mod uses a tag-based system to determine which foods zombies can eat.

Zombie Food Tag

zombieseatanimals:zombie_food

Items inside this tag are considered edible by zombies.

Example datapack path:

data/zombieseatanimals/tags/items/zombie_food.json

Example:

{
  "replace": false,
  "values": [
    "minecraft:beef",
    "minecraft:cooked_beef",
    "minecraft:porkchop",
    "minecraft:cooked_porkchop"
  ]
}

Any item added to this tag will be treated as food that zombies can eat.


Entity Target Control

The mod also provides entity type tags to control which creatures zombies will hunt.

These tags allow modpack authors to override the automatic detection system.


Force Hunting Targets

zombieseatanimals:zombie_target_animal

Entities in this tag will always be considered valid hunting targets, regardless of their loot tables.

Example datapack path:

data/zombieseatanimals/tags/entity_types/zombie_target_animal.json

Example:

{
  "replace": false,
  "values": [
    "minecraft:horse",
    "minecraft:donkey"
  ]
}

Prevent Hunting

zombieseatanimals:not_zombie_target_animal

Entities in this tag will never be hunted by zombies, even if they drop edible food.

Example datapack path:

data/zombieseatanimals/tags/entity_types/not_zombie_target_animal.json

Example:

{
  "replace": false,
  "values": [
    "minecraft:cat"
  ]
}

Target Selection Priority

When deciding whether a creature should be hunted, the mod applies the following rules:

  1. If the creature is in not_zombie_target_animal, it will never be hunted.
  2. If the creature is in zombie_target_animal, it will always be hunted.
  3. Otherwise, the mod checks whether the creature's loot table can drop an item contained in the zombie_food tag.

This design allows the system to work automatically for most creatures while still giving modpack authors full control.


Modpack Integration

The mod is designed to work well in modded environments.

In most cases, modpack authors only need to add edible items to the zombie_food tag. Creatures that drop those foods will automatically become potential prey.

Entity tags are optional and only needed when explicit control is desired.

Related Projects:

Zombies Do Not Eat Zombie Horses

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Ping Me!

价格:0 墨喵币
下载量:0

查看详情
Schneckenhaus

价格:0 墨喵币
下载量:0

查看详情
Async

价格:0 墨喵币
下载量:0

查看详情
TierKits

价格:0 墨喵币
下载量:0

查看详情