mojira.dev
MC-222392

Mobs attempt to pathfind out of powder snow

The bug

Mobs will attempt to jump up a one-block step (if they have a path to a target) even if they are inside powder snow.

Steps to reproduce

  1. Set up an area as per the screenshot

  2. Spawn a zombie in the powder snow

You can also use the provided .nbt structure file to quickly set up an area to reproduce this bug in. The file goes in <INSTALLATION FOLDER>/saves/<WORLD FOLDER>/generated/<NAMESPACE>/structures (chose a custom namespace or use minecraft). Load it as normal using a structure block - set the Structure Name to minecraft:powder_snow_pathfinding, replacing minecraft with your namespace. Remember to set "Include Entities" to ON!
Note: the structure file is outdated - you now have to place a block to give the zombie a valid path to the villager

Observed behaviour

The zombie attempts to exit the powder snow

Expected behaviour

The zombie would not attempt to pathfind out of the powder snow, as it cannot jump over the block

Attachments

The setup to reproduce his bug:

[media]

The bug in action:

[media]

Attachments

Comments 1

can confirm in 21w37a

MMK21

(Unassigned)

Confirmed

Mob behaviour

pathfinding, powder_snow

21w13a, 21w14a, 21w15a, 21w16a, 21w17a, ..., 1.20.5 Release Candidate 3, 1.20.5, 24w18a, 24w21b, 1.21

Retrieved