promotional bannermobile promotional banner

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

File Details

Discernment-1.21-6.0.0.jar

  • R
  • Jun 27, 2024
  • 72.02 KB
  • 53
  • 1.21
  • NeoForge

File Name

Discernment-1.21-6.0.0.jar

Supported Versions

  • 1.21

Curse Maven Snippet

NeoForge

implementation "curse.maven:discernment-392820:5480513"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changed

  • Ported to MC 1.21
  • The discernment enchantment, as well as the enchantment tag it falls under, are now specified by fully configurable .json files found in resources/data folders. See the online Minecraft Wiki for information on configuring them.

Removed

  • This can now be accomplished by setting the primary items to an empty list. Do this by opening Discernment-1.21-6.0.0.jar in the mods folder and adding the line "primary_items": [] in data/discernment/enchantment/discernment.json.
  • Setting the primary items to an item or item tag (or to a list of items and/or item tags) that is a subset of the set of all items that the enchantment can be applied to (specified by "supported_items") will result in only those primary items being available in enchanting tables. The remaining items will only be able to be enchanted via anvils.
  • The primary items must be a subset of the supported items, and refraining from specifying any primary items (as is the default) will result in all supported items being available in both enchanting tables and anvils.
  • Again, see the online Minecraft Wiki for more information.

Full Changelog