MCBE
OverviewPacketsAnimateEntity
ID 0x9E · 158Server → ClientEntities

AnimateEntity

Several properties can be specified in the following order:</br> - The name of the animation (a string) that the specified entities are to play.</br> - The next state to transition to (a string) once the specified animation is finished playing.</br> - The stop expression (a string), the condition that determines when to transition to the next state.</br> - The name of an animation controller (a string) that you would like to use.</br> - The blend out time (a float), the amount of time to blend out of this animation.</br> - A vector of ActorRuntimeIds of the entities that will play the specified animation.

animate-entity.bin
struct AnimateEntity {
  string                                       Animation;
  string                                       NextState;
  string                                       StopExpression;
  int32 (LE)                                   StopExpressionVersion;
  string                                       Controller;
  float32 (LE)                                 BlendOutTime;
  varuint32 [] · ActorRuntimeID[]              RuntimeIds;
}

Structure

FieldTypeDescription
Animationstring
Next Statestring
Stop Expressionstring
Stop Expression Versionint32 (LE)
Controllerstring
Blend Out Timefloat32 (LE)
Runtime Idsvaruint32 count + ActorRuntimeID[]Length-prefixed sequence.

Notes

  • No special notes.