mojira.dev
MC-83051

Spectral/Potion arrows/Channeling tridents apply effect to Endermen

The bug

When shooting normal arrows at endermen they will not get hit and they will teleport away. When shooting them with a spectral arrow they do the same but they will be marked with the spectral effect even though the arrow doesn't hit them. This also applies to the arrow of invisibility (and probably all other new arrows).

Shulker bullet / blaze(dispenser) fire charge also apply effect / fire to endermen.

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

MC-82852 Enderman can get hit by dipped arrows Resolved MC-83060 Endermen still get potion effects applied when evading potion tipped arrows Resolved MC-83125 Shooting Endermen w/ Tipped Arrow Still Gives Effect Resolved MC-83244 Enderman Dodge Arrows But Still Get Affects Resolved MC-83335 When you shoot an enderman with a potion arrow the enderman still gets affected by the potion affect Resolved

Attachments

Comments 42

Endermen got hit by Arrow of Invisibility

I can reproduce this.

It is with all of the arrow effects, I tested it!

Confirmed.

why is my bug marked as a duplicate of this, even though i reported it earlier then this?

32 more comments

Confirmed for 1.13-pre3

Confirmed for 1.13-pre5

Confirmed for 19w39a and 1.14.4

Still in 19w45a

Also in BE, see — MCPE-156656

tomudding

coschevi

Confirmed

(Unassigned)

enderman, glowing, potion-effect, spectral_arrow, tipped_arrow

Minecraft 15w31a, Minecraft 15w31b, Minecraft 15w32c, Minecraft 15w33a, Minecraft 15w33b, ..., 19w41a, 19w42a, 19w45a, 19w45b, 1.15 Pre-release 1

1.15 Pre-Release 2

Retrieved