The bug
Wither Skeleton afraid to leave the shadows, when it is in the morning of overworld. Even if Wither Skeleton was attacked / being chased by a wolf.
And this makes the Wither Skeleton cannot attack the players.
How to reproduce
Confirm you at the overworld
Set the time to morning:
/time set day
Spawn Wither Skeleton to beneath the shadow
Linked issues
clones 1
is duplicated by 7
relates to 3
Attachments
Comments 26
When you give Wither Skeleton a shelter, it would to stalk there.
But if you push it to sunlight under, it will resume normal.
It seems as though Wither Skeletons don't know they're immune to fire.
Relates to MC-13497.
@unknown First thing @unknown isn't spamming he is just keeping a ticket uodated with current versions. Second thing is that this isn't a dupe or WAI see the priority, Mojang plans to fix this. Please be more cognizant of these things when commenting in the future.
Code analysis (Mojang mappings, 1.19.2): Wither skeletons inherit RestrictSunGoal
and FleeSunGoal
from AbstractSkeleton
on the registerGoals()
method.
It could be fixed by removing the super.registerGoals()
line from the method and adding the other required methods present in AbstractSkeleton#registerGoals
; this might not be desirable from a design standpoint, though, because it means that wither skeletons will no longer inherit the goals from AbstractSkeleton
. Another fix could be moving RestrictSunGoal
and FleeSunGoal
from AbstractSkeleton
to the stray and skeleton's code.
So basically what you are saying is that Wither skeletons will not go out into sunlight.