Steps to reproduce
Trap a snow golem in place using blocks or a minecart.
Spawn a husk 15 blocks away.
Expected result
The snow golem starts shooting the husk when it is 10 blocks away.
Observed result
The snow golem starts shooting the husk when it is 6 block away.
Analysis:
Snow golems are able to shoot 10 blocks according to their behavior.ranged_attack component, but they can only find targets within 6 blocks according to their behavior.nearest_attackable_target component. The restriction to 6 blocks occurred in version 26.0 because a previously existing invalid parameter, “within_default”, was changed to the valid parameter, “max_dist”. It seems likely that the original number was supposed to be 16, not 6. It is also possible that the “within_default” was supposed be a comment and not a parameter, because the default max_dist is 16, so it doesn’t need to be asserted here.
Before I updated , the snow golem would start moving towards hostile mobs from 10 blocks before attacking them but now they dont notice them at all until they're about 5 blocks away
Linked issues
Comments 5
Really annoying now a creeper just ruined my house because the snow golem guiding the door is lazy until the creepy creeper reaches 6 blocks away
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
Ghast blasters are broken because snow golem do not throw snowballs at zombies now.