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
of0
:/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
of10
:/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.
This behavior is present in 1.17.1 as well and isn't exclusive to the 1.18 snapshots.