CurseForge · Minecraft mod
Discernment
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
Quick answer
Which Discernment release matches 1.15.2 Forge?
Discernment-1.15.2-2.0.0.jar targets 1.15.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Discernment required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Discernment-1.15.2-2.0.0.jar need?
Discernment-1.15.2-2.0.0.jar on 1.15.2 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Discernment without breaking your instance.
Built for Discernment-1.15.2-2.0.0.jar on 1.15.2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Discernment-1.15.2-2.0.0.jar. It targets 1.15.2 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside Discernment-1.15.2-2.0.0.jar. It opens that exact file at the source.
About this project
What does Discernment add?
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
Project description from CurseForge.
Pick your setup
Discernment by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21
1 loader build1.20.4
1 loader build1.19
1 loader build1.18.2
1 loader build1.18.1
1 loader build1.18
1 loader build1.17.1
1 loader build1.16.5
1 loader build1.16.4
1 loader build1.16.3
1 loader build1.16.2
1 loader build1.16.1
1 loader buildShowing the newest 12 of 13 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Discernment versions and loaders
Discernment-1.15.2-2.0.0.jar
9 Jul 2020
DiscernmentEnchant-1.15.2-1.0.0.jar
30 Jun 2020
Looking for an older file? The official CurseForge project page is in Resources.