This is a simple datapack built for 1.20 (should work on other versions) that removes durability entirely.
Simply drag and drop the datapack into your worlds' datapack folder and /reload. There is no configuration or setup required.
External resources
Featured versions
See allProject members
underscore95
Owner
Technical information
License
Apache-2.0
Project ID