Record Class BedrockCharacterProfiles.Slot
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockCharacterProfiles.Slot
- Enclosing class:
BedrockCharacterProfiles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarm()Returns the value of thearmrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intnumber()Returns the value of thenumberrecord component.booleanoccupied()pieceIds()Returns the value of thepieceIdsrecord component.Returns the value of theprofileHashrecord component.Returns the value of theskinColorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Slot
Creates an instance of aSlotrecord class.- Parameters:
number- the value for thenumberrecord componentarm- the value for thearmrecord componentskinColor- the value for theskinColorrecord componentpieceIds- the value for thepieceIdsrecord componentprofileHash- the value for theprofileHashrecord component
-
-
Method Details
-
occupied
public boolean occupied() -
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
number
public int number()Returns the value of thenumberrecord component.- Returns:
- the value of the
numberrecord component
-
arm
Returns the value of thearmrecord component.- Returns:
- the value of the
armrecord component
-
skinColor
Returns the value of theskinColorrecord component.- Returns:
- the value of the
skinColorrecord component
-
pieceIds
-
profileHash
Returns the value of theprofileHashrecord component.- Returns:
- the value of the
profileHashrecord component
-