Class Texture
java.lang.Object
org.geysermc.mcprotocollib.auth.texture.Texture
A texture contained within a profile.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Texture
Creates a new Texture instance.- Parameters:
url- URL of the texture.metadata- Metadata of the texture.
-
-
Method Details
-
getURL
Gets the URL of the texture.- Returns:
- The texture's URL.
-
getMetadata
Gets a metadata string from the texture.- Returns:
- The metadata value corresponding to the given key.
-
getModel
Gets the model of the texture.- Returns:
- The texture's model.
-
getHash
Gets the hash of the texture.- Returns:
- The texture's hash.
-
toString
-