Record Class BedrockPersonaModel.Converted
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockPersonaModel.Converted
- Enclosing class:
BedrockPersonaModel
public static record BedrockPersonaModel.Converted(BufferedImage atlas, String geometry, String resourcePatch, List<net.raphimc.viabedrock.protocol.model.SkinData.AnimationData> animations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConverted(BufferedImage atlas, String geometry, String resourcePatch, List<net.raphimc.viabedrock.protocol.model.SkinData.AnimationData> animations) Creates an instance of aConvertedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<net.raphimc.viabedrock.protocol.model.SkinData.AnimationData> Returns the value of theanimationsrecord component.atlas()Returns the value of theatlasrecord 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.Returns the value of theresourcePatchrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Converted
public Converted(BufferedImage atlas, String geometry, String resourcePatch, List<net.raphimc.viabedrock.protocol.model.SkinData.AnimationData> animations) Creates an instance of aConvertedrecord class.- Parameters:
atlas- the value for theatlasrecord componentgeometry- the value for thegeometryrecord componentresourcePatch- the value for theresourcePatchrecord 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). -
atlas
Returns the value of theatlasrecord component.- Returns:
- the value of the
atlasrecord component
-
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
-
animations
Returns the value of theanimationsrecord component.- Returns:
- the value of the
animationsrecord component
-