ProfileManager

interface ProfileManager

Manages the resolution and creation of model profiles (skins).

This manager allows configuring the strategy for fetching profiles (e.g., from Mojang API, cache, or custom sources) and creating skin instances from raw texture data.

Since

1.15.2

Functions

Link copied to clipboard
@NotNull
abstract fun skin(@NotNull rawTextures: @NotNull String): @NotNull ModelProfileSkin
Creates a ModelProfileSkin from a raw texture string (Base64 encoded).
Link copied to clipboard
@NotNull
abstract fun supplier(): @NotNull ModelProfileSupplier
Returns the current profile supplier strategy.
abstract fun supplier(@NotNull supplier: @NotNull ModelProfileSupplier)
Sets the profile supplier strategy.