It's the same as MC-147387, but it happens to spiders and cave spiders
/summon spider ~ ~ ~ {Passengers:[{id:"pillager"}]}
Linked issues
relates to 2
Attachments
Comments 7
@shlomo poca A ridden spider is always passive, wherever the spider is, even if you attack the ridden spider, the spider won't attack you, unless the passenger die
I can confirm this still happens. I'm on 1.19.4, it's midnight, and I have a block display as a passenger to a spider. The spider looks around, but does attack me when in survival and additionally does not walk in any direction.
Please note, since it has not been said anywhere yet, that this bug only applies when the passenger of the spider is passive or unable to attack (as in the case of the pillager without a weapon). However, spiders can still attack if their passenger is aggressive (like if a skeleton or zombie is riding it).
This is actually duplicated by MC-236303, but that got a "Won't Fix" resolution from Mojang, so forward resolving will probably need to be done. Either that, or a clones link.
Make sure that it is night time, and there is no strong light nearby. otherwise spiders are neutral.