Mojira Archive
MC-182330

Crossbow-wielding piglins behave weirdly when they try to pursue invisible players

The bug

If an invisible player attack a piglin that has a crossbow, they will pathfind toward the invisible player. But the crossbow-wielding piglin would get stuck in a loop of charging their crossbows while backing off and going back towards the invisible player.

To reproduce

  1. In the nether run:
     /summon piglin ~ ~ ~ {HandItems:[{id:crossbow,Count:1b}]} 
  2. Drink an invisibility potion
  3. Attack it once
    It runs towards you, backing off while loading its own crossbow, stops loading, and repeats this behavior.

Fixed

DrownedZombie

hkniberg

2020-05-04, 05:20 AM

2020-07-28, 06:02 PM

2020-07-28, 06:02 PM

6

2

Community Consensus

Normal

Mob behaviour

20w18a - 20w30a20w18a, 20w19a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a

1.16.2 Pre-release 1