Record Class TiledTexturedQuadGuiElementRenderState

java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.TiledTexturedQuadGuiElementRenderState
Record Components:
pipeline -
textureSetup -
pose -
tileWidth -
tileHeight -
x0 -
y0 -
x1 -
y1 -
u0 -
u1 -
v0 -
v1 -
color -
scissorArea -
bounds -
All Implemented Interfaces:
GuiElementRenderState, SimpleGuiElementRenderState

@Environment(CLIENT) public record TiledTexturedQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int tileWidth, int tileHeight, int x0, int y0, int x1, int y1, float u0, float u1, float v0, float v1, int color, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) extends Record implements SimpleGuiElementRenderState
Mappings:
Namespace Name
named net/minecraft/client/gui/render/state/TiledTexturedQuadGuiElementRenderState
intermediary net/minecraft/class_12035
official gkr
named pipeline
intermediary comp_4055
official a
named textureSetup
intermediary comp_4056
official b
named pose
intermediary comp_4880
official c
named tileWidth
intermediary comp_4881
official d
named tileHeight
intermediary comp_4882
official e
named x0
intermediary comp_4883
official f
named y0
intermediary comp_4884
official g
named x1
intermediary comp_4885
official h
named y1
intermediary comp_4886
official i
named u0
intermediary comp_4887
official j
named u1
intermediary comp_4888
official k
named v0
intermediary comp_4889
official l
named v1
intermediary comp_4890
official m
named color
intermediary comp_4891
official n
named scissorArea
intermediary comp_4069
official o
named bounds
intermediary comp_4274
official p
  • 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.
    • tileWidth

      private final int tileWidth
      The field for the tileWidth record component.
    • tileHeight

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

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

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

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

      private final float v1
      The field for the v1 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

    • TiledTexturedQuadGuiElementRenderState

      public TiledTexturedQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int tileWidth, int tileHeight, int x0, int y0, int x1, int y1, float u0, float u1, float v0, float v1, int color, @Nullable @Nullable ScreenRect scissorArea)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/render/state/TiledTexturedQuadGuiElementRenderState;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lnet/minecraft/client/texture/TextureSetup;Lorg/joml/Matrix3x2f;IIIIIIFFFFILnet/minecraft/client/gui/ScreenRect;)V
      intermediary <init> Lnet/minecraft/class_12035;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lnet/minecraft/class_11231;Lorg/joml/Matrix3x2f;IIIIIIFFFFILnet/minecraft/class_8030;)V
      official <init> Lgkr;<init>(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Lgjy;Lorg/joml/Matrix3x2f;IIIIIIFFFFILgju;)V
    • TiledTexturedQuadGuiElementRenderState

      public TiledTexturedQuadGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, int int2, int int3, int int4, int int5, int int6, int int7, float float2, float float3, float float4, float float5, int int8, @Nullable @Nullable ScreenRect screenRect, @Nullable @Nullable ScreenRect screenRect2)
  • 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 Lgkm;a(Lfud;)V
    • createBounds

      @Nullable private static @Nullable ScreenRect createBounds(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable @Nullable ScreenRect rect)
      Mappings:
      Namespace Name Mixin selector
      named createBounds Lnet/minecraft/client/gui/render/state/TiledTexturedQuadGuiElementRenderState;createBounds(IIIILorg/joml/Matrix3x2f;Lnet/minecraft/client/gui/ScreenRect;)Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_74708 Lnet/minecraft/class_12035;method_74708(IIIILorg/joml/Matrix3x2f;Lnet/minecraft/class_8030;)Lnet/minecraft/class_8030;
      official a Lgkr;a(IIIILorg/joml/Matrix3x2f;Lgju;)Lgju;
    • 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
    • tileWidth

      public int tileWidth()
      Returns the value of the tileWidth record component.
      Returns:
      the value of the tileWidth record component
    • tileHeight

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

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

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

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

      public float v1()
      Returns the value of the v1 record component.
      Returns:
      the value of the v1 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