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/GlyphGuiElementRenderState
intermediary net/minecraft/class_11243
official gcu
named pose
intermediary comp_4077
official a
named instance
intermediary comp_4375
official b
named scissorArea
intermediary comp_4069
official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BakedGlyph.DrawnGlyph
The field for theinstance
record component.private final Matrix3x2f
The field for thepose
record component.private final @Nullable ScreenRect
The field for thescissorArea
record component. -
Constructor Summary
ConstructorsConstructorDescriptionGlyphGuiElementRenderState
(Matrix3x2f matrix3x2f, BakedGlyph.DrawnGlyph drawnGlyph, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionbounds()
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.instance()
Returns the value of theinstance
record component.pipeline()
pose()
Returns the value of thepose
record component.Returns the value of thescissorArea
record component.void
setupVertices
(VertexConsumer vertices, float depth) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
pose
The field for thepose
record component. -
instance
The field for theinstance
record component. -
scissorArea
The field for thescissorArea
record component.
-
-
Constructor Details
-
GlyphGuiElementRenderState
public GlyphGuiElementRenderState(Matrix3x2f matrix3x2f, BakedGlyph.DrawnGlyph drawnGlyph, @Nullable @Nullable ScreenRect screenRect)
-
-
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
-
pipeline
- Specified by:
pipeline
in interfaceSimpleGuiElementRenderState
- Mappings:
Namespace Name Mixin selector named pipeline
Lnet/minecraft/client/gui/render/state/SimpleGuiElementRenderState;pipeline()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
intermediary comp_4055
Lnet/minecraft/class_11244;comp_4055()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
official a
Lgcv;a()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
-
textureSetup
- Specified by:
textureSetup
in interfaceSimpleGuiElementRenderState
- Mappings:
Namespace Name Mixin selector named textureSetup
Lnet/minecraft/client/gui/render/state/SimpleGuiElementRenderState;textureSetup()Lnet/minecraft/client/texture/TextureSetup;
intermediary comp_4056
Lnet/minecraft/class_11244;comp_4056()Lnet/minecraft/class_11231;
official b
Lgcv;b()Lgcg;
-
bounds
- Specified by:
bounds
in interfaceGuiElementRenderState
- Mappings:
Namespace Name Mixin selector named bounds
Lnet/minecraft/client/gui/render/state/GuiElementRenderState;bounds()Lnet/minecraft/client/gui/ScreenRect;
intermediary comp_4274
Lnet/minecraft/class_11384;comp_4274()Lnet/minecraft/class_8030;
official n
Lgcz;n()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. All components in this record class are compared withObjects::equals(Object,Object)
. -
pose
Returns the value of thepose
record component.- Returns:
- the value of the
pose
record component
-
instance
Returns the value of theinstance
record component.- Returns:
- the value of the
instance
record component
-
scissorArea
Returns the value of thescissorArea
record component.- Specified by:
scissorArea
in interfaceSimpleGuiElementRenderState
- Returns:
- the value of the
scissorArea
record component
-