Class Skin


  • public final class Skin
    extends Object
    Represents a skin object
    • Constructor Detail

      • Skin

        public Skin​(@NotNull
                    @NotNull UUID owner,
                    @NotNull
                    @NotNull String texture,
                    @NotNull
                    @NotNull String signature)
    • Method Detail

      • getOwner

        @NotNull
        public @NotNull UUID getOwner()
        Returns the owner of this skin by data from the DataProvider set in the SkinsApi
        Returns:
        owner
      • getTexture

        @NotNull
        public @NotNull String getTexture()
        Returns a base64 encoded String, representing the skin and (if have) the cape of of the getOwner() by data from the DataProvider set in the SkinsApi
        Returns:
        texture
      • getSignature

        @NotNull
        public @NotNull String getSignature()
        Returns a base64 encoded String which represents signed data (signature, made by) using Yggdrasil's private key
        Returns:
        signature
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object