Record Class GlyphEffectGuiElementRenderState
java.lang.Object
java.lang.Record
net.minecraft.client.gui.render.state.GlyphEffectGuiElementRenderState
- Record Components:
pose
-whiteGlyph
-effect
-scissorArea
-
- All Implemented Interfaces:
GuiElementRenderState
,SimpleGuiElementRenderState
@Environment(CLIENT)
public record GlyphEffectGuiElementRenderState(Matrix3x2f pose, BakedGlyph whiteGlyph, BakedGlyph.Rectangle effect, @Nullable ScreenRect scissorArea)
extends Record
implements SimpleGuiElementRenderState
- Mappings:
Namespace Name named net/minecraft/client/gui/render/state/GlyphEffectGuiElementRenderState
intermediary net/minecraft/class_11470
official gct
named pose
intermediary comp_4372
official a
named whiteGlyph
intermediary comp_4373
official b
named effect
intermediary comp_4374
official c
named scissorArea
intermediary comp_4069
official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BakedGlyph.Rectangle
The field for theeffect
record component.private final Matrix3x2f
The field for thepose
record component.private final @Nullable ScreenRect
The field for thescissorArea
record component.private final BakedGlyph
The field for thewhiteGlyph
record component. -
Constructor Summary
ConstructorsConstructorDescriptionGlyphEffectGuiElementRenderState
(Matrix3x2f matrix3x2f, BakedGlyph bakedGlyph, BakedGlyph.Rectangle rectangle, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionbounds()
effect()
Returns the value of theeffect
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.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.Returns the value of thewhiteGlyph
record component.
-
Field Details
-
pose
The field for thepose
record component. -
whiteGlyph
The field for thewhiteGlyph
record component. -
effect
The field for theeffect
record component. -
scissorArea
The field for thescissorArea
record component.
-
-
Constructor Details
-
GlyphEffectGuiElementRenderState
public GlyphEffectGuiElementRenderState(Matrix3x2f matrix3x2f, BakedGlyph bakedGlyph, BakedGlyph.Rectangle rectangle, @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
-
whiteGlyph
Returns the value of thewhiteGlyph
record component.- Returns:
- the value of the
whiteGlyph
record component
-
effect
Returns the value of theeffect
record component.- Returns:
- the value of the
effect
record component
-
scissorArea
Returns the value of thescissorArea
record component.- Specified by:
scissorArea
in interfaceSimpleGuiElementRenderState
- Returns:
- the value of the
scissorArea
record component
-