Record Class ModelPart.Vertex

java.lang.Object
java.lang.Record
net.minecraft.client.model.ModelPart.Vertex
Record Components:
x -
y -
z -
u -
v -
Enclosing class:
ModelPart

@Environment(CLIENT) public static record ModelPart.Vertex(float x, float y, float z, float u, float v) extends Record
Mappings:
Namespace Name
named net/minecraft/client/model/ModelPart$Vertex
intermediary net/minecraft/class_630$class_618
official gyo$c
named x
intermediary comp_4804
official b
named y
intermediary comp_4805
official c
named z
intermediary comp_4806
official d
named u
intermediary comp_3187
official e
named v
intermediary comp_3188
official f
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
    private final float
    The field for the u record component.
    private final float
    The field for the v record component.
    private final float
    The field for the x record component.
    private final float
    The field for the y record component.
    private final float
    The field for the z record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Vertex(float float2, float float3, float float4, float float5, float float6)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    remap(float u, float v)
     
    final String
    Returns a string representation of this record class.
    float
    u()
    Returns the value of the u record component.
    float
    v()
    Returns the value of the v record component.
    float
     
    float
     
    float
     
    float
    x()
    Returns the value of the x record component.
    float
    y()
    Returns the value of the y record component.
    float
    z()
    Returns the value of the z record component.

    Methods inherited from class java.lang.Object

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

    • x

      private final float x
      The field for the x record component.
    • y

      private final float y
      The field for the y record component.
    • z

      private final float z
      The field for the z record component.
    • u

      private final float u
      The field for the u record component.
    • v

      private final float v
      The field for the v record component.
    • SCALE_FACTOR

      public static final float SCALE_FACTOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SCALE_FACTOR Lnet/minecraft/client/model/ModelPart$Vertex;SCALE_FACTOR:F
      intermediary field_62594 Lnet/minecraft/class_630$class_618;field_62594:F
      official a Lgyo$c;a:F
  • Constructor Details

    • Vertex

      public Vertex(float float2, float float3, float float4, float float5, float float6)
  • Method Details

    • remap

      public ModelPart.Vertex remap(float u, float v)
      Mappings:
      Namespace Name Mixin selector
      named remap Lnet/minecraft/client/model/ModelPart$Vertex;remap(FF)Lnet/minecraft/client/model/ModelPart$Vertex;
      intermediary method_2837 Lnet/minecraft/class_630$class_618;method_2837(FF)Lnet/minecraft/class_630$class_618;
      official a Lgyo$c;a(FF)Lgyo$c;
    • worldX

      public float worldX()
      Mappings:
      Namespace Name Mixin selector
      named worldX Lnet/minecraft/client/model/ModelPart$Vertex;worldX()F
      intermediary method_74250 Lnet/minecraft/class_630$class_618;method_74250()F
      official a Lgyo$c;a()F
    • worldY

      public float worldY()
      Mappings:
      Namespace Name Mixin selector
      named worldY Lnet/minecraft/client/model/ModelPart$Vertex;worldY()F
      intermediary method_74251 Lnet/minecraft/class_630$class_618;method_74251()F
      official b Lgyo$c;b()F
    • worldZ

      public float worldZ()
      Mappings:
      Namespace Name Mixin selector
      named worldZ Lnet/minecraft/client/model/ModelPart$Vertex;worldZ()F
      intermediary method_74252 Lnet/minecraft/class_630$class_618;method_74252()F
      official c Lgyo$c;c()F
    • toString

      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

      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

      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.
    • x

      public float x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public float y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • z

      public float z()
      Returns the value of the z record component.
      Returns:
      the value of the z record component
    • u

      public float u()
      Returns the value of the u record component.
      Returns:
      the value of the u record component
    • v

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