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 Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable ScreenRect
The field for thebounds
record component.private final int
The field for thecolor
record component.private final RenderPipeline
The field for thepipeline
record component.private final Matrix3x2f
The field for thepose
record component.private final @Nullable ScreenRect
The field for thescissorArea
record component.private final TextureSetup
The field for thetextureSetup
record component.private final float
The field for theu1
record component.private final float
The field for theu2
record component.private final float
The field for thev1
record component.private final float
The field for thev2
record component.private final int
The field for thex1
record component.private final int
The field for thex2
record component.private final int
The field for they1
record component.private final int
The field for they2
record component. -
Constructor Summary
ConstructorsConstructorDescriptionTexturedQuadGuiElementRenderState
(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) 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 ScreenRect screenRect, @Nullable ScreenRect screenRect2) -
Method Summary
Modifier and TypeMethodDescriptionbounds()
Returns the value of thebounds
record component.int
color()
Returns the value of thecolor
record component.private static @Nullable ScreenRect
createBounds
(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect scissorArea) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.pipeline()
Returns the value of thepipeline
record component.pose()
Returns the value of thepose
record component.Returns the value of thescissorArea
record component.void
setupVertices
(VertexConsumer vertices, float depth) Returns the value of thetextureSetup
record component.final String
toString()
Returns a string representation of this record class.float
u1()
Returns the value of theu1
record component.float
u2()
Returns the value of theu2
record component.float
v1()
Returns the value of thev1
record component.float
v2()
Returns the value of thev2
record component.int
x1()
Returns the value of thex1
record component.int
x2()
Returns the value of thex2
record component.int
y1()
Returns the value of they1
record component.int
y2()
Returns the value of they2
record component.
-
Field Details
-
pipeline
The field for thepipeline
record component. -
textureSetup
The field for thetextureSetup
record component. -
pose
The field for thepose
record component. -
x1
private final int x1The field for thex1
record component. -
y1
private final int y1The field for they1
record component. -
x2
private final int x2The field for thex2
record component. -
y2
private final int y2The field for they2
record component. -
u1
private final float u1The field for theu1
record component. -
u2
private final float u2The field for theu2
record component. -
v1
private final float v1The field for thev1
record component. -
v2
private final float v2The field for thev2
record component. -
color
private final int colorThe field for thecolor
record component. -
scissorArea
The field for thescissorArea
record component. -
bounds
The field for thebounds
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
- Specified by:
setupVertices
in interfaceSimpleGuiElementRenderState
- 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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
pipeline
Returns the value of thepipeline
record component.- Specified by:
pipeline
in interfaceSimpleGuiElementRenderState
- Returns:
- the value of the
pipeline
record component
-
textureSetup
Returns the value of thetextureSetup
record component.- Specified by:
textureSetup
in interfaceSimpleGuiElementRenderState
- Returns:
- the value of the
textureSetup
record component
-
pose
Returns the value of thepose
record component.- Returns:
- the value of the
pose
record component
-
x1
public int x1()Returns the value of thex1
record component.- Returns:
- the value of the
x1
record component
-
y1
public int y1()Returns the value of they1
record component.- Returns:
- the value of the
y1
record component
-
x2
public int x2()Returns the value of thex2
record component.- Returns:
- the value of the
x2
record component
-
y2
public int y2()Returns the value of they2
record component.- Returns:
- the value of the
y2
record component
-
u1
public float u1()Returns the value of theu1
record component.- Returns:
- the value of the
u1
record component
-
u2
public float u2()Returns the value of theu2
record component.- Returns:
- the value of the
u2
record component
-
v1
public float v1()Returns the value of thev1
record component.- Returns:
- the value of the
v1
record component
-
v2
public float v2()Returns the value of thev2
record component.- Returns:
- the value of the
v2
record component
-
color
public int color()Returns the value of thecolor
record component.- Returns:
- the value of the
color
record component
-
scissorArea
Returns the value of thescissorArea
record component.- Specified by:
scissorArea
in interfaceSimpleGuiElementRenderState
- Returns:
- the value of the
scissorArea
record component
-
bounds
Returns the value of thebounds
record component.- Specified by:
bounds
in interfaceGuiElementRenderState
- Returns:
- the value of the
bounds
record component
-