Record Class OrderedRenderCommandQueueImpl.TextCommand

java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.TextCommand
Record Components:
matricesEntry -
x -
y -
text -
dropShadow -
layerType -
lightCoords -
color -
backgroundColor -
outlineColor -
Enclosing class:
OrderedRenderCommandQueueImpl

@Environment(CLIENT) public static record OrderedRenderCommandQueueImpl.TextCommand(Matrix4f matricesEntry, float x, float y, OrderedText text, boolean dropShadow, TextRenderer.TextLayerType layerType, int lightCoords, int color, int backgroundColor, int outlineColor) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$TextCommand
intermediary net/minecraft/class_11661$class_11674
official hgz$m
named matricesEntry
intermediary comp_4525
official a
named x
intermediary comp_4526
official b
named y
intermediary comp_4527
official c
named text
intermediary comp_4528
official d
named dropShadow
intermediary comp_4529
official e
named layerType
intermediary comp_4530
official f
named lightCoords
intermediary comp_4531
official g
named color
intermediary comp_4532
official h
named backgroundColor
intermediary comp_4533
official i
named outlineColor
intermediary comp_4654
official j
  • 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 OrderedText text
      The field for the text record component.
    • dropShadow

      private final boolean dropShadow
      The field for the dropShadow record component.
    • layerType

      private final TextRenderer.TextLayerType layerType
      The field for the layerType 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.
    • outlineColor

      private final int outlineColor
      The field for the outlineColor record component.
  • Constructor Details

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

      public boolean dropShadow()
      Returns the value of the dropShadow record component.
      Returns:
      the value of the dropShadow record component
    • layerType

      public TextRenderer.TextLayerType layerType()
      Returns the value of the layerType record component.
      Returns:
      the value of the layerType 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
    • outlineColor

      public int outlineColor()
      Returns the value of the outlineColor record component.
      Returns:
      the value of the outlineColor record component