Record Class BedrockPlayerAttachables.Draw
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.render.BedrockPlayerAttachables.Draw
- Enclosing class:
BedrockPlayerAttachables
public static record BedrockPlayerAttachables.Draw(Map<String, org.joml.Matrix4f> deformations, Map<String, org.joml.Matrix4f> ownerBones, BedrockAttachableBindings.Resolved bindings, BedrockPlayerControllers.Surface selection, Map<String, BedrockBoneAnimation.Transform> pose)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDraw(Map<String, org.joml.Matrix4f> deformations, Map<String, org.joml.Matrix4f> ownerBones, BedrockAttachableBindings.Resolved bindings, BedrockPlayerControllers.Surface selection, Map<String, BedrockBoneAnimation.Transform> pose) Creates an instance of aDrawrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbindings()Returns the value of thebindingsrecord component.Returns the value of thedeformationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theownerBonesrecord component.pose()Returns the value of theposerecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Draw
public Draw(Map<String, org.joml.Matrix4f> deformations, Map<String, org.joml.Matrix4f> ownerBones, BedrockAttachableBindings.Resolved bindings, BedrockPlayerControllers.Surface selection, Map<String, BedrockBoneAnimation.Transform> pose) Creates an instance of aDrawrecord class.- Parameters:
deformations- the value for thedeformationsrecord componentownerBones- the value for theownerBonesrecord componentbindings- the value for thebindingsrecord componentselection- the value for theselectionrecord componentpose- the value for theposerecord 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). -
deformations
-
ownerBones
-
bindings
Returns the value of thebindingsrecord component.- Returns:
- the value of the
bindingsrecord component
-
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-