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$UV
intermediary net/minecraft/class_783$class_10800
official gsv$b
named minU
intermediary comp_3735
official a
named minV
intermediary comp_3736
official b
named maxU
intermediary comp_3737
official c
named maxV
intermediary comp_3738
official d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.float
getUVertices
(int int2) float
getVVertices
(int int2) final int
hashCode()
Returns a hash code value for this object.float
maxU()
Returns the value of themaxU
record component.float
maxV()
Returns the value of themaxV
record component.float
minU()
Returns the value of theminU
record component.float
minV()
Returns the value of theminV
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
getUVertices
public float getUVertices(int int2) - Mappings:
Namespace Name Mixin selector named getUVertices
Lnet/minecraft/client/render/model/json/ModelElementFace$UV;getUVertices(I)F
intermediary method_67913
Lnet/minecraft/class_783$class_10800;method_67913(I)F
official a
Lgsv$b;a(I)F
-
getVVertices
public float getVVertices(int int2) - Mappings:
Namespace Name Mixin selector named getVVertices
Lnet/minecraft/client/render/model/json/ModelElementFace$UV;getVVertices(I)F
intermediary method_67914
Lnet/minecraft/class_783$class_10800;method_67914(I)F
official b
Lgsv$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 theminU
record component.- Returns:
- the value of the
minU
record component
-
minV
public float minV()Returns the value of theminV
record component.- Returns:
- the value of the
minV
record component
-
maxU
public float maxU()Returns the value of themaxU
record component.- Returns:
- the value of the
maxU
record component
-
maxV
public float maxV()Returns the value of themaxV
record component.- Returns:
- the value of the
maxV
record component
-