Zombies Attack Every Entity

Makes zombies attack any other (non modded) entity except when a player is close.

COMPLETELY REMADE

I originally made this mod with mcreator, which was.. well.. bad. Now I actually coded it, meaning a better, more optimized mod. Some important features:

CUSTOMIZABILITY:

You can now exclude any mob from the zombie so that they wont attack them, in the base mod theres the creeper, zombie villager, zombies, drowneds and zombie horse.

But you can add any entity to it. You just need to make a datapack, now if you dont want to bother making it, I made an example pack which you can download here which you can just modify.

 

FOR THE 1.21.1 VERSION, RENAME "entity_types" FOLDER TO "entity_type". SO REMOVE THE S AT THE END.

 

If you dont want to do that, heres a tutorial:

TLDR; namespace->data->zombiesattackeverything->tags->entity_types->zombie_friendly_type.json

FOR THE 1.21.1 VERSION, RENAME "entity_types" FOLDER TO "entity_type". SO REMOVE THE S AT THE END.

First make a datapack, pretty simple, just make a folder named whatever you want, then in that folder add a file named "pack.mcmeta" (without the qoutes obviously) and add this text in it:

{
  "pack": {
    "description": "this datapack does yadayada cool description whatever",
    "pack_format": 61
  }
}

 

now the description is just what the text under the datapack is gonna be when you add it to your world, it doesnt really matter that much, the pack_format doesnt really matter either, its there to show what version its for but it being 1 (for example) doesnt stop the datapack from functioning on the latest version.

then add another folder called "data" and in there add a folder called "zombiesattackanything", in that add a folder called "entity_types" and in that add a file called "zombie_friendly_type.json". in there add the following text:

{
"replace": false,
"values": [
"namespace:entityid",
"minecraft:zombie"
]
}

 and voilà, done! 

 

  

This mod makes any zombie attack another entity, that is in the vanilla game, when a player in survival is not close.This way you can make your apocalypse world feel real where zombies actually attack other mobs.undefinedfor forge 1.20.1 and neoforge 1.20.4 only. If you have any suggestions or bugs where they dont kill a specific mobs then please tell me in the comments

The Zombies Attack Every Entity Team

profile avatar
  • 7
    Followers
  • 33
    Projects
  • 430.9K
    Downloads

More from bikerboysView all

  • Clearviews project image

    Clearviews

    • 33.8K
    • Mods

    removes the annoying blindness/nausea/darkness effects and removes overlays like water fog, pumpkin, spyglass, portal, fire, vignette and locator bar. Compatible with sodium and highly configurable

    • 33.8K
    • June 19, 2026
    • Mods
    • +2
  • Alex's improvements (Create CROWNS x Create: More Burners Compat) project image

    Alex's improvements (Create CROWNS x Create: More Burners Compat)

    • 23.4K
    • Mods

    Adds compatibility for the create: CROWNS heat exchanger to accept create: More Burners and more stuff that improves on other mods and adds compatibility.

    • 23.4K
    • June 16, 2026
    • Mods
    • +3
  • Toggleable Offhand Placing (TOP) project image

    Toggleable Offhand Placing (TOP)

    • 1.9K
    • Mods

    Toggleable Offhand Placing, aka TOP, adds a new keybind that disables or enables the placing of blocks in your offhand, that way you can hold torches without accidentally placing them!

    • 1.9K
    • June 7, 2026
    • Mods
  • Jumping Boats project image

    Jumping Boats

    • 799
    • Mods

    Allows you to jump while in boats to easily go from water to land or jump over obstacles.

    • 799
    • April 5, 2026
    • Mods
    • +1
  • Clearviews project image

    Clearviews

    • 33.8K
    • Mods

    removes the annoying blindness/nausea/darkness effects and removes overlays like water fog, pumpkin, spyglass, portal, fire, vignette and locator bar. Compatible with sodium and highly configurable

    • 33.8K
    • June 19, 2026
    • Mods
    • +2
  • Alex's improvements (Create CROWNS x Create: More Burners Compat) project image

    Alex's improvements (Create CROWNS x Create: More Burners Compat)

    • 23.4K
    • Mods

    Adds compatibility for the create: CROWNS heat exchanger to accept create: More Burners and more stuff that improves on other mods and adds compatibility.

    • 23.4K
    • June 16, 2026
    • Mods
    • +3
  • Toggleable Offhand Placing (TOP) project image

    Toggleable Offhand Placing (TOP)

    • 1.9K
    • Mods

    Toggleable Offhand Placing, aka TOP, adds a new keybind that disables or enables the placing of blocks in your offhand, that way you can hold torches without accidentally placing them!

    • 1.9K
    • June 7, 2026
    • Mods
  • Jumping Boats project image

    Jumping Boats

    • 799
    • Mods

    Allows you to jump while in boats to easily go from water to land or jump over obstacles.

    • 799
    • April 5, 2026
    • Mods
    • +1