mojira.dev
MC-181580

Some entities are not regarded as obstructions by mob pathfinding

The bug

Some entities are not regarded as obstructions by mob pathfinding.

Entities affected

The following entities are affected:

  • Shulker Mob (MC-94831)

  • Shulker Boxes

  • Boats (occupied or not)

Examples

See attached screenshots for reference.

Linked issues

Attachments

Comments

migrated

Some extra info: In theory this applys to all mobs in that they can hinder other mobs in going to where they want if the first mob is blocking their path. But since mobs usually moves around, this problem fixes itself. But for the Shulkre Mob which remains stationary unless it is provoked to teleport away (if at all possible for it) and the boat which also stays stationary, this poses a problem when a mob is fixed on pathing through it but unable to do so. Also the fact that a mob is unable to push a shulker or a boat.
Perhaps mobs Pathfinding AI should consider the hitbox of other entities as actually blocking a path in the same way as they see blocks.

TheTamedWolf

@pelle Entities pathfind through boats and minecarts they just get trapped inside of them which is a good thing. It makes it less difficult to catch them for transport. Methinks i see what you mean with the shulkers though. For instance, the cows i have, will cluster in a corner and continue to try to get through. 

violine1101

Merged into MC-94831

migrated

(Unassigned)

Confirmed

Mob behaviour

entities, mob-behavior, mobs, obstructed, pathfinding

1.15.2, 20w18a, 20w19a, 20w20a, 20w20b, ..., 1.16 Pre-release 3, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a

Retrieved