Record Class TextGuiElementRenderState

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

@Environment(CLIENT) public record TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f pose, int x, int y, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) extends Record implements ElementRenderState
Mappings:
Namespace Name
named net/minecraft/client/gui/render/state/TextGuiElementRenderState
intermediary net/minecraft/class_11247
official gat
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
named bounds
intermediary comp_4274
official f
  • Field Details

  • Constructor Details

    • TextGuiElementRenderState

      public TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f pose, int x, int y, @Nullable @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/render/state/TextGuiElementRenderState;<init>(Lnet/minecraft/client/gui/render/state/TextRenderState;Lorg/joml/Matrix3x2f;IILnet/minecraft/client/gui/ScreenRect;)V
      intermediary <init> Lnet/minecraft/class_11247;<init>(Lnet/minecraft/class_11248;Lorg/joml/Matrix3x2f;IILnet/minecraft/class_8030;)V
      official <init> Lgat;<init>(Lgav;Lorg/joml/Matrix3x2f;IILfzz;)V
    • TextGuiElementRenderState

      public TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @Nullable @Nullable ScreenRect screenRect, @Nullable @Nullable ScreenRect screenRect2)
  • Method Details

    • createBounds

      @Nullable public static @Nullable ScreenRect createBounds(int x, int y, TextRenderState textRenderState, Matrix3x2f pose, @Nullable @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named createBounds Lnet/minecraft/client/gui/render/state/TextGuiElementRenderState;createBounds(IILnet/minecraft/client/gui/render/state/TextRenderState;Lorg/joml/Matrix3x2f;Lnet/minecraft/client/gui/ScreenRect;)Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_71534 Lnet/minecraft/class_11247;method_71534(IILnet/minecraft/class_11248;Lorg/joml/Matrix3x2f;Lnet/minecraft/class_8030;)Lnet/minecraft/class_8030;
      official a Lgat;a(IILgav;Lorg/joml/Matrix3x2f;Lfzz;)Lfzz;
    • 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
    • bounds

      @Nullable public @Nullable ScreenRect bounds()
      Returns the value of the bounds record component.
      Specified by:
      bounds in interface ElementRenderState
      Returns:
      the value of the bounds record component