Record Class ModelElementFace.UV
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.ModelElementFace.UV
- Record Components:
minU-minV-maxU-maxV-
- Enclosing class:
ModelElementFace
@Environment(CLIENT)
public static record ModelElementFace.UV(float minU, float minV, float maxU, float maxV)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/ModelElementFace$UVintermediary net/minecraft/class_783$class_10800official gsv$bnamed minUintermediary comp_3735official anamed minVintermediary comp_3736official bnamed maxUintermediary comp_3737official cnamed maxVintermediary comp_3738official d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.floatgetUVertices(int int2) floatgetVVertices(int int2) final inthashCode()Returns a hash code value for this object.floatmaxU()Returns the value of themaxUrecord component.floatmaxV()Returns the value of themaxVrecord component.floatminU()Returns the value of theminUrecord component.floatminV()Returns the value of theminVrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
UV
public UV(float float2, float float3, float float4, float float5)
-
-
Method Details
-
getUVertices
public float getUVertices(int int2) - Mappings:
Namespace Name Mixin selector named getUVerticesLnet/minecraft/client/render/model/json/ModelElementFace$UV;getUVertices(I)Fintermediary method_67913Lnet/minecraft/class_783$class_10800;method_67913(I)Fofficial aLgsv$b;a(I)F
-
getVVertices
public float getVVertices(int int2) - Mappings:
Namespace Name Mixin selector named getVVerticesLnet/minecraft/client/render/model/json/ModelElementFace$UV;getVVertices(I)Fintermediary method_67914Lnet/minecraft/class_783$class_10800;method_67914(I)Fofficial bLgsv$b;b(I)F
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
minU
public float minU()Returns the value of theminUrecord component.- Returns:
- the value of the
minUrecord component
-
minV
public float minV()Returns the value of theminVrecord component.- Returns:
- the value of the
minVrecord component
-
maxU
public float maxU()Returns the value of themaxUrecord component.- Returns:
- the value of the
maxUrecord component
-
maxV
public float maxV()Returns the value of themaxVrecord component.- Returns:
- the value of the
maxVrecord component
-