Record Class BedrockPlayerControllers.Uv
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockPlayerControllers.Uv
- Enclosing class:
BedrockPlayerControllers
public static record BedrockPlayerControllers.Uv(float offsetX, float offsetY, float scaleX, float scaleY)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUv(float offsetX, float offsetY, float scaleX, float scaleY) Creates an instance of aUvrecord 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.floatoffsetX()Returns the value of theoffsetXrecord component.floatoffsetY()Returns the value of theoffsetYrecord component.floatscaleX()Returns the value of thescaleXrecord component.floatscaleY()Returns the value of thescaleYrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
IDENTITY
-
-
Constructor Details
-
Uv
public Uv(float offsetX, float offsetY, float scaleX, float scaleY) Creates an instance of aUvrecord 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 with thecomparemethod from their corresponding wrapper classes. -
offsetX
public float offsetX()Returns the value of theoffsetXrecord component.- Returns:
- the value of the
offsetXrecord component
-
offsetY
public float offsetY()Returns the value of theoffsetYrecord component.- Returns:
- the value of the
offsetYrecord component
-
scaleX
public float scaleX()Returns the value of thescaleXrecord component.- Returns:
- the value of the
scaleXrecord component
-
scaleY
public float scaleY()Returns the value of thescaleYrecord component.- Returns:
- the value of the
scaleYrecord component
-