-
Bug
-
Resolution: Fixed
-
Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre4, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w32c, Minecraft 15w36d, Minecraft 15w39c, Minecraft 15w49b, Minecraft 15w50a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w18a, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 18w05a, Minecraft 18w07a, Minecraft 18w11a, Minecraft 18w20c, Minecraft 18w22c, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.2, Minecraft 1.14.3, 1.14.4, 19w34a, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a
-
Confirmed
-
Mob behaviour
-
Important
The bug
Zombie pigmen can become aggressive to the player if hit by another mob (i.e. skeletons and blazes), and newly spawned pigmen (even hundreds of blocks from the incident) will spawn aggressive without provocation. They attack only the player if they're hit by a different agro'd hostile mob.
Replicate: (In creative) Spawn a lot of pigmen (with dispenser and redstone clock), and a skeleton. (Switch to survival) the skeleton will shoot at the player, but hit a pigmen instead. Kill the skeleton, and then all of the pigmen will attack the you, regardless of whether you hit them.
TL;DR: Any hostile mob hits zombie pigmen. You kill the hostile mob. Pigmen attack you.
Code analysis
This behavior might be intended, see this and this comment.
- is duplicated by
-
MC-69715 Pigmen agressive
- Resolved
-
MC-70089 Zombie pigmen spawn hostile
- Resolved
-
MC-71301 Zombie Pigmen Anger
- Resolved
-
MC-71541 Blaze fireball angers Zombie Pigmen towards player
- Resolved
-
MC-76292 Zombie Pigmen attack without provocation
- Resolved
-
MC-77835 Zombie pigman attacking the player without being provoked by anyone
- Resolved
-
MC-79153 Iron Golem triggers Zombie Pigman hostility towards Player
- Resolved
-
MC-79633 Blaze Fireballs cause Zombie Pigmen to Aggro.
- Resolved
-
MC-79884 Pigmen agro mechanics are buggy as hell
- Resolved
-
MC-80125 pigman will randomly become argovated without being hit
- Resolved
-
MC-80590 Eternally Hostile Zombie Pigmen -- Reoccurrence
- Resolved
-
MC-80926 Zombie Pigmen aggro me when a ghast hits them and I kill the ghast
- Resolved
-
MC-85733 Every time I go into the nether at crypticmc.com Zombie pigmen HATE me even on my first time ever in there in 15w32c (I have never been in this server before)
- Resolved
-
MC-89389 Mobs trigger Zombie Pigmen to aggro at player
- Resolved
-
MC-93288 When a mob shoots a zombie pig, he becomes angry with you
- Resolved
-
MC-95986 zombie pigmen are hostile to players when retaliated by shulkers
- Resolved
-
MC-99331 Skeleton shoots pigman, pigman attacks me for no reason.
- Resolved
-
MC-106845 More Zombie Pigmen attack pattern problems
- Resolved
-
MC-108983 Zombie pigmen aggro to player when hit by player-targeting skeleton/stray arrows
- Resolved
-
MC-111311 Skeletons shoot pigman, I get blamed.
- Resolved
-
MC-113037 Zombie Pigmen attacking when not aggravated by player
- Resolved
-
MC-117935 zombie-pigman was hit by a skeleton and went after me
- Resolved
-
MC-120331 Pigmans are attacking me when they are getting hit from evokers
- Resolved
-
MC-138296 Zombie Pigmen attacks after being attacked by Skeleton.
- Resolved
-
MC-146139 zombie pigmen are not fair they start attacking the player after they killed a mob that attacked one of them
- Resolved
-
MC-153553 Zombie Pigmen angered when attacking Wither Skeletons
- Resolved
-
MC-155195 Zombie Pigmen attack Player after Skeleton shoots Pigmen
- Resolved
-
MC-155629 Pigmen attacking me without a reason
- Resolved
-
MC-155710 Pigman getting shot by skeleton enrages baby pigmen
- Resolved
-
MC-157233 Zombie Pigman Start attacking player, after any hostile mob accidently attack them, and get killed
- Resolved
-
MC-157357 Zombie Pigman Agroed wrongly
- Resolved
-
MC-159051 zombie pigmen become hostile to all players when hit even after the player dies
- Resolved
-
MC-159126 Zombie Pigmen provoked by Villager-summoned Iron Golems become aggressive towards the player if the golem dies
- Resolved
-
MC-160808 Zombie Pigmen angered for no apparent reason
- Resolved
-
MC-164166 Pigmen aggro towards players when damaged
- Resolved
-
MC-164833 I tricked a skeleton into hitting a zombie pigman, and after the skeleton died the pigmen attacked me, even though i did not hit them.
- Resolved
-
MC-165714 Irongolems and Pigmans
- Resolved
-
MC-166674 after a skeleton shoots pigman pigman agresses on skeleton than player
- Resolved
-
MC-166836 if a pillager shoots a pigman, all pigmen attack me too
- Resolved
-
MC-168208 zombie pigmen will attack the player irrespective of who attacks them first
- Resolved
-
MC-171995 Zombie pigmen aggro on player after killing hostile mob
- Resolved
-
MC-172174 Pigmen become hostile towards player after getting attacked by Piglins
- Resolved
-
MC-173639 If a piglin shoots a zombified piglin, the zombified piglins will turn agressive towards the player
- Resolved
-
MC-173733 Zombie Pigmans attack Player if Piglin shot in Zombie Pigman
- Resolved
-
MC-174166 Zombie pigmen will redirect their anger towards you after killing a different mob
- Resolved
-
MC-174743 Neutral mobs randomly attacking the player
- Resolved
-
MC-175354 Zombie Piglins become incorrectly aggresive towards player after skeleton shoots.
- Resolved
-
MC-175730 pigman issues
- Resolved
-
MC-176552 Zombie Pigman Attack the wrong target
- Resolved
-
MC-176974 Zombie Pigman shot by skeleton agroes to player
- Resolved
-
MC-177031 zombie piglin aggro without being attacked
- Resolved
-
MC-177882 Pigmen attack the player when the player didn't hit them
- Resolved
-
MC-178090 Zombified piglin can kill player by player not hurt them.
- Resolved
-
MC-180384 Zombie Pigmen turn on players after killing other mobs
- Resolved
-
MC-180577 Zombified Piglins aggravate when not provoked
- Resolved
-
MC-180828 Zombified Piglins attacking player after being attacked by Piglin
- Resolved
-
MC-181092 Zombified piglins attack player after being attacked by normal piglins
- Resolved
-
MC-182106 Zombie Pigmen agressing issue
- Resolved
-
MC-184667 Zombie Piglans
- Resolved
-
MC-187528 Pigman Getting Shot by Skeleton Glitch
- Resolved
-
MCL-14006 Zombified piglins attack me after getting shot by a piglin with a crossbow and killing it.
- Resolved
- relates to
-
MC-159500 Hostile mobs attacking bees also cause the bees to attack players
- Resolved
-
MC-56653 Zombified Piglins drop XP and rare drops if killed by anything while in angered state
- Resolved
-
MC-73098 Zombie Pigman Unusual Behaviour
- Resolved
-
MC-148600 Zombie pigmen will spread their anger forever if they can continously respawn
- Resolved