跳到正文

Discernment

作者:Phylogeny

Adds an enchantment and mob effect that prevent a living entity that isn't sneaking from hurting any other living entity that isn't on a custom name blacklist, and is either peaceful, a player, owned, or is on a custom name whitelist

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

With this mod you can avoid accidentally killing a pet or other peaceful mob.

This mod adds a discernment enchantment and mob effect that prevents a living entity (including a player) from damaging the following types of other living entities (with configs to disable any/all of them):

  • Entities that do not have a custom name (such as given via a name tag) that matches a config-defined regular expression blacklist (default behavior matches any name that contains the word "unprotected" — case-independent) AND:
  • Entities that have a custom name that matches a config-defined regular expression whitelist (default behavior matches any name that contains the word "protected" — case-independent) OR:
  • Ownable entities that are owned by the entity with discernment OR:
  • Peaceful non-player entities OR:
  • Players

This protection only applies while the following conditions are met:

  • The attacking entity either:
    • Has the discernment mob effect
    • Is wearing an item as armor, or holding an item in their main or offhand, that has the discernment enchantment on it
  • The attacking entity is not sneaking

Bug reports, feature requests, questions, etc, can all be submitted via the GitHub issue tracker.

This mod has been released into the public domain. Use it anywhere in any way.

Elements | Brewing | Configs | Changelogs

*Particles (their type/count) and sounds (their type/volume/pitch) can be changed or disabled in the Configs

undefined

常见问题

Discernment 支持哪些 Minecraft 版本?

Discernment 支持 Minecraft Java 版 1.15.2–1.21,共 13 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Discernment 怎么安装?

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

评论

登录后评论和评分

Phylogeny 的其他作品

查看全部 →