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-162039 You are able to kill the enderman using bow Resolved MC-164736 When shooting a spectral arrow at an enderman, the enderman escapes but he is affected by the glowing of the arrow even thought the arrow passes right through the enderman. Resolved MC-146947 Endermen Affected by Special Arrows? Resolved MC-98978 tipped arrows still leave effects on enderman Resolved MC-120037 You can shot at endermen 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!

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

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