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/GlyphEffectGuiElementRenderStateintermediary net/minecraft/class_11470official gcunamed poseintermediary comp_4372official anamed whiteGlyphintermediary comp_4373official bnamed effectintermediary comp_4374official cnamed scissorAreaintermediary comp_4069official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BakedGlyph.RectangleThe field for theeffectrecord component.private final Matrix3x2fThe field for theposerecord component.private final @Nullable ScreenRectThe field for thescissorArearecord component.private final BakedGlyphThe field for thewhiteGlyphrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionGlyphEffectGuiElementRenderState(Matrix3x2f matrix3x2f, BakedGlyph bakedGlyph, BakedGlyph.Rectangle rectangle, @Nullable ScreenRect screenRect) -
Method Summary
Modifier and TypeMethodDescriptionbounds()effect()Returns the value of theeffectrecord component.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 thescissorArearecord component.voidsetupVertices(VertexConsumer vertices, float depth) final StringtoString()Returns a string representation of this record class.Returns the value of thewhiteGlyphrecord component.
-
Field Details
-
pose
The field for theposerecord component. -
whiteGlyph
The field for thewhiteGlyphrecord component. -
effect
The field for theeffectrecord component. -
scissorArea
The field for thescissorArearecord component.
-
-
Constructor Details
-
GlyphEffectGuiElementRenderState
public GlyphEffectGuiElementRenderState(Matrix3x2f matrix3x2f, BakedGlyph bakedGlyph, BakedGlyph.Rectangle rectangle, @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
-
whiteGlyph
Returns the value of thewhiteGlyphrecord component.- Returns:
- the value of the
whiteGlyphrecord component
-
effect
Returns the value of theeffectrecord component.- Returns:
- the value of the
effectrecord component
-
scissorArea
Returns the value of thescissorArearecord component.- Specified by:
scissorAreain interfaceSimpleGuiElementRenderState- Returns:
- the value of the
scissorArearecord component
-