Mojira Archive
MCM-1150

/playanimation doesn't work the same tick after spawning a mob

Partner Rank: 3

Verification builds: 1.16.100.50
Regression builds: N/A since this command was introduced in this version

Summary: If you spawn a mob, and then in the same tick use /playanimation on that mob, the animation is not applied. It only works if you wait a tick.

Impact: This is quite annoying as Bedrock offers no elegant way to delay commands inside of functions. But of course this doesn't break anything.

Repro Steps:

  1. Set up a command block chain with the following commands:
    /summon husk
    /playanimation @e[type=husk] animation.armor_stand.solemn_pose test 0 "0" test
    
  2. Power the chain

Expected Results: Husk moves arms into pose

Observed Results: Husk spawns like normal. If you add delay to the second command block, then it works as expected.

Screenshots/Videos attached: Yes

Notes: Seems to work fine for armor stands for some reason.

Won't Fix

[Mod] tryashtar

2020-09-09, 07:03 AM

2021-03-05, 07:39 PM

2021-03-05, 07:39 PM

0

0

Future Release

-