ModelManager
interface ModelManager
Manages all loaded models and provides access to them.
This manager is the primary entry point for retrieving ModelRenderer instances, which are used to create and control model trackers.
Since
1.15.2
Functions
Link copied to clipboard
open fun animate(@NotNull player: @NotNull PlatformPlayer, @NotNull model: @NotNull String, @NotNull animation: @NotNull String): Boolean
Plays an animation on a player.
open fun animate(@NotNull player: @NotNull PlatformPlayer, @NotNull model: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean
Plays an animation on a player with a specific modifier.
open fun animate(@NotNull player: @NotNull PlatformPlayer, @NotNull model: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier, @NotNull consumer: @NotNull Consumer<EntityTracker>): Boolean
Plays an animation on a player with a modifier and a configuration consumer.
Link copied to clipboard
Retrieves a player limb renderer by its name.
Link copied to clipboard
Returns a collection of all renderers designated for player limb animations.
Link copied to clipboard
Retrieves a model renderer by its name.
Link copied to clipboard
Returns a collection of all loaded model renderers.
Link copied to clipboard