God Bow Back
Free open-source datapack for Minecraft version 1.21 and above that solves a long-standing player problem - now you can apply both of the most useful enchantments to a bow simultaneously: Infinity and Mending.
Features
This mod completely removes the conflict between Infinity and Mending, allowing your bow to have both enchantments at once. No more choosing between infinite arrows and a self-repairing bow - now you can enjoy both benefits simultaneously!
With this datapack, your weapon will be perfect - shoot as much as you want without consuming arrows from your inventory, while the bow gains experience for automatic durability restoration.