Recently I tried to convert a creeper farm I had on a server I play on into a music disc farm.
What we thought we could do, was give a Wither Skeleton a spear, then put it into the minecart set up that I already had made to get looting 3 drops in the creeper farm.
What we ended up finding out is that not only can Wither Skeletons not pick up spears, it's hard coded for them to not have the AI to be able to use the charge attack with the spear. According to the wiki, only zombie variants and piglins are able to use them. If you force a Wither Skeleton to hold a spear with commands it won't know what to do with the long stick.
This feels really stupid for a few reasons, it'd be understandable to not want to have this as a vanilla feature since it would make farming music discs really easy, but hardcoding it into the game so that it's not possible at all feels ridiculous.
Not to mention you need a netherite spear for a Wither Skeleton to use it, at least according to the gear pick up rules on the wiki.
I was hoping that someone with some free time and modding knowledge would be willing to make a fix for this? Optionally it could add the spear functionality to a lot more other mobs for customisability.
Anyways, hav good day, eat something nice and also trans rights :3