Invulnerable Wolves
A small mod that adds the invulnerable nbt tag to any entity that gets tamed (e.g. wolves and cats) and features retroactive addition of the tag when right clicking on an already tamed entity.
介绍
This mod was created because I didn’t want to lose any pets to shenanigans that happen in modded and vanilla Minecraft.
The mod works by detecting when an entity has been tamed and applying the invulnerable NBT tag. The mod also provides retroactive application by right-clicking on a tamed entity.
There is a basic config included with an enable/disable option, a whitelist, and a blacklist. The whitelist is a list of entities that you want the mod to solely apply to and is empty by default, letting it apply to all entities. The blacklist is a list of entities you do NOT want the mod to apply to and is again empty by default.
Theoretically, this mod should only be incompatible with a mod trying to do the opposite (which, if so, what the heck?) or bypasses the invulnerable tag (like a player in creative mode can do). The mod should work with any entity that either uses the Minecraft taming event code or is classified as an ownable entity. At this point I have not looked into what entities these criteria could apply to in other mods, but there is the possibility of unintended side effects with, for example, summoning mods like Occultism, if the summons are classified as ownable entities.
常见问题
Invulnerable Wolves 支持哪些 Minecraft 版本?
Invulnerable Wolves 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Invulnerable Wolves 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分