Interface SkinService


public interface SkinService
Resolves player skins and the avatar images used by the chat integrations.
  • Method Summary

    Modifier and Type
    Method
    Description
    A url rendering the entity's head, used as the avatar on Discord and Telegram.
    A url rendering the entity's full body.
    getSkin(FEntity fPlayer)
    The encoded skin texture of an entity.
  • Method Details

    • getSkin

      String getSkin(FEntity fPlayer)
      The encoded skin texture of an entity.
      Parameters:
      fPlayer - the entity
      Returns:
      the texture value, or an empty string if it could not be resolved
    • getAvatarUrl

      String getAvatarUrl(FEntity entity)
      A url rendering the entity's head, used as the avatar on Discord and Telegram.
      Parameters:
      entity - the entity
      Returns:
      the avatar url
    • getBodyUrl

      String getBodyUrl(FEntity entity)
      A url rendering the entity's full body.
      Parameters:
      entity - the entity
      Returns:
      the body url