Record Class GlyphGuiElementRenderState
java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.GlyphGuiElementRenderState
- Record Components:
pose-renderable-scissorArea-
- All Implemented Interfaces:
GuiElementRenderState,SimpleGuiElementRenderState
@Environment(CLIENT)
public record GlyphGuiElementRenderState(Matrix3x2f pose, TextDrawable renderable, @Nullable ScreenRect scissorArea)
extends Record
implements SimpleGuiElementRenderState
- Mappings:
Namespace Name named net/minecraft/client/gui/render/state/GlyphGuiElementRenderStateintermediary net/minecraft/class_11243official gklnamed poseintermediary comp_4077official anamed renderableintermediary comp_4637official bnamed scissorAreaintermediary comp_4069official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Matrix3x2fThe field for theposerecord component.private final TextDrawableThe field for therenderablerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component. -
Constructor Summary
ConstructorsConstructorDescriptionGlyphGuiElementRenderState(Matrix3x2f matrix3x2f, TextDrawable textDrawable, @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.pipeline()pose()Returns the value of theposerecord component.Returns the value of therenderablerecord component.Returns the value of thescissorArearecord component.voidsetupVertices(VertexConsumer vertices) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pose
The field for theposerecord component. -
renderable
The field for therenderablerecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
GlyphGuiElementRenderState
public GlyphGuiElementRenderState(Matrix3x2f matrix3x2f, TextDrawable textDrawable, @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;)Vintermediary method_70917Lnet/minecraft/class_11244;method_70917(Lnet/minecraft/class_4588;)Vofficial aLgkm;a(Lfud;)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 aLgkm;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 bLgkm;b()Lgjy;
-
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 nLgkq;n()Lgju;
-
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
-
renderable
Returns the value of therenderablerecord component.- Returns:
- the value of the
renderablerecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Specified by:
scissorAreain interfaceSimpleGuiElementRenderState- Returns:
- the value of the
scissorArearecord component
-