Record Class TexturedQuadGuiElementRenderState

java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.TexturedQuadGuiElementRenderState
Record Components:
pipeline -
textureSetup -
pose -
x1 -
y1 -
x2 -
y2 -
u1 -
u2 -
v1 -
v2 -
color -
scissorArea -
bounds -
All Implemented Interfaces:
GuiElementRenderState, SimpleGuiElementRenderState

@Environment(CLIENT) public record TexturedQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int x1, int y1, int x2, int y2, float u1, float u2, float v1, float v2, int color, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) extends Record implements SimpleGuiElementRenderState
Mappings:
Namespace Name
named net/minecraft/client/gui/render/state/TexturedQuadGuiElementRenderState
intermediary net/minecraft/class_11241
official gcr
named pipeline
intermediary comp_4055
official a
named textureSetup
intermediary comp_4056
official b
named pose
intermediary comp_4057
official c
named x1
intermediary comp_4058
official d
named y1
intermediary comp_4059
official e
named x2
intermediary comp_4060
official f
named y2
intermediary comp_4061
official g
named u1
intermediary comp_4063
official h
named u2
intermediary comp_4064
official i
named v1
intermediary comp_4065
official j
named v2
intermediary comp_4066
official k
named color
intermediary comp_4067
official l
named scissorArea
intermediary comp_4069
official m
named bounds
intermediary comp_4274
official n
  • Field Details

    • pipeline

      private final RenderPipeline pipeline
      The field for the pipeline record component.
    • textureSetup

      private final TextureSetup textureSetup
      The field for the textureSetup record component.
    • pose

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

      private final int x1
      The field for the x1 record component.
    • y1

      private final int y1
      The field for the y1 record component.
    • x2

      private final int x2
      The field for the x2 record component.
    • y2

      private final int y2
      The field for the y2 record component.
    • u1

      private final float u1
      The field for the u1 record component.
    • u2

      private final float u2
      The field for the u2 record component.
    • v1

      private final float v1
      The field for the v1 record component.
    • v2

      private final float v2
      The field for the v2 record component.
    • color

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

      @Nullable private final @Nullable ScreenRect scissorArea
      The field for the scissorArea record component.
    • bounds

      @Nullable private final @Nullable ScreenRect bounds
      The field for the bounds record component.
  • Constructor Details

    • TexturedQuadGuiElementRenderState

      public TexturedQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int x1, int y1, int x2, int y2, float u1, float u2, float v1, float v2, int color, @Nullable @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/render/state/TexturedQuadGuiElementRenderState;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lnet/minecraft/client/texture/TextureSetup;Lorg/joml/Matrix3x2f;IIIIFFFFILnet/minecraft/client/gui/ScreenRect;)V
      intermediary <init> Lnet/minecraft/class_11241;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lnet/minecraft/class_11231;Lorg/joml/Matrix3x2f;IIIIFFFFILnet/minecraft/class_8030;)V
      official <init> Lgcr;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lgcg;Lorg/joml/Matrix3x2f;IIIIFFFFILgcc;)V
    • TexturedQuadGuiElementRenderState

      public TexturedQuadGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, int int2, int int3, int int4, int int5, float float2, float float3, float float4, float float5, int int6, @Nullable @Nullable ScreenRect screenRect, @Nullable @Nullable ScreenRect screenRect2)
  • Method Details

    • setupVertices

      public void setupVertices(VertexConsumer vertices, float depth)
      Specified by:
      setupVertices in interface SimpleGuiElementRenderState
      Mappings:
      Namespace Name Mixin selector
      named setupVertices Lnet/minecraft/client/gui/render/state/SimpleGuiElementRenderState;setupVertices(Lnet/minecraft/client/render/VertexConsumer;F)V
      intermediary method_70917 Lnet/minecraft/class_11244;method_70917(Lnet/minecraft/class_4588;F)V
      official a Lgcv;a(Lfof;F)V
    • createBounds

      @Nullable private static @Nullable ScreenRect createBounds(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named createBounds Lnet/minecraft/client/gui/render/state/TexturedQuadGuiElementRenderState;createBounds(IIIILorg/joml/Matrix3x2f;Lnet/minecraft/client/gui/ScreenRect;)Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_71526 Lnet/minecraft/class_11241;method_71526(IIIILorg/joml/Matrix3x2f;Lnet/minecraft/class_8030;)Lnet/minecraft/class_8030;
      official a Lgcr;a(IIIILorg/joml/Matrix3x2f;Lgcc;)Lgcc;
    • 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.
    • pipeline

      public RenderPipeline pipeline()
      Returns the value of the pipeline record component.
      Specified by:
      pipeline in interface SimpleGuiElementRenderState
      Returns:
      the value of the pipeline record component
    • textureSetup

      public TextureSetup textureSetup()
      Returns the value of the textureSetup record component.
      Specified by:
      textureSetup in interface SimpleGuiElementRenderState
      Returns:
      the value of the textureSetup record component
    • pose

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

      public int x1()
      Returns the value of the x1 record component.
      Returns:
      the value of the x1 record component
    • y1

      public int y1()
      Returns the value of the y1 record component.
      Returns:
      the value of the y1 record component
    • x2

      public int x2()
      Returns the value of the x2 record component.
      Returns:
      the value of the x2 record component
    • y2

      public int y2()
      Returns the value of the y2 record component.
      Returns:
      the value of the y2 record component
    • u1

      public float u1()
      Returns the value of the u1 record component.
      Returns:
      the value of the u1 record component
    • u2

      public float u2()
      Returns the value of the u2 record component.
      Returns:
      the value of the u2 record component
    • v1

      public float v1()
      Returns the value of the v1 record component.
      Returns:
      the value of the v1 record component
    • v2

      public float v2()
      Returns the value of the v2 record component.
      Returns:
      the value of the v2 record component
    • color

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

      @Nullable public @Nullable ScreenRect scissorArea()
      Returns the value of the scissorArea record component.
      Specified by:
      scissorArea in interface SimpleGuiElementRenderState
      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 GuiElementRenderState
      Returns:
      the value of the bounds record component