Record Class BedrockPlayerControllers.UvAnimation
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockPlayerControllers.UvAnimation
- Enclosing class:
BedrockPlayerControllers
-
Constructor Summary
ConstructorsConstructorDescriptionUvAnimation(String offsetX, String offsetY, String scaleX, String scaleY) Creates an instance of aUvAnimationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.offsetX()Returns the value of theoffsetXrecord component.offsetY()Returns the value of theoffsetYrecord component.scaleX()Returns the value of thescaleXrecord component.scaleY()Returns the value of thescaleYrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UvAnimation
Creates an instance of aUvAnimationrecord class.- Parameters:
offsetX- the value for theoffsetXrecord componentoffsetY- the value for theoffsetYrecord componentscaleX- the value for thescaleXrecord componentscaleY- the value for thescaleYrecord 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). -
offsetX
Returns the value of theoffsetXrecord component.- Returns:
- the value of the
offsetXrecord component
-
offsetY
Returns the value of theoffsetYrecord component.- Returns:
- the value of the
offsetYrecord component
-
scaleX
Returns the value of thescaleXrecord component.- Returns:
- the value of the
scaleXrecord component
-
scaleY
Returns the value of thescaleYrecord component.- Returns:
- the value of the
scaleYrecord component
-