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 [Mod] bemoty can be found in this comment.
Linked Issues
is duplicated by27
relates to8
- Fixed
Tom Udding
[Mojang] Cory Scheviak- 25
- 11
- Confirmed
- (Unassigned)
- enderman glowing potion-effect spectral_arrow tipped_arrow
15w31a - 1.15-pre1
15w31a 15w31b 15w32c 15w33a 15w33b 15w33c 15w36d 15w40b 15w41b 15w42a 15w44a 15w44b 15w45a 15w46a 15w47c 15w49a 15w49b 15w50a 15w51a 15w51b 16w02a 16w05a 16w06a 1.9 1.9.1-pre1 1.9.1-pre2 1.9.1-pre3 1.9.2 1.9.3-pre3 1.9.4 16w20a 16w21a 16w21b 1.10-pre1 1.10-pre2 1.10 1.10.1 1.10.2 16w36a 16w42a 16w43a 1.11 1.11.2 17w06a 17w14a 1.12-pre1 1.12-pre2 1.12-pre3 1.12-pre5 1.12-pre6 1.12-pre7 1.12 1.12.1 1.12.2-pre1 1.12.2-pre2 1.12.2 17w45a 17w47a 17w48a 18w01a 18w07a 18w08b 18w09a 18w10a 18w11a 18w14a 18w15a 18w16a 18w19a 18w19b 18w20c 18w22c 1.13-pre1 1.13-pre2 1.13-pre3 1.13-pre5 1.13-pre8 1.13-pre9 1.13-pre10 1.13 18w31a 18w32a 1.13.1-pre1 1.13.1 1.13.2-pre1 1.13.2-pre2 1.13.2 18w43a 18w43b 18w43c 18w44a 18w45a 18w46a 18w47b 18w48a 18w48b 18w49a 18w50a 19w02a 19w03a 19w03b 19w03c 19w04a 19w04b 19w05a 19w06a 19w07a 19w08a 19w08b 19w09a 19w11a 1.14.2 1.14.4 19w34a 19w37a 19w39a 19w41a 19w42a 19w45a 19w45b 1.15-pre1- 1.15-pre2
Created Issue:
Spectral Arrow shows effect on Endermen
When shooting normal arrows at Endermen they will not get hit and they will teleport away. When you shoot them with a Spectral Arrow they do the same but they will be marked with the spectral effect (the arrow doesn't hit them).
I have no vid at the moment.
Environment
Windows 8.1
Java 1.8.0_25
When shooting normal arrows at Endermen they will not get hit and they will teleport away. When you shoot them with a Spectral Arrow they do the same but they will be marked with the spectral effect (the arrow doesn't hit them).
This also applies to the Arrow of Invisibility (and propably all other new arrows, see screenshot 3).
I have no vid at the moment.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
SpectralArrow showseffect onEndermenSpectral/Potion arrows apply effect to Endermen
is duplicated by
is duplicated by
is duplicated by
When shooting normal arrows at Endermen they will not get hit and they will teleport away. When you shoot them with a Spectral Arrow they do the same but they will be marked with the spectral effect (the arrow doesn't hit them).
This also applies to the Arrow of Invisibility (and propably all other new arrows, see screenshot 3).
I have no vid at the moment.
Shulker bullet / Blaze(Dispenser) fire charge also apply effect / fire to Endermen.
is duplicated by
is duplicated by
relates to
Windows 8.1
Java 1.8.0_25
is duplicated by
When shooting normal arrows at Endermen they will not get hit and they will teleport away. When you shoot them with a Spectral Arrow they do the same but they will be marked with the spectral effect (the arrow doesn't hit them).
This also applies to the Arrow of Invisibility (and propably all other new arrows, see screenshot 3).
I have no vid at the moment.
Shulker bullet / Blaze(Dispenser) fire charge also apply effect / fire to Endermen.
Code analysis by [Mod] bemoty can be found in this comment
Spectral/Potion arrows/Channeling tridents apply effect to Endermen
When shooting normal arrows at Endermen they will not get hit and they will teleport away. When you shoot them with a Spectral Arrow they do the same but they will be marked with the spectral effect (the arrow doesn't hit them).
This also applies to the Arrow of Invisibility (and propably all other new arrows, see screenshot 3).
I have no vid at the moment.
Shulker bullet / Blaze(Dispenser) fire charge also apply effect / fire to Endermen.
Code analysis by [Mod] bemoty can be found in this comment
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 [Mod] bemoty can be found in this comment.
is duplicated by
is duplicated by
relates to
relates to
relates to
Duplicate of MC-83051. Please search before creating new issues.
To be more specific: MC-83051
Duplicate of MC-83051. Please search before creating new issues to see if your issue has been reported before.
Duplicate of MC-83051. Please search before creating new issues.
Dupe of MC-83051
Duplicate of MC-83051.
This issue may be relates to MC-83051.
This issue may be relates to MC-83051.
This issue relates to MC-83051.
Thank you for your report!
We're actually already tracking this issue at MC-83051, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Duplicates MC-83051.
relates to MC-83051



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?
[~Xander] bugs with more info or higher quality are chosen, not bugs reported first.
okay, thx for telling me
Can confirm for 15w33b
Affects also 15w36d
Confirmed for 15w40b
Confirmed for 15w41b
Confirmed for 15w42a
Confirmed for 15w43a
Confirmed for 15w44a
Confirmed for 15w46a
Confirmed for 15w47c
Confirmed that the Shulker bullet will let Enderman floating.
Can confirm for 15w49a
Confirmed for 15w51b by
MC-94686.Shulker bullet / Blaze(Dispenser) fire charge also apply effect / fire to Endermen.
Confirmed for 16w02a.
Confirmed for 16w06a, also the arrow doesn't disappear.
Confirmed for 1.9.1-pre3.
Confirmed for 1.9.3-pre3.
Confirmed for 1.9.4.
Confirmed for 16w21a.
Confirmed for 16w21b.
Confirmed for 1.10-pre1.
Confirmed for 1.10-pre2.
Confirmed for 1.10.
Confirmed for 1.10.1.
Based on net.minecraft.entity.monster.EntityEnderman.attackEntityFrom(), endermans actually can get hit by arrows, they just instantly teleport away as soon as they receive damage from an indirect damage source (such as an projectile). Therefore, the method net.minecraft.entity.projectile.EntityArrow.arrowHit() is called even though it seems like the arrow didn't hit the enderman.
A simple fix would be to check if the entity hit by the arrow (both tipped & spectral arrow) is an enderman before applying potion effects to the hit entity in the aforementioned method.
All of this is based on MCP 9.40pre-1 using MC 1.12. Also, can confirm for 1.12.1 here.
I think the trident does the same way. I tried to throw a trident with Channeling enchantment to an Enderman, the trident bounced off to the ground, the Enderman teleported away, and the Lightning bolt hits the teleported Enderman.
Confirmed for 18w19a
Confirmed for 18w22c
Still in 1.13-pre1
I noticed a little side effect when a tipped arrow using the CustomPotionEffects tag hits an enderman. The Duration tag is set to 0 after the enderman teleports (i think).
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