Record Class ColoredQuadGuiElementRenderState

java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.ColoredQuadGuiElementRenderState
Record Components:
pipeline -
textureSetup -
pose -
x0 -
y0 -
x1 -
y1 -
col1 -
col2 -
scissorArea -
bounds -
All Implemented Interfaces:
GuiElementRenderState, SimpleGuiElementRenderState

@Environment(CLIENT) public record ColoredQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2fc pose, int x0, int y0, int x1, int y1, int col1, int col2, ScreenRect scissorArea, ScreenRect bounds) extends Record implements SimpleGuiElementRenderState
Mappings:
Namespace Name
named net/minecraft/client/gui/render/state/ColoredQuadGuiElementRenderState
intermediary net/minecraft/class_11242
official gou
named pipeline
intermediary comp_4055
official a
named textureSetup
intermediary comp_4056
official b
named pose
intermediary comp_4070
official c
named x0
intermediary comp_4071
official d
named y0
intermediary comp_4072
official e
named x1
intermediary comp_4073
official f
named y1
intermediary comp_4074
official g
named col1
intermediary comp_4075
official h
named col2
intermediary comp_4076
official i
named scissorArea
intermediary comp_4069
official j
named bounds
intermediary comp_4274
official k
  • 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 Matrix3x2fc pose
      The field for the pose record component.
    • x0

      private final int x0
      The field for the x0 record component.
    • y0

      private final int y0
      The field for the y0 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.
    • col1

      private final int col1
      The field for the col1 record component.
    • col2

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

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

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

    • ColoredQuadGuiElementRenderState

      public ColoredQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2fc pose, int x0, int y0, int x1, int y1, int col1, int col2, @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/render/state/ColoredQuadGuiElementRenderState;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lnet/minecraft/client/texture/TextureSetup;Lorg/joml/Matrix3x2fc;IIIIIILnet/minecraft/client/gui/ScreenRect;)V
      intermediary <init> Lnet/minecraft/class_11242;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lnet/minecraft/class_11231;Lorg/joml/Matrix3x2fc;IIIIIILnet/minecraft/class_8030;)V
      official <init> Lgou;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lgoi;Lorg/joml/Matrix3x2fc;IIIIIILgoe;)V
    • ColoredQuadGuiElementRenderState

      public ColoredQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2fc pose, int x0, int y0, int x1, int y1, int col1, int col2, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds)
      Creates an instance of a ColoredQuadGuiElementRenderState record class.
      Parameters:
      pipeline - the value for the pipeline record component
      textureSetup - the value for the textureSetup record component
      pose - the value for the pose record component
      x0 - the value for the x0 record component
      y0 - the value for the y0 record component
      x1 - the value for the x1 record component
      y1 - the value for the y1 record component
      col1 - the value for the col1 record component
      col2 - the value for the col2 record component
      scissorArea - the value for the scissorArea record component
      bounds - the value for the bounds record component
  • Method Details

    • setupVertices

      public void setupVertices(VertexConsumer vertices)
      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;)V
      intermediary method_70917 Lnet/minecraft/class_11244;method_70917(Lnet/minecraft/class_4588;)V
      official a Lgow;a(Lfyh;)V
    • createBounds

      private static @Nullable ScreenRect createBounds(int x0, int y0, int x1, int y1, Matrix3x2fc pose, @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named createBounds Lnet/minecraft/client/gui/render/state/ColoredQuadGuiElementRenderState;createBounds(IIIILorg/joml/Matrix3x2fc;Lnet/minecraft/client/gui/ScreenRect;)Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_71527 Lnet/minecraft/class_11242;method_71527(IIIILorg/joml/Matrix3x2fc;Lnet/minecraft/class_8030;)Lnet/minecraft/class_8030;
      official a Lgou;a(IIIILorg/joml/Matrix3x2fc;Lgoe;)Lgoe;
    • 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 Matrix3x2fc pose()
      Returns the value of the pose record component.
      Returns:
      the value of the pose record component
    • x0

      public int x0()
      Returns the value of the x0 record component.
      Returns:
      the value of the x0 record component
    • y0

      public int y0()
      Returns the value of the y0 record component.
      Returns:
      the value of the y0 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
    • col1

      public int col1()
      Returns the value of the col1 record component.
      Returns:
      the value of the col1 record component
    • col2

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

      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

      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