The Bug
Most of the time, endermen fail to teleport away from wither skull projectiles without an Owner
, which should be the intended behavior as per MC-178441.
Reproduce
Summon an Enderman
Run the following command
/execute at @e[type=minecraft:enderman] run summon minecraft:wither_skull ~-3 ~2 ~ {NoGravity:1b,Motion:[0.5,0.0,0.0]}
Observed Result
The enderman failed to teleport away from the wither skull
Expected Result
Endermen should teleport away from wither skulls as they do with certain projectiles.
Linked issues
Attachments
Comments 5
Can confirm this behavior. You can summon an enderman and run the following command in order to easily reproduce this.
/execute at @e[type=minecraft:enderman] run summon minecraft:wither_skull ~-3 ~2 ~ {NoGravity:1b,Motion:[0.5,0.0,0.0]}
This bug is actually the same as MC-186119. It was actually a by-product, the enderman actually does dodge the wither skull correctly all the time.
As explained in MC-186119, using the command:
/execute at @e[type=minecraft:enderman] run summon minecraft:wither_skull ~-3 ~2 ~ {NoGravity:1b,Motion:[0.5,0.0,0.0]}
Actually yields different results than using a real wither. Once the fix for MC-186119 is applied the enderman actually dodges the wither skulls just fine.
It's still a bit weird that they don't dodge it due to it not having an owner, so maybe just re-purpose this bug report for that instead.
Relates to MC-109147 and MC-186119.