Back to mods
Discernment project artwork

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Discernment release matches 1.18.2 Forge?

Updated 2 years ago
Best match for your filters Discernment-1.18.2-3.0.0.jar
Game version 1.18.1, 1.18.2, 1.18
Loader Forge

Discernment-1.18.2-3.0.0.jar targets 1.18.1, 1.18.2, 1.18 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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Discernment-1.18.2-3.0.0.jar need?

Discernment-1.18.2-3.0.0.jar on 1.18.2 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

1 listed on this file 1 pulled in by one of those mods
JEI Enchantment Info Optional for Discernment-1.18.2-3.0.0.jar
optional
Matching file found Matched file: JEIEnchantmentInfo-1.17.1-2.0.0.jar
Just Enough Items (JEI) Needed by JEI Enchantment Info
pulled in
Matching file found Matched file: 10.6.1.1023 for Forge 1.18.2

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.18.2-3.0.0.jar on 1.18.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Discernment-1.18.2-3.0.0.jar. It targets 1.18.1, 1.18.2, 1.18 with Forge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Discernment-1.18.2-3.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.

13 available setups

Showing 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

1 of 10 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.