#Adding the charge attack with spears to Wither Skeletons

1 messages · Page 1 of 1 (latest)

brisk talon
#

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

lusty maple
#

Sure, pretty easy. Do you want it on modrinth or is github download fine?

#

item hold pose is a little buggy but it works fine

#

it doesn't apply wither effect though, is that necessary?

#

hm it does act a little buggy

#

but the same thing can happen with zombies so

lusty maple
#

alright item pose & wither effect fixed

fading ridge
lusty maple
#

yeah, but I would've thought mobs would reposition if they got too close

#

I guess they do but they get stuck there for a few seconds

brisk talon
lusty maple
#

alright, 2-4 business days

#

You need an enchanted netherite spear because an unenchanted netherite spear & stone sword have the same attack damage

#

I can make a github download in the meantime if you want

brisk talon
lusty maple
#

make sure you download the one that's not -sources

#

Optional on client (fixes arm pose) but works with vanilla client

brisk talon
#

Thank you so much for making this, I really appreciate it <3