Shulkers can teleport when taking damage, even if they had full health (which is more than half).
See the movie for detail. This may relate to other strange behaviours of shulkers that teleported on their own. For example, shulkers shoot bullets while closed (reported in MC-216251 ), which is confirmed in my movie, too.
update:
To reproduce this, you may have to make shulker duplicate by a shulker bullet.
I tested with a sword enchanted with Sharpness Lv 25 (20 damage), so shulkers with less than half health can't survive.
https://drive.google.com/file/d/1Inof-kWlg7e6g1qtGcQnjKgHYfokrhby/view?usp=drive_link
https://drive.google.com/file/d/1zfukVmjQobzUnzxA5ccnWcSgdk1M2vsN/view?usp=drive_link
I also attached a world data to test this behavior. The testing farm is located at (X, Z) = (-50, -500).
Attachments
Comments 8
No, because MC-230971 is about shulkers below half health. The problem here is that shulkers can teleport even if they had full health when damaged.
confirmed in 1.19.3.
This is a serious bug for simple shulker farm (manual killing) and needs to be fixed.
Can't reproduce. I've attached a video dealing damage to a bunch of shulkers, some at full health (purple) and some at 1 health (black). Only the black ones are teleporting
[media]
You may have to make shulker duplicate by a shulker bullet.
I added two more examples tested in 1.20.2.
I used a sword with Sharpness 25 to prove shulkers have more than half health.
Hitting an open shulker at full health with a sharpness 25 diamond sword as you did brings it to 10 health, which is below half.
I think your misunderstanding comes from the fact that shulkers are allowed to teleport if they have less than half health after the attack, not before.
Oh I didn't know that.
I now confirmed newly spawned shulkers sometimes teleport after an initial attack with a Sharpness 25 sword.
So, okay, it works as intended. Sorry
Does MC-230971 describe your issue?