Record Class TextGuiElementRenderState

java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.TextGuiElementRenderState
Record Components:
textRenderState -
pose -
x -
y -
scissorArea -

@Environment(CLIENT) public record TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f pose, int x, int y, @Nullable ScreenRect scissorArea) extends Record
Mappings:
Namespace Name
named net/minecraft/client/gui/render/state/TextGuiElementRenderState
intermediary net/minecraft/class_11247
official fzu
named textRenderState
intermediary comp_4098
official a
named pose
intermediary comp_4099
official b
named x
intermediary comp_4100
official c
named y
intermediary comp_4101
official d
named scissorArea
intermediary comp_4108
official e
  • Field Details

    • textRenderState

      private final TextRenderState textRenderState
      The field for the textRenderState record component.
    • pose

      private final Matrix3x2f pose
      The field for the pose record component.
    • x

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

      private final int y
      The field for the y record component.
    • scissorArea

      @Nullable private final @Nullable ScreenRect scissorArea
      The field for the scissorArea 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.
    • textRenderState

      public TextRenderState textRenderState()
      Returns the value of the textRenderState record component.
      Returns:
      the value of the textRenderState record component
    • pose

      public Matrix3x2f pose()
      Returns the value of the pose record component.
      Returns:
      the value of the pose record component
    • x

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

      public int y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • scissorArea

      @Nullable public @Nullable ScreenRect scissorArea()
      Returns the value of the scissorArea record component.
      Returns:
      the value of the scissorArea record component