animate
open fun animate(@NotNull player: @NotNull Player, @NotNull model: @NotNull String, @NotNull animation: @NotNull String): Boolean
Play's animation to this player
Return
whether to success
Parameters
player
player
model
model name
animation
animation name
open fun animate(@NotNull player: @NotNull Player, @NotNull model: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean
Play's animation to this player with a specific loop type.
Return
whether to success
Parameters
player
player
model
model name
animation
animation name
modifier
modifier
open fun animate(@NotNull player: @NotNull Player, @NotNull model: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier, @NotNull consumer: @NotNull Consumer<EntityTracker>): Boolean
Play's animation to this player with a specific loop type.
Return
whether to success
Parameters
player
player
model
model name
animation
animation name
modifier
modifier
consumer
consumer