Package org.geysermc.geyser.skin
Record Class SkinProvider.Cape
java.lang.Object
java.lang.Record
org.geysermc.geyser.skin.SkinProvider.Cape
- Enclosing class:
- SkinProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]capeData()Returns the value of thecapeDatarecord component.capeId()Returns the value of thecapeIdrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfailed()Returns the value of thefailedrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of therequestedOnrecord component.Returns the value of thetextureUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Cape
Creates an instance of aCaperecord class.- Parameters:
textureUrl- the value for thetextureUrlrecord componentcapeId- the value for thecapeIdrecord componentcapeData- the value for thecapeDatarecord componentrequestedOn- the value for therequestedOnrecord componentfailed- the value for thefailedrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
textureUrl
Returns the value of thetextureUrlrecord component.- Returns:
- the value of the
textureUrlrecord component
-
capeId
Returns the value of thecapeIdrecord component.- Returns:
- the value of the
capeIdrecord component
-
capeData
public byte[] capeData()Returns the value of thecapeDatarecord component.- Returns:
- the value of the
capeDatarecord component
-
requestedOn
public long requestedOn()Returns the value of therequestedOnrecord component.- Returns:
- the value of the
requestedOnrecord component
-
failed
public boolean failed()Returns the value of thefailedrecord component.- Returns:
- the value of the
failedrecord component
-