Enchantment Disable Tag

Adds an enchantment tag for disabling enchantments.

File Details

v1.1.0 (Fabric 1.20.1)

  • R
  • Jun 27, 2024
  • 179.77 KB
  • 107.9K
  • 1.20.1+1
  • Fabric + 1

File Name

enchantmentdisabletag-fabric-1.1.0+1.20.1.jar

Supported Versions

  • 1.20.1
  • 1.20

Curse Maven Snippet

Fabric

modImplementation "curse.maven:enchantment-disable-tag-1012987:5480676"

Quilt

modImplementation "curse.maven:enchantment-disable-tag-1012987:5480676"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changes

  • Any Enchanted Books that have no enchantments as a result of this mod will now turn into regular Books.

Bugfixes

  • [FABRIC] Fixed crash involving platform helper being loaded at the wrong time.
  • Fixed setting enchantments operating on an immutable map.
  • Caught more edge cases where a disabled enchantment can be obtained from containers when playing with the mod serverside.

Internal

  • Moved EnchantmentDisableTag#DISABLED_ENCHANTMENT_TAG field to EnchantmentDisabledTags#DISABLED.
    • This was unfortunately a required change to fix Fabric platform helper.