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
- 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}]} - Wait for a while.
The panda will start rolling.- 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}]} - Wait for a while.
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.
2021-11-11, 01:37 PM
2024-09-25, 11:52 AM
8
2
1.17.1 - 1.21
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
-