Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-221488

Pandas keep eating when getting hit

XMLWordPrintable

    • Icon: Bug 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.

        1. AgrPandaBugBedrock.mp4
          5.48 MB
        2. DxDiag.txt
          178 kB
        3. PandaBugJava.mp4
          5.09 MB

            Unassigned Unassigned
            himazinn_Japan himazinn_Japan
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: