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 Link icon

    Fields
    Modifier and Type
    Field
    Description
    private final float
    The field for the maxU record component.
    private final float
    The field for the maxV record component.
    private final float
    The field for the minU record component.
    private final float
    The field for the minV record component.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    UV(float float2, float float3, float float4, float float5)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    float
    getUVertices(int int2)
     
    float
    getVVertices(int int2)
     
    final int
    Returns a hash code value for this object.
    float
    Returns the value of the maxU record component.
    float
    Returns the value of the maxV record component.
    float
    Returns the value of the minU record component.
    float
    Returns the value of the minV record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object Link icon

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details Link icon

    • minU Link icon

      private final float minU
      The field for the minU record component.
    • minV Link icon

      private final float minV
      The field for the minV record component.
    • maxU Link icon

      private final float maxU
      The field for the maxU record component.
    • maxV Link icon

      private final float maxV
      The field for the maxV record component.
  • Constructor Details Link icon

    • UV Link icon

      public UV(float float2, float float3, float float4, float float5)
  • Method Details Link icon

    • getUVertices Link icon

      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 Link icon

      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 Link icon

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      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 '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • minU Link icon

      public float minU()
      Returns the value of the minU record component.
      Returns:
      the value of the minU record component
    • minV Link icon

      public float minV()
      Returns the value of the minV record component.
      Returns:
      the value of the minV record component
    • maxU Link icon

      public float maxU()
      Returns the value of the maxU record component.
      Returns:
      the value of the maxU record component
    • maxV Link icon

      public float maxV()
      Returns the value of the maxV record component.
      Returns:
      the value of the maxV record component