Interface ProfileManager
public 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
-
Method Summary
Modifier and TypeMethodDescription@NotNull ModelProfileSkinCreates aModelProfileSkinfrom a raw texture string (Base64 encoded).@NotNull ModelProfileSuppliersupplier()Returns the current profile supplier strategy.voidsupplier(@NotNull ModelProfileSupplier supplier) Sets the profile supplier strategy.
-
Method Details
-
supplier
Returns the current profile supplier strategy.- Returns:
- the profile supplier
- Since:
- 1.15.2
-
skin
Creates aModelProfileSkinfrom a raw texture string (Base64 encoded).- Parameters:
rawTextures- the raw texture data- Returns:
- the created skin profile
- Since:
- 1.15.2
-
supplier
Sets the profile supplier strategy.- Parameters:
supplier- the new profile supplier- Since:
- 1.15.2
-