mojira.dev
MC-304377

Worried pandas are not scared of certain monsters

Worried Pandas are supposed to avoid monsters, however, they are not scared of the following mobs:

  • Camel Husk

  • Ender Dragon

  • Ghast

  • Hoglin

  • Magma Cube

  • Phantom

  • Shulker

  • Skeleton Horse

  • Slime

  • Zombie Horse

  • Zombie Nautilus

This is because: The ender dragon, ghasts, hoglins, magma cubes, phantoms, shulkers and slimes only count as “enemies“ in the game code, instead of monsters. The same is true for camel husks, skeleton horses, zombie horses and zombie nautiluses, counting only as animals and not enemies as well. As worried pandas are programmed to run away from “monsters“ they ignore all of the 11 above mentioned mobs.

Steps to reproduce the issue:

  • Summon a worried panda and one of the above mentioned mobs nearby, the panda will not run away.

Expected result:

  • The panda runs away when nearby these monsters.

Actual result:

  • The panda does not run away.

Code analysis by YouTuber JASON13 can be found here: https://youtu.be/BBFaNYwZ8-o?si=a72bozT8NQZ8SqRY&t=263

Attachments

Comments 4

Why do you want them to run away?

worried pandas are supposed to avoid monsters, they however, they don’t avoid the above listed mobs, despite being monsters

I've tried it with most hostile mobs and I am yet to see it run away from anything

its not all panda variants, only worried pandas, and only in java

if you check the game code it even states that they run away from “monster”

Custom Name

(Unassigned)

1525079

Confirmed

Expansion A

(Unassigned)

1.21.10, 1.21.11 Pre-Release 1, 1.21.11 Pre-Release 2, 1.21.11 Pre-Release 3, 1.21.11 Pre-Release 4, ..., 1.21.11 Release Candidate 3, 1.21.11, 26.1 Snapshot 1, 26.1 Snapshot 2, 26.1 Snapshot 3

Retrieved