Author: TheNeard112
Auto Enchantment automatically enchants supported equipment when you hold or wear it. Tools, melee and ranged weapons, armor, elytra and shields receive the applicable enchantments at their normal maximum levels. This removes the usual book and enchanting-table grind for that equipment.

Choose the enchantments
Incompatible enchantments remain alternatives. Choose Fortune III, Silk Touch I or Efficiency-only tools; Sharpness, Smite or Bane of Arthropods; one protection type; and Depth Strider or Frost Walker. Separate choices cover Infinity versus Mending, Multishot versus Piercing, Loyalty versus Riptide, and Density versus Breach. Changing a choice replaces the conflicting enchantment already applied.
Settings
Hold a book or stick, sneak and use it to open the menu, or enter /function menu. The behavior-pack gear button also provides the basic Fortune/Silk Touch/Efficiency selection. You can toggle Thorns, Lunge, knockback and fire effects separately. /function option/reset restores the default choices.
The download is a single behavior pack. Version 1.1.0 includes spear support and expanded armor settings; compatible enchantments depend on the item, rather than every effect being applied to every slot.