Mojira Archive
MC-241147

Playful panda rolling ignores movement speed attribute

The bug

Playful pandas rolling ignores their movement speed attribute, which makes them move when their generic.movement_speed is set to 0.

To reproduce

  1. Summon a playful panda with a generic.movement_speed of 0:
    /summon minecraft:panda ~2 ~ ~ {HiddenGene:"playful",MainGene:"playful",attributes:[{id:"minecraft:generic.movement_speed",base:0.0d}]}
    
  2. Wait for a while.
  3. The panda will start rolling.
  4. Summon a playful panda with a generic.movement_speed of 10:
    /summon minecraft:panda ~2 ~ ~ {HiddenGene:"playful",MainGene:"playful",attributes:[{id:"minecraft:generic.movement_speed",base:10.0d}]}
    
  5. Wait for a while.
  6. The panda rolls with the same speed.

Expected result

Playful pandas wouldn't move when their generic.movement_speed is set to 0, and their rolling would not ignore said attribute.