Zombies hunt animals for food. Eating meat restores their health, helps them grow stronger over time, and can now make them more dangerous in the long run.
This mod turns zombies into scavengers and predators that interact with the world instead of wandering aimlessly.
Zombies will search for nearby animals and attempt to hunt them.
Typical targets include creatures that drop edible meat, such as:
Animals in the wilderness are no longer completely safe at night.
Zombies that survive long enough will repeatedly hunt for food.
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.
When animals die and drop food items, zombies can walk toward the dropped items and eat them.
Supported foods include:
Eating food restores zombie health and contributes to long-term growth.
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.
Since 1.6.0, you can use configs to enable the following gameplay mechanics:
Eating rotten flesh may grant a temporary Resistance effect, allowing zombies to become harder to kill for a short time.
A new config option allows zombies to ignore zombie horses as attack targets.
This is useful for modpacks or servers that want to avoid unwanted zombie-vs-zombie-horse behavior.
This behavior creates a more dynamic world:
Several aspects of zombie behavior can be configured.
alwaysHunting Zombies will always attempt to hunt animals. (Still respects hunting cooldown and other limits)berserkerHunting Enables a special mode that bypasses normal hunting limitshuntCooldownTicks Cooldown between successful huntshuntCapForADay Maximum hunts per zombie within one Minecraft dayhuntCapForADayTotal Maximum hunts by all zombies in the same level per dayhuntFollowDistanceFactor Multiplier applied to zombie follow range when searching for animalsdoNotAttackZombieHorses If true, zombies do not attack zombie horsesenableEatFoodItems Whether zombies can eat dropped food itemsrecoveryPerNutrition Health restored from eating foodmaxHealthBoostCap Maximum health increase zombies can gain from feedingmaxHealthBoostCapHardModeAddition Additional health cap applied in Hard difficultyeatCooldownTicks Cooldown between eating actionsrottenFleshGiveResistance Rotten flesh may grant a temporary resistance effectzombiesBecomePersistentAfterEating If true, zombies that have eaten meat do not despawn naturallyzombiesDropMoreLoot If true, zombies drop more loot based on how much max health they gained from feedinghpLootRatio If the value is X, every X × basic max health gained is converted into bonus loot dropsThe mod uses a tag-based system to determine which foods zombies can eat.
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.
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.
zombieseatanimals:zombie_target_animal
Entities in this tag will always be considered valid hunting targets, regardless of their loot tables.
zombieseatanimals:not_zombie_target_animal
Entities in this tag will never be hunted by zombies, even if they drop edible food.
When deciding whether a creature should be hunted, the mod applies the following rules:
not_zombie_target_animal, it will never be huntedzombie_target_animal, it will always be huntedzombie_food tagThis design allows the system to work automatically for most creatures while still giving modpack authors full control.
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.