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 Details

  • Constructor Details

  • Method Details

    • setupVertices

      public void setupVertices(VertexConsumer vertices, float depth)
      Specified by:
      setupVertices in interface SimpleGuiElementRenderState
      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

      public RenderPipeline pipeline()
      Specified by:
      pipeline in interface SimpleGuiElementRenderState
      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

      public TextureSetup textureSetup()
      Specified by:
      textureSetup in interface SimpleGuiElementRenderState
      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

      @Nullable public @Nullable ScreenRect bounds()
      Specified by:
      bounds in interface GuiElementRenderState
      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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • pose

      public Matrix3x2f pose()
      Returns the value of the pose record component.
      Returns:
      the value of the pose record component
    • instance

      public BakedGlyph.DrawnGlyph instance()
      Returns the value of the instance record component.
      Returns:
      the value of the instance record component
    • scissorArea

      @Nullable public @Nullable ScreenRect scissorArea()
      Returns the value of the scissorArea record component.
      Specified by:
      scissorArea in interface SimpleGuiElementRenderState
      Returns:
      the value of the scissorArea record component