跳到正文

Zombies Attack Every Entity

作者:bikerboys

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

常见问题

Zombies Attack Every Entity 支持哪些 Minecraft 版本?

Zombies Attack Every Entity 支持 Minecraft Java 版 1.20–1.21.1,共 6 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Zombies Attack Every Entity 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

bikerboys 的其他作品

查看全部 →