@minecraft/server / PlayAnimationOptions
Interface: PlayAnimationOptions ​
Defined in: @minecraft/server/index.d.ts:24269
Contains additional options for how an animation is played.
Properties ​
blendOutTime? ​
optionalblendOutTime?:number
Defined in: @minecraft/server/index.d.ts:24275
Remarks ​
Amount of time to fade out after an animation stops.
controller? ​
optionalcontroller?:string
Defined in: @minecraft/server/index.d.ts:24282
Remarks ​
Specifies a controller to use that has been defined on the entity.
nextState? ​
optionalnextState?:string
Defined in: @minecraft/server/index.d.ts:24288
Remarks ​
Specifies the state to transition to.
players? ​
optionalplayers?:Player[]
Defined in: @minecraft/server/index.d.ts:24294
Remarks ​
A list of players the animation will be visible to.
stopExpression? ​
optionalstopExpression?:string
Defined in: @minecraft/server/index.d.ts:24301
Remarks ​
Specifies a Molang expression for when this animation should complete.