mojira.dev
MCPE-237125

The snow golem's range is very short (less than ten blocks)

Steps to reproduce

  1. Trap a snow golem in place using blocks or a minecart.

  2. 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

Ghast blasters are broken because snow golem do not throw snowballs at zombies now.

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.

I just tested it in 26.20. The bug still persists.

Tested in 26.31 release and its the same 6 blocks when it should be 16

DarkEmperor3188

(Unassigned)

1605227

Confirmed

Multiple

26.3, 26.13

Retrieved