Please instead consider the new all-in-one compat solution:
Copper's Delight: For those who use copper tools, relish in your expanded gameplay with a new knife for the fabulous Farmer's Delight.
"Knives are lightweight melee weapons. They can harvest Straw from grasses, and guarantee secondary drops from animals."
For both versions, copper must be defined under the tag "forge:ingots/copper". In 1.18.1+, vanilla's copper is under this tag.
Crafting:
Copper Knife
MY OTHER MODS