Crossbow wielding piglins riding on an entity do not properly back away from their target
The bug
Crossbow wielding piglins that are riding an entity does not back away properly from the player, similar to MC-172266.
How to reproduce
- In the Nether (or overworld if IsImmuneToZombification tag is used)
/summon minecraft:pig ~ ~ ~ {Passengers:[{id:piglin,IsImmuneToZombification:1b,HandItems:[{id:crossbow,Count:1b,Unbreakable:1}]}]} - Go to survival
→
The piglin controls the unsaddled pig by backing away from the closest player. Notice that it is based on the pig's initial rotation and never changes direction of where it should walk backwards.
2020-05-24, 02:17 PM
2024-10-02, 05:16 AM
4
3
20w21a - 24w39a
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 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 21w17a, 1.18, 1.18.1, 1.21.1, 24w39a
-