Enchantment Disabler

Enchantment Disabler

Mod

Disable enchantments you don't like, and nerf enchanting in multiple ways with an extensive configuration. Supports modded enchantments.

Server Game MechanicsUtility

7,496 downloads
27 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
  • Expanded Protection Tweaks with new options:
    • Elemental Protection: Changes the Fire Protection enchantment to also protect against lightning and freeze damage and renames it to Elemental Protection
    • Magic Protection: New armor enchantment that protects exclusively against magic damage. Made to fill in the gap when Melee Protection is enabled since magic attacks hit very hard without any magic damage reduction.
  • Added enchantment descriptions for every enchantment modified or added by the mod
  • Mod resource packs are now hidden from the resource pack selection screen to prevent clutter

Reverted marking the jar as 1.21.1 compatible, there's now a separate jar for 1.21.1.

This one actually works on 1.21.1, oops!

  • New option to set a limit on how strong enchantments can be on looted equipment
  • Marked jar as compatible with Minecraft 1.21.1
  • Fixed an issue where some mods and datapacks were bypassing the disabler by using the EnchantRandomly function with empty options
  • Fixed an issue which caused unintentional patching of some enchantment tags
  • Improved the performance and mod compatibility of enchantment tag patches
  • New option to limit the amount of bookshelves that the enchanting table can accept to increase its enchanting power
  • New option to modify the XP level cost of enchanting items in the enchanting table
  • Tooltips in the enchanting table now display the correct amount of required lapis and XP levels when modified

Added a new option to allow multiple different protection enchantment types on the same item, up to a configurable maximum (disabled by default).

For example, if enabled and set to 2, any piece of armor can have up to two different protection types.

Compatible with the existing "Feather Falling Exclusive" option and will consider Feather Falling as a type of protection enchantment if enabled.

This feature affects:

  • Enchanting items in the enchanting table
    • If max allowed value is 2 or more, you can get an armor piece with two different protection types outright if you're lucky
  • Combining items in the anvil with other items and enchanted books
    • You will be prevented from adding additional protection enchantments if the item has already reached the maximum allowed amount of different types
  • The /enchant command
    • Refuses to apply a new protection enchantment if the item has already reached the maximum allowed amount of different types, with an appropriate message

Fixed crash with several mods introduced in 2.1.1

  • Fixed #7 (Enchanting table option buttons aren't updated correctly when lapis cost is modified)
  • The Enchanter advancement can now be obtained by enchanting any item in an anvil with an enchanted book if the enchanting table is disabled

Some datapacks explicitly set specific enchantments on loot, which bypasses the disabler. These scenarios are now handled and the enchantments are filtered properly.

2.0.0 for 1.21

  • Update for 1.21
  • Rewrite mod to take advantage of data-driven enchantments by using JsonPatcher (included in the mod)
  • Disabled enchantments are now hidden in creative menus and the EMI index (if EMI is installed)
  • New Protection tweaks section:
    • Melee Protection: Changes the Protection enchantment to only protect against physical damage and renames it to Melee Protection
    • Exclusive Feather Falling: Makes Feather Falling mutually exclusive with other protection enchantments

1.0.0 - Massive rewrite

Configuration

  • Switched to owo-lib for configuration
    • ModMenu is required for accessing the in-game config menu
    • Can still edit the config by hand, now located in enchantmentdisabler-config.json5
    • Old config is no longer used, so make sure to reconfigure after updating

New Features

  • Modify max enchantment level on a per-enchantment basis
  • Modify the amount of times enchanted book and item villager trades can be used
  • Permanently disable restocking of enchanted book and item villager trades
  • Entirely disable the enchanting table
  • Modify the amount of lapis required to enchant items in the enchanting table

Version Support Enchantment Disabler no longer supports versions below 1.19.

1.0.0 - Massive rewrite

Configuration

  • Switched to owo-lib for configuration
    • ModMenu is required for accessing the in-game config menu
    • Can still edit the config by hand, now located in enchantmentdisabler-config.json5
    • Old config is no longer used, so make sure to reconfigure after updating

New Features

  • Modify max enchantment level on a per-enchantment basis
  • Modify the amount of times enchanted book and item villager trades can be used
  • Permanently disable restocking of enchanted book and item villager trades
  • Entirely disable the enchanting table
  • Modify the amount of lapis required to enchant items in the enchanting table

Version Support

Enchantment Disabler no longer supports versions below 1.19.

  • Fixed an error causing specific chests to generate with no loot when attempting to reroll an enchantment when there are no possible enchantments available.

Project members

pajicadvance

Owner

Details

Licensed MIT
Published a year ago
Updated 12 days ago