Package com.mrivanplays.skins.api
Class Skin
- java.lang.Object
-
- com.mrivanplays.skins.api.Skin
-
public final class Skin extends Object
Represents a skin object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull UUID
getOwner()
Returns the owner of this skin by data from theDataProvider
set in theSkinsApi
@NotNull String
getSignature()
Returns a base64 encodedString
which represents signed data (signature, made by) using Yggdrasil's private key@NotNull String
getTexture()
Returns a base64 encodedString
, representing the skin and (if have) the cape of of thegetOwner()
by data from theDataProvider
set in theSkinsApi
int
hashCode()
-
-
-
Method Detail
-
getOwner
@NotNull public @NotNull UUID getOwner()
Returns the owner of this skin by data from theDataProvider
set in theSkinsApi
- Returns:
- owner
-
getTexture
@NotNull public @NotNull String getTexture()
Returns a base64 encodedString
, representing the skin and (if have) the cape of of thegetOwner()
by data from theDataProvider
set in theSkinsApi
- Returns:
- texture
-
getSignature
@NotNull public @NotNull String getSignature()
Returns a base64 encodedString
which represents signed data (signature, made by) using Yggdrasil's private key- Returns:
- signature
-
-