mojira.dev
MC-64840

Snow golems creating snow in warm biomes

The bug

When spawning a snow golem in a warm biome, such as plains, they can still create a path of snow at y=67 and above. According to the wiki and MC-377, this shouldn't happen.

Code analysis

The following is based on yarn 1.15.1 names.

In the method net.minecraft.entity.passive.SnowGolemEntity.tickMovement() it has the if-statment for if a snow layer should be set. As MC-377 states, it checks for biomes but since Java Edition 1.7.2 added temperatures, it not longer uses biomes; it uses temperature. When the temperature goes below 0.8, snow will generate. Code wise, this would mean it's intended, but, it might not be (due to MC-377). Suggestion fix (if not intended), would be to check for biomes and temperature.

Attachments

Comments 16

Please remake the screenshot with F3 enabled.

Shows that biome is in Plains. Snow Golems will only make paths in Snow related biomes, thus dupe of MC-377

Well then how come it makes snow on the surface? Here I'll attach a picture

Hmm... probably something changed in the Mob AI that affected the Snow Golem with making snow sheets.

6 more comments

Can confirm in 20w48a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w39a.

Can confirm 23w43b. I would like to request ownership of this issue to maintain it.

Carter Thompson

hentor5

(Unassigned)

Confirmed

Mob behaviour

snow_golem

Minecraft 14w31a, Minecraft 1.12.2, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13.1, ..., 23w43b, 23w44a, 1.20.3, 1.21, 25w02a

Retrieved