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 Details

    • supplier

      @NotNull @NotNull ModelProfileSupplier supplier()
      Returns the current profile supplier strategy.
      Returns:
      the profile supplier
      Since:
      1.15.2
    • skin

      @NotNull @NotNull ModelProfileSkin skin(@NotNull @NotNull String rawTextures)
      Creates a ModelProfileSkin from a raw texture string (Base64 encoded).
      Parameters:
      rawTextures - the raw texture data
      Returns:
      the created skin profile
      Since:
      1.15.2
    • supplier

      void supplier(@NotNull @NotNull ModelProfileSupplier supplier)
      Sets the profile supplier strategy.
      Parameters:
      supplier - the new profile supplier
      Since:
      1.15.2