Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-101670

Most mobs get stuck on and between damaging blocks (cactus, magma, campfire, fire)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.70.24 Preview, 1.17.11 Hotfix, 1.16.210.51 Beta, 1.16.40 Hotfix, 1.16.200, 1.18.2 Hotfix, 1.20.0, 1.20.32 Hotfix, 1.20.62 Hotfix, 1.21.0, 1.21.44 Hotfix
    • None
    • Confirmed
    • Multiple
    • 418269

      Mobs will not path off the top of damaging blocks in many cases. They appear to view the 8 blocks surrounding a cactus, magma block, or campfire as damaging, and therefore will not path to them if they have

      "avoid_damage_blocks": true
      

      within "minecraft:navigation.walk". That means they will not leave the top of a damage block if it is elevated, unless they target something farther away than 1 block. For example, if you spawn a wolf on a cactus, magma block, or campfire, and a sheep next to the block, the wolf will get angry but will not move until the sheep begins to wander away. Moreover, the panic behavior seems to be restricted to targeting adjacent blocks, so mobs with "minecraft:behavior.panic" (e.g. llamas, chickens) will not step down from a cactus as they should because they can’t find a “safe” block.

      Steps to reproduce

      1. Place a cactus block on sand.
      2. Summon a mob on top of the cactus.

      Expected result

      The mob moves off of the cactus because it is getting hurt!

      Actual result

      Most mobs will not path off of the cactus.

            GoldenHelmet [Mod] GoldenHelmet
            Votes:
            16 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: