Is it possible to give any item the ability to do the mace's smash attack?

I have a custom sword that I want to be able to use the mace's smash attack without actually being a mace, this because I have recipes that use the mace and this would allow for an exploit for it.

Continue to help post