Changing method for attack fonction since 1.20.5. The items tool using the method ".createAttributes" for attack fonctions.
Simplify your modded tools configuration with a single value on each tool properties.