-
Bug
-
Resolution: Fixed
-
20w18a, 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
-
None
-
Community Consensus
-
Mob behaviour
-
Normal
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
- In the nether run:
/summon piglin ~ ~ ~ {HandItems:[{id:crossbow,Count:1b}]}
- Drink an invisibility potion
- Attack it once
→ It runs towards you, backing off while loading its own crossbow, stops loading, and repeats this behavior.