Class Skin


  • public final class Skin
    extends java.lang.Object
    Represents a skin object
    • Constructor Summary

      Constructors 
      Constructor Description
      Skin​(@NotNull java.util.UUID owner, @NotNull java.lang.String texture, @NotNull java.lang.String signature)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      @NotNull java.util.UUID getOwner()
      Returns the owner of this skin by data from the Mojang API
      @NotNull java.lang.String getSignature()
      Returns a base64 encoded String which represents signed data (signature, made by) using Yggdrasil's private key
      @NotNull java.lang.String getTexture()
      Returns a base64 encoded String, representing the skin and (if have) the cape of of the getOwner() by data from the Mojang API
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Skin

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

      • getOwner

        @NotNull
        public @NotNull java.util.UUID getOwner()
        Returns the owner of this skin by data from the Mojang API
        Returns:
        owner
      • getTexture

        @NotNull
        public @NotNull java.lang.String getTexture()
        Returns a base64 encoded String, representing the skin and (if have) the cape of of the getOwner() by data from the Mojang API
        Returns:
        texture
      • getSignature

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object