ModelManager

interface ModelManager

Model Manager

Functions

Link copied to clipboard
open fun animate(@NotNull player: @NotNull Player, @NotNull model: @NotNull String, @NotNull animation: @NotNull String): Boolean
Play's animation to this player
abstract 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.
Link copied to clipboard
@Nullable
abstract fun limb(@NotNull name: @NotNull String): @Nullable ModelRenderer
Gets renderer for player animation by name.
Link copied to clipboard
@NotNull
@Unmodifiable
abstract fun limbKeys(): @NotNull @Unmodifiable Set<String>
Gets all key of renderer
Link copied to clipboard
@NotNull
@Unmodifiable
abstract fun limbs(): @NotNull @Unmodifiable Collection<ModelRenderer>
Gets all renderers for player animation.
Link copied to clipboard
@Nullable
abstract fun model(@NotNull name: @NotNull String): @Nullable ModelRenderer
Gets renderer by name
Link copied to clipboard
@NotNull
@Unmodifiable
abstract fun modelKeys(): @NotNull @Unmodifiable Set<String>
Gets all key of renderer
Link copied to clipboard
@NotNull
@Unmodifiable
abstract fun models(): @NotNull @Unmodifiable Collection<ModelRenderer>
Gets all renderers
Link copied to clipboard
@Nullable
open fun renderer(@NotNull name: @NotNull String): @Nullable ModelRenderer