Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-222392

Mobs attempt to pathfind out of powder snow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 1.17, 1.17.1, 21w37a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 4, 1.18 Pre-release 8, 1.18 Release Candidate 1, 1.18 Release Candidate 2, 1.18 Release Candidate 3, 1.18, 1.18.1 Release Candidate 2, 22w03a, 22w05a, 22w06a, 22w07a, 1.18.2 Pre-release 1, 1.18.2 Pre-release 2, 1.18.2 Pre-release 3, 1.18.2 Release Candidate 1, 22w11a, 22w12a, 22w14a, 22w15a, 1.19 Pre-release 3, 1.19, 22w24a, 1.19.1 Pre-release 2, 1.19.1 Release Candidate 2, 1.19.1, 1.19.2, 22w42a, 22w43a, 22w44a, 22w45a, 22w46a, 23w03a, 23w05a, 1.20.1, 23w33a, 23w35a, 1.20.4, 24w09a, 24w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 3
    • Confirmed
    • Mob behaviour

      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:

      The bug in action:

        1. image-2021-04-06-08-33-35-409.png
          323 kB
          MMK21
        2. javaw_KmJrxqAp8u.png
          647 kB
          MMK21
        3. powder_snow_pathfinding.nbt
          1 kB
          MMK21
        4. repo-setup.png
          562 kB
          MMK21

            Unassigned Unassigned
            MishMoshKeel21 MMK21
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: