Pandas keep eating when getting hit
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.
2020-07-06, 01:43 PM
2025-02-06, 05:18 AM
6
3
-