Record Class BedrockAppearanceStore.Persona
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockAppearanceStore.Persona
- Enclosing class:
BedrockAppearanceStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.raphimc.viabedrock.protocol.model.SkinData.AnimationData> Returns the value of theanimationsrecord component.armSize()Returns the value of thearmSizerecord component.final booleanIndicates whether some other object is "equal to" this one.geometry()Returns the value of thegeometryrecord component.final inthashCode()Returns a hash code value for this object.profile()Returns the value of theprofilerecord component.Returns the value of theprofileHashrecord component.Returns the value of theresourcePatchrecord component.Returns the value of theskinColorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Persona
public Persona(String geometry, String resourcePatch, String profileHash, String armSize, String skinColor, BedrockPersonaProfile profile, List<net.raphimc.viabedrock.protocol.model.SkinData.AnimationData> animations) Creates an instance of aPersonarecord class.- Parameters:
geometry- the value for thegeometryrecord componentresourcePatch- the value for theresourcePatchrecord componentprofileHash- the value for theprofileHashrecord componentarmSize- the value for thearmSizerecord componentskinColor- the value for theskinColorrecord componentprofile- the value for theprofilerecord componentanimations- the value for theanimationsrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
geometry
Returns the value of thegeometryrecord component.- Returns:
- the value of the
geometryrecord component
-
resourcePatch
Returns the value of theresourcePatchrecord component.- Returns:
- the value of the
resourcePatchrecord component
-
profileHash
Returns the value of theprofileHashrecord component.- Returns:
- the value of the
profileHashrecord component
-
armSize
Returns the value of thearmSizerecord component.- Returns:
- the value of the
armSizerecord component
-
skinColor
Returns the value of theskinColorrecord component.- Returns:
- the value of the
skinColorrecord component
-
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
animations
Returns the value of theanimationsrecord component.- Returns:
- the value of the
animationsrecord component
-