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

Playful panda rolling ignores movement speed attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.1, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 6, 1.18 Release Candidate 1, 1.18, 1.18.1 Pre-release 1, 1.18.1 Release Candidate 1, 1.18.1 Release Candidate 2, 1.18.1, 22w03a, 22w05a, 22w07a, 22w13a, 22w17a, 22w18a, 1.19 Pre-release 1, 1.19.1 Pre-release 4, 1.19.2, 1.19.3, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.4, 1.21
    • Confirmed
    • Mob behaviour
    • Low
    • Platform

      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.

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            8 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: