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

Mobs jump when moving onto several blocks with no collision or very low collision

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.17.40
    • 1.17.11 Hotfix, 1.16.220, 1.16.10, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.30
    • None
    • Confirmed
    • Multiple
    • 422474

    Description

      Note: this issue is already tracked for pressure plates at MCPE-102812.

      Steps to reproduce

      1. Make a 7 x 7 platform.
      2. Make a 4-block wide stripe down the middle of carpet, horizontal bottom trapdoors, dead corals, or fire. (Possibly some other blocks may trigger this bug but these are the only ones I tested.)
      3. Spawn a mob on one side of the stripe.
      4. On the other side of the stripe, spawn something the mob would want to move toward, e.g. another mob that it would attack, or for villagers, a bed and workstation.

      Expected results

      The mob would path across the carpet/corals normally, or would avoid the fire.

      Actual results

      The mob jumps when moving onto the carpet/corals/fire. (In the corals it may get stuck, in the fire it continues to jump around. There are other issues that impact pathing with coral and fire: MCPE-114407, MCPE-23835.)


      Original description
      Mobs tend to get confused and constantly jump when on no-collision blocks like flowers and grass. It also happens when the mob that it is riding dies but is still in it's death animation

      How to reproduce?

      1. Spawn a mob
      2. Get it to pathfind over blocks like buttons, fire and carpets
      3. Observe.

      Expectation:

      The mob is suppose to be able to path through the no-collision blocks without having troubles

      Observation:

      They get confused and attempt to jump over it like it is a solid block

      Possible fix:

      Make the mob only jump if the block they are pathfinding to has a hitbox height of 0.8 blocks or more and has collision

      Attachments

        Issue Links

          Activity

            People

              Sixtinine Jumong D. Isla
              Votes:
              10 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: