Record Class GlyphGuiElementRenderState
java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.GlyphGuiElementRenderState
- Record Components:
pipeline-textureSetup-pose-x1-y1-x2-y2-shearY1-shearY2-u1-u2-v1-v2-color-packedLightCoords-scissorArea-
- All Implemented Interfaces:
ElementRenderState,SimpleGuiElementRenderState
@Environment(CLIENT)
public record GlyphGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, float x1, float y1, float x2, float y2, float shearY1, float shearY2, float u1, float u2, float v1, float v2, int color, int packedLightCoords, @Nullable ScreenRect scissorArea)
extends Record
implements SimpleGuiElementRenderState
- Mappings:
Namespace Name named net/minecraft/client/gui/render/state/GlyphGuiElementRenderStateintermediary net/minecraft/class_11243official gapnamed pipelineintermediary comp_4055official anamed textureSetupintermediary comp_4056official bnamed poseintermediary comp_4077official cnamed x1intermediary comp_4078official dnamed y1intermediary comp_4079official enamed x2intermediary comp_4080official fnamed y2intermediary comp_4081official gnamed shearY1intermediary comp_4082official hnamed shearY2intermediary comp_4083official inamed u1intermediary comp_4084official jnamed u2intermediary comp_4085official knamed v1intermediary comp_4086official lnamed v2intermediary comp_4087official mnamed colorintermediary comp_4088official nnamed packedLightCoordsintermediary comp_4089official onamed scissorAreaintermediary comp_4069official p
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thecolorrecord component.private final intThe field for thepackedLightCoordsrecord component.private final RenderPipelineThe field for thepipelinerecord component.private final Matrix3x2fThe field for theposerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final floatThe field for theshearY1record component.private final floatThe field for theshearY2record component.private final TextureSetupThe field for thetextureSetuprecord component.private final floatThe field for theu1record component.private final floatThe field for theu2record component.private final floatThe field for thev1record component.private final floatThe field for thev2record component.private final floatThe field for thex1record component.private final floatThe field for thex2record component.private final floatThe field for they1record component.private final floatThe field for they2record component. -
Constructor Summary
ConstructorsConstructorDescriptionGlyphGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, int int2, int int3, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionbounds()intcolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepackedLightCoordsrecord component.pipeline()Returns the value of thepipelinerecord component.pose()Returns the value of theposerecord component.Returns the value of thescissorArearecord component.voidsetupVertices(VertexConsumer vertices, float depth) floatshearY1()Returns the value of theshearY1record component.floatshearY2()Returns the value of theshearY2record component.Returns the value of thetextureSetuprecord component.final StringtoString()Returns a string representation of this record class.floatu1()Returns the value of theu1record component.floatu2()Returns the value of theu2record component.floatv1()Returns the value of thev1record component.floatv2()Returns the value of thev2record component.floatx1()Returns the value of thex1record component.floatx2()Returns the value of thex2record component.floaty1()Returns the value of they1record component.floaty2()Returns the value of they2record component.
-
Field Details
-
pipeline
The field for thepipelinerecord component. -
textureSetup
The field for thetextureSetuprecord component. -
pose
The field for theposerecord component. -
x1
private final float x1The field for thex1record component. -
y1
private final float y1The field for they1record component. -
x2
private final float x2The field for thex2record component. -
y2
private final float y2The field for they2record component. -
shearY1
private final float shearY1The field for theshearY1record component. -
shearY2
private final float shearY2The field for theshearY2record component. -
u1
private final float u1The field for theu1record component. -
u2
private final float u2The field for theu2record component. -
v1
private final float v1The field for thev1record component. -
v2
private final float v2The field for thev2record component. -
color
private final int colorThe field for thecolorrecord component. -
packedLightCoords
private final int packedLightCoordsThe field for thepackedLightCoordsrecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
GlyphGuiElementRenderState
public GlyphGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, int int2, int int3, @Nullable @Nullable ScreenRect screenRect)
-
-
Method Details
-
setupVertices
- Specified by:
setupVerticesin interfaceSimpleGuiElementRenderState- Mappings:
Namespace Name Mixin selector named setupVerticesLnet/minecraft/client/gui/render/state/SimpleGuiElementRenderState;setupVertices(Lnet/minecraft/client/render/VertexConsumer;F)Vintermediary method_70917Lnet/minecraft/class_11244;method_70917(Lnet/minecraft/class_4588;F)Vofficial aLgaq;a(Lfmj;F)V
-
bounds
- Specified by:
boundsin interfaceElementRenderState- Mappings:
Namespace Name Mixin selector named boundsLnet/minecraft/client/gui/render/state/ElementRenderState;bounds()Lnet/minecraft/client/gui/ScreenRect;intermediary comp_4274Lnet/minecraft/class_11384;comp_4274()Lnet/minecraft/class_8030;official nLgau;n()Lfzz;
-
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 thepipelinerecord component.- Specified by:
pipelinein interfaceSimpleGuiElementRenderState- Returns:
- the value of the
pipelinerecord component
-
textureSetup
Returns the value of thetextureSetuprecord component.- Specified by:
textureSetupin interfaceSimpleGuiElementRenderState- Returns:
- the value of the
textureSetuprecord component
-
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
x1
public float x1()Returns the value of thex1record component.- Returns:
- the value of the
x1record component
-
y1
public float y1()Returns the value of they1record component.- Returns:
- the value of the
y1record component
-
x2
public float x2()Returns the value of thex2record component.- Returns:
- the value of the
x2record component
-
y2
public float y2()Returns the value of they2record component.- Returns:
- the value of the
y2record component
-
shearY1
public float shearY1()Returns the value of theshearY1record component.- Returns:
- the value of the
shearY1record component
-
shearY2
public float shearY2()Returns the value of theshearY2record component.- Returns:
- the value of the
shearY2record component
-
u1
public float u1()Returns the value of theu1record component.- Returns:
- the value of the
u1record component
-
u2
public float u2()Returns the value of theu2record component.- Returns:
- the value of the
u2record component
-
v1
public float v1()Returns the value of thev1record component.- Returns:
- the value of the
v1record component
-
v2
public float v2()Returns the value of thev2record component.- Returns:
- the value of the
v2record component
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
packedLightCoords
public int packedLightCoords()Returns the value of thepackedLightCoordsrecord component.- Returns:
- the value of the
packedLightCoordsrecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Specified by:
scissorAreain interfaceSimpleGuiElementRenderState- Returns:
- the value of the
scissorArearecord component
-