-
Bug
-
Resolution: Unresolved
-
None
-
1.16.5, 21w11a, 1.17.1, 1.19.4, 23w14a, 1.21.4, 25w02a, 25w06a
-
Confirmed
-
Mob behaviour
-
Low
-
Gameplay
The bug:
Pandas can be hit while eating bamboo without interrupting their meal or attacking the player.
Repro steps:
1.Run this command to spawn a panda.(The aggressive personality is intended to make the issue easier to understand.)
/summon panda ~ ~ ~ {MainGene:aggressive,HiddenGene:normal}
2.Give the panda some bamboo and wait for him to eat it.
This issue does not occur with bamboo given directly by the player.If the player attacks a panda when it is given bamboo directly, the panda will stop eating and attack the player.
3.Attack the Panda when it is eating.
Observed results:
Pandas keep eating when getting hit.
Expected results:
Pandas stop eating and attack the Player's Character when getting hit.
Note that piglins with similar behavior will attack the player if they are hit while admiring the gold.