Class PlayerSkinTexture

java.lang.Object
de.saibotk.jmaw.PlayerSkinTexture

public class PlayerSkinTexture extends Object
This models the players skin texture object found in PlayerTexturesProperty.getSkin().
Since:
1.0
  • Constructor Details

    • PlayerSkinTexture

      public PlayerSkinTexture()
  • Method Details

    • getUrl

      public String getUrl()
      Returns the url to the skin texture.
      Returns:
      the skins url.
      Since:
      1.0
    • getMetadata

      public Optional<SkinMetadata> getMetadata()
      Returns the SkinMetadata if there is one. Usually this is only the case where the slim model was used (Alex style), otherwise it will be omitted (null will be returned).
      Returns:
      an instance of SkinMetadata or null if the response did not include any information.
      Since:
      1.0