Spiders and cave spiders with a passenger won't attack players and iron golems
It's the same as MC-147387, but it happens to spiders and cave spiders
/summon spider ~ ~ ~ {Passengers:[{id:"pillager"}]}
- Duplicate
BLack_Tea_RGO- 14
- 7
- Confirmed
- Mob behaviour
1.14-pre2 - 23w51b
1.14-pre2 1.14-pre3 1.14-pre4 1.14-pre5 1.14 1.14.1-pre1 1.14.1-pre2 1.14.1 1.14.2-pre1 1.14.2-pre2 1.14.2-pre3 1.14.2-pre4 1.14.2 1.14.3-pre1 1.14.3-pre2 1.14.3-pre3 1.14.3-pre4 1.14.3 1.14.4-pre1 1.14.4-pre2 1.14.4-pre5 1.14.4 19w34a 19w35a 19w36a 19w37a 19w38b 19w39a 19w40a 19w41a 19w42a 19w44a 19w45b 19w46a 19w46b 1.15-pre1 1.15-pre2 1.15-pre3 1.15-pre4 1.15-pre5 1.15-pre6 1.15-pre7 1.15 1.15.1 1.15.1-pre1 1.15.2-pre1 1.15.2-pre2 1.15.2 20w06a 20w07a 20w08a 20w09a 20w10a 20w11a 20w12a 20w13a 20w13b 20w14a 20w15a 20w16a 20w17a 20w18a 20w19a 20w20b 20w21a 20w22a 1.16-pre1 1.16-pre2 1.16-pre3 1.16-pre4 1.16-pre5 1.16-pre7 1.16-pre8 1.16-rc1 1.16 1.16.1 20w27a 20w28a 20w29a 20w30a 1.16.2-pre1 1.16.2-pre2 1.16.2-pre3 1.16.2-rc1 1.16.2-rc2 1.16.2 1.16.3-rc1 1.16.3 1.16.4-pre1 1.16.4-pre2 1.16.4-rc1 1.16.4 20w45a 20w46a 20w48a 20w49a 20w51a 21w03a 1.16.5-rc1 1.16.5 21w05a 21w05b 21w06a 21w07a 21w08a 21w10a 21w11a 21w13a 21w14a 21w15a 21w16a 21w17a 21w18a 21w19a 21w20a 1.17-pre1 1.17-pre3 1.17-pre4 1.17-rc1 1.17-rc2 1.17 1.17.1 21w37a 21w38a 21w39a 21w42a 21w43a 1.18-pre1 1.18 1.18.1 22w06a 1.18.2 22w12a 22w14a 1.19.2 1.19.3 23w03a 1.19.4-pre1 1.19.4 1.20 1.20.1 1.20.4 23w51b
Created Issue:
Spiders and cave spiders with a passenger won't attack players and iron golems
It's the same as
MC-147387, but it happen to spiders and cave spiders
relates to
It's the same as
MC-147387, but it happen to spiders and cave spiders/summon spider ~ ~ ~ {Passengers:[{id:"blaze"}]}
It's the same as
MC-147387, but it happens to spiders and cave spiders/summon spider ~ ~ ~ {Passengers:[{id:"pillager"}]}
duplicates
relates to
If a villager/wandering trader is spawned riding any zombie varient, they can be targeted by the zombie, but will be immune to its attacks.
Steps to Reproduce:
- Exectute the following command:
/summon minecraft:zombie ~ ~ ~ {Passengers:[{id:villager}]} - Spawn villagers around the zombie
Expected & Observed Results:
- The zombie will walk around slower than usual, and while not appearing to target the villager, seemingly will. No other villagers spawned around the zombie will be targeted.
- The zombie would either be able to attack the villager riding it, or if it is intentional that the zombie not be able to attack the villager, would instead attack other villagers around it.
Screenshots/Videos:
Notes:
- The general behavior of mobs riding other mobs seems to be that an entity can attack the entity it is riding, but not the other way around. this would indicate that the proper fix to this would be to have the zombie ignore the villager riding it, rather than attacking it.
- Relates to
MC-148511MC-262182
This duplicates MC-148511

Make sure that it is night time, and there is no strong light nearby. otherwise spiders are neutral.
@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.
Can confirm from 23w12a to 23w13a.
Added video for 23w13a.
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.Resolving this as a duplicate of
MC-236303since both tickets are the same issue and sinceMC-236303got resolved as "Won't Fix" by Mojang.