Record Class OrderedRenderCommandQueueImpl.LabelCommand

java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.LabelCommand
Record Components:
matricesEntry -
x -
y -
text -
lightCoords -
color -
backgroundColor -
distanceToCameraSq -
Enclosing class:
OrderedRenderCommandQueueImpl

@Environment(CLIENT) public static record OrderedRenderCommandQueueImpl.LabelCommand(Matrix4f matricesEntry, float x, float y, Text text, int lightCoords, int color, int backgroundColor, double distanceToCameraSq) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$LabelCommand
intermediary net/minecraft/class_11661$class_11672
official hgz$k
named matricesEntry
intermediary comp_4514
official a
named x
intermediary comp_4515
official b
named y
intermediary comp_4516
official c
named text
intermediary comp_4517
official d
named lightCoords
intermediary comp_4518
official e
named color
intermediary comp_4519
official f
named backgroundColor
intermediary comp_4520
official g
named distanceToCameraSq
intermediary comp_4521
official h
  • Field Details

    • matricesEntry

      private final Matrix4f matricesEntry
      The field for the matricesEntry record component.
    • x

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

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

      private final Text text
      The field for the text record component.
    • lightCoords

      private final int lightCoords
      The field for the lightCoords record component.
    • color

      private final int color
      The field for the color record component.
    • backgroundColor

      private final int backgroundColor
      The field for the backgroundColor record component.
    • distanceToCameraSq

      private final double distanceToCameraSq
      The field for the distanceToCameraSq record component.
  • Constructor Details

    • LabelCommand

      public LabelCommand(Matrix4f matrix4f, float float2, float float3, Text text, int int2, int int3, int int4, double double2)
  • Method Details

    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • matricesEntry

      public Matrix4f matricesEntry()
      Returns the value of the matricesEntry record component.
      Returns:
      the value of the matricesEntry record component
    • 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
    • text

      public Text text()
      Returns the value of the text record component.
      Returns:
      the value of the text record component
    • lightCoords

      public int lightCoords()
      Returns the value of the lightCoords record component.
      Returns:
      the value of the lightCoords record component
    • color

      public int color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component
    • backgroundColor

      public int backgroundColor()
      Returns the value of the backgroundColor record component.
      Returns:
      the value of the backgroundColor record component
    • distanceToCameraSq

      public double distanceToCameraSq()
      Returns the value of the distanceToCameraSq record component.
      Returns:
      the value of the distanceToCameraSq record component