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 booleanequals(Object o)@NotNull UUIDgetOwner()Returns the owner of this skin by data from theDataProviderset in theSkinsApi@NotNull StringgetSignature()Returns a base64 encodedStringwhich represents signed data (signature, made by) using Yggdrasil's private key@NotNull StringgetTexture()Returns a base64 encodedString, representing the skin and (if have) the cape of of thegetOwner()by data from theDataProviderset in theSkinsApiinthashCode()
-
-
-
Method Detail
-
getOwner
@NotNull public @NotNull UUID getOwner()
Returns the owner of this skin by data from theDataProviderset 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 theDataProviderset in theSkinsApi- Returns:
- texture
-
getSignature
@NotNull public @NotNull String getSignature()
Returns a base64 encodedStringwhich represents signed data (signature, made by) using Yggdrasil's private key- Returns:
- signature
-
-