
Discernment
Активный0.0
Установок
0
Последнее обновление
11 месяцев назад
Клиент
Оружие и броня
Магические
Утилиты
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