Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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 that you can download here which you can just modify.
If you want to do that manually, heres a tutorial:
Tutorial
TLDR; namespace->data->zombiesattackeverything->tags->entity_types->zombie_friendly_type.json
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!
Join the Discord! You can ask for help, a mod, just suggest something, hangout or request the source code of any mod I have made (if I still have the source code)
Or donate to my Kofi incase you are feeling generous!
OLD DESCRIPTION:
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.
for 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