Record Class GlyphGuiElementRenderState
java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.GlyphGuiElementRenderState
- Record Components:
 pose-instance-scissorArea-
- All Implemented Interfaces:
 GuiElementRenderState,SimpleGuiElementRenderState
@Environment(CLIENT)
public record GlyphGuiElementRenderState(Matrix3x2f pose, BakedGlyph.DrawnGlyph instance, @Nullable ScreenRect scissorArea)
extends Record
implements SimpleGuiElementRenderState
- Mappings:
 Namespace Name named net/minecraft/client/gui/render/state/GlyphGuiElementRenderStateintermediary net/minecraft/class_11243official gcvnamed poseintermediary comp_4077official anamed instanceintermediary comp_4375official bnamed scissorAreaintermediary comp_4069official c
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BakedGlyph.DrawnGlyphThe field for theinstancerecord component.private final Matrix3x2fThe field for theposerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component. - 
Constructor Summary
ConstructorsConstructorDescriptionGlyphGuiElementRenderState(Matrix3x2f matrix3x2f, BakedGlyph.DrawnGlyph drawnGlyph, @Nullable ScreenRect screenRect)  - 
Method Summary
Modifier and TypeMethodDescriptionbounds()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.instance()Returns the value of theinstancerecord component.pipeline()pose()Returns the value of theposerecord component.Returns the value of thescissorArearecord component.voidsetupVertices(VertexConsumer vertices, float depth) final StringtoString()Returns a string representation of this record class. 
- 
Field Details
- 
pose
The field for theposerecord component. - 
instance
The field for theinstancerecord component. - 
scissorArea
The field for thescissorArearecord component. 
 - 
 - 
Constructor Details
- 
GlyphGuiElementRenderState
public GlyphGuiElementRenderState(Matrix3x2f matrix3x2f, BakedGlyph.DrawnGlyph drawnGlyph, @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 aLgcw;a(Lfog;F)V
 - 
pipeline
- Specified by:
 pipelinein interfaceSimpleGuiElementRenderState- Mappings:
 Namespace Name Mixin selector named pipelineLnet/minecraft/client/gui/render/state/SimpleGuiElementRenderState;pipeline()Lcom/mojang/blaze3d/pipeline/RenderPipeline;intermediary comp_4055Lnet/minecraft/class_11244;comp_4055()Lcom/mojang/blaze3d/pipeline/RenderPipeline;official aLgcw;a()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
 - 
textureSetup
- Specified by:
 textureSetupin interfaceSimpleGuiElementRenderState- Mappings:
 Namespace Name Mixin selector named textureSetupLnet/minecraft/client/gui/render/state/SimpleGuiElementRenderState;textureSetup()Lnet/minecraft/client/texture/TextureSetup;intermediary comp_4056Lnet/minecraft/class_11244;comp_4056()Lnet/minecraft/class_11231;official bLgcw;b()Lgch;
 - 
bounds
- Specified by:
 boundsin interfaceGuiElementRenderState- Mappings:
 Namespace Name Mixin selector named boundsLnet/minecraft/client/gui/render/state/GuiElementRenderState;bounds()Lnet/minecraft/client/gui/ScreenRect;intermediary comp_4274Lnet/minecraft/class_11384;comp_4274()Lnet/minecraft/class_8030;official nLgda;n()Lgcd;
 - 
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. All components in this record class are compared withObjects::equals(Object,Object). - 
pose
Returns the value of theposerecord component.- Returns:
 - the value of the 
poserecord component 
 - 
instance
Returns the value of theinstancerecord component.- Returns:
 - the value of the 
instancerecord component 
 - 
scissorArea
Returns the value of thescissorArearecord component.- Specified by:
 scissorAreain interfaceSimpleGuiElementRenderState- Returns:
 - the value of the 
scissorArearecord component 
 
 -