Interface ModelProfile

All Known Implementing Classes:
ModelProfile.Simple

public interface ModelProfile
Model skin
  • Field Details

  • Method Details

    • of

      @NotNull static @NotNull ModelProfile of(@NotNull @NotNull ModelProfileInfo info)
      Creates profile
      Parameters:
      info - info
      Returns:
      profile
    • of

      @NotNull static @NotNull ModelProfile of(@NotNull @NotNull ModelProfileInfo info, @NotNull @NotNull ModelProfileSkin skin)
      Creates profile
      Parameters:
      info - info
      skin - skin
      Returns:
      profile
    • of

      @NotNull static @NotNull ModelProfile of(@NotNull @NotNull PlatformPlayer player)
      Gets skin by player
      Parameters:
      player - player
      Returns:
      model profile
    • of

      @NotNull static @NotNull ModelProfile.Uncompleted of(@NotNull @NotNull PlatformOfflinePlayer offlinePlayer)
      Gets uncompleted profile by offline player
      Parameters:
      offlinePlayer - offline player
      Returns:
      uncompleted profile
    • of

      @NotNull static @NotNull ModelProfile.Uncompleted of(@NotNull @NotNull UUID uuid)
      Gets uncompleted profile by offline player's uuid
      Parameters:
      uuid - offline player's uuid
      Returns:
      uncompleted profile
    • info

      @NotNull @NotNull ModelProfileInfo info()
      Gets info
      Returns:
      info
    • skin

      @NotNull @NotNull ModelProfileSkin skin()
      Gets skin
      Returns:
      skin
    • asUncompleted

      @NotNull default @NotNull ModelProfile.Uncompleted asUncompleted()
      Makes this profile as uncompleted
      Returns:
      uncompleted profile
    • player

      @Nullable default @Nullable PlatformPlayer player()
      Gets player
      Returns:
      player