Class BakedGlyph

java.lang.Object
net.minecraft.client.font.BakedGlyph
Direct Known Subclasses:
EmptyBakedGlyph

@Environment(CLIENT) public class BakedGlyph extends Object
Mappings:
Namespace Name
named net/minecraft/client/font/BakedGlyph
intermediary net/minecraft/class_382
official gar
  • Field Details

    • Z_OFFSET

      public static final float Z_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named Z_OFFSET Lnet/minecraft/client/font/BakedGlyph;Z_OFFSET:F
      intermediary field_55098 Lnet/minecraft/class_382;field_55098:F
      official a Lgar;a:F
    • textRenderLayers

      private final TextRenderLayerSet textRenderLayers
      Mappings:
      Namespace Name Mixin selector
      named textRenderLayers Lnet/minecraft/client/font/BakedGlyph;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;
      intermediary field_44760 Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;
      official b Lgar;b:Lgap;
    • gpuTexture

      @Nullable private final @Nullable GpuTextureView gpuTexture
      Mappings:
      Namespace Name Mixin selector
      named gpuTexture Lnet/minecraft/client/font/BakedGlyph;gpuTexture:Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary field_60569 Lnet/minecraft/class_382;field_60569:Lcom/mojang/blaze3d/textures/GpuTextureView;
      official c Lgar;c:Lcom/mojang/blaze3d/textures/GpuTextureView;
    • minU

      private final float minU
      Mappings:
      Namespace Name Mixin selector
      named minU Lnet/minecraft/client/font/BakedGlyph;minU:F
      intermediary field_2276 Lnet/minecraft/class_382;field_2276:F
      official d Lgar;d:F
    • maxU

      private final float maxU
      Mappings:
      Namespace Name Mixin selector
      named maxU Lnet/minecraft/client/font/BakedGlyph;maxU:F
      intermediary field_2275 Lnet/minecraft/class_382;field_2275:F
      official e Lgar;e:F
    • minV

      private final float minV
      Mappings:
      Namespace Name Mixin selector
      named minV Lnet/minecraft/client/font/BakedGlyph;minV:F
      intermediary field_2274 Lnet/minecraft/class_382;field_2274:F
      official f Lgar;f:F
    • maxV

      private final float maxV
      Mappings:
      Namespace Name Mixin selector
      named maxV Lnet/minecraft/client/font/BakedGlyph;maxV:F
      intermediary field_2273 Lnet/minecraft/class_382;field_2273:F
      official g Lgar;g:F
    • minX

      private final float minX
      Mappings:
      Namespace Name Mixin selector
      named minX Lnet/minecraft/client/font/BakedGlyph;minX:F
      intermediary field_2272 Lnet/minecraft/class_382;field_2272:F
      official h Lgar;h:F
    • maxX

      private final float maxX
      Mappings:
      Namespace Name Mixin selector
      named maxX Lnet/minecraft/client/font/BakedGlyph;maxX:F
      intermediary field_2280 Lnet/minecraft/class_382;field_2280:F
      official i Lgar;i:F
    • minY

      private final float minY
      Mappings:
      Namespace Name Mixin selector
      named minY Lnet/minecraft/client/font/BakedGlyph;minY:F
      intermediary field_2279 Lnet/minecraft/class_382;field_2279:F
      official j Lgar;j:F
    • maxY

      private final float maxY
      Mappings:
      Namespace Name Mixin selector
      named maxY Lnet/minecraft/client/font/BakedGlyph;maxY:F
      intermediary field_2278 Lnet/minecraft/class_382;field_2278:F
      official k Lgar;k:F
  • Constructor Details

    • BakedGlyph

      public BakedGlyph(TextRenderLayerSet textRenderLayers, @Nullable @Nullable GpuTextureView gpuTexture, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/font/BakedGlyph;<init>(Lnet/minecraft/client/font/TextRenderLayerSet;Lcom/mojang/blaze3d/textures/GpuTextureView;FFFFFFFF)V
      intermediary <init> Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_8538;Lcom/mojang/blaze3d/textures/GpuTextureView;FFFFFFFF)V
      official <init> Lgar;<init>(Lgap;Lcom/mojang/blaze3d/textures/GpuTextureView;FFFFFFFF)V
  • Method Details

    • getEffectiveMinX

      public float getEffectiveMinX(BakedGlyph.DrawnGlyph glyph)
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMinX Lnet/minecraft/client/font/BakedGlyph;getEffectiveMinX(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)F
      intermediary method_71821 Lnet/minecraft/class_382;method_71821(Lnet/minecraft/class_382$class_10364;)F
      official a Lgar;a(Lgar$b;)F
    • getEffectiveMinY

      public float getEffectiveMinY(BakedGlyph.DrawnGlyph glyph)
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMinY Lnet/minecraft/client/font/BakedGlyph;getEffectiveMinY(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)F
      intermediary method_71824 Lnet/minecraft/class_382;method_71824(Lnet/minecraft/class_382$class_10364;)F
      official b Lgar;b(Lgar$b;)F
    • getEffectiveMaxX

      public float getEffectiveMaxX(BakedGlyph.DrawnGlyph glyph)
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMaxX Lnet/minecraft/client/font/BakedGlyph;getEffectiveMaxX(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)F
      intermediary method_71826 Lnet/minecraft/class_382;method_71826(Lnet/minecraft/class_382$class_10364;)F
      official c Lgar;c(Lgar$b;)F
    • getEffectiveMaxY

      public float getEffectiveMaxY(BakedGlyph.DrawnGlyph glyph)
      Mappings:
      Namespace Name Mixin selector
      named getEffectiveMaxY Lnet/minecraft/client/font/BakedGlyph;getEffectiveMaxY(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;)F
      intermediary method_71828 Lnet/minecraft/class_382;method_71828(Lnet/minecraft/class_382$class_10364;)F
      official d Lgar;d(Lgar$b;)F
    • draw

      public void draw(BakedGlyph.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/font/BakedGlyph;draw(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZ)V
      intermediary method_65025 Lnet/minecraft/class_382;method_65025(Lnet/minecraft/class_382$class_10364;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZ)V
      official a Lgar;a(Lgar$b;Lorg/joml/Matrix4f;Lfof;IZ)V
    • draw

      private void draw(boolean italic, float x, float y, float z, Matrix4f matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/font/BakedGlyph;draw(ZFFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZI)V
      intermediary method_2025 Lnet/minecraft/class_382;method_2025(ZFFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZI)V
      official a Lgar;a(ZFFFLorg/joml/Matrix4f;Lfof;IZI)V
    • getXExpansion

      private static float getXExpansion(boolean bold)
      Mappings:
      Namespace Name Mixin selector
      named getXExpansion Lnet/minecraft/client/font/BakedGlyph;getXExpansion(Z)F
      intermediary method_71822 Lnet/minecraft/class_382;method_71822(Z)F
      official a Lgar;a(Z)F
    • getItalicOffsetAtMaxY

      private float getItalicOffsetAtMaxY()
      Mappings:
      Namespace Name Mixin selector
      named getItalicOffsetAtMaxY Lnet/minecraft/client/font/BakedGlyph;getItalicOffsetAtMaxY()F
      intermediary method_71825 Lnet/minecraft/class_382;method_71825()F
      official c Lgar;c()F
    • getItalicOffsetAtMinY

      private float getItalicOffsetAtMinY()
      Mappings:
      Namespace Name Mixin selector
      named getItalicOffsetAtMinY Lnet/minecraft/client/font/BakedGlyph;getItalicOffsetAtMinY()F
      intermediary method_71827 Lnet/minecraft/class_382;method_71827()F
      official d Lgar;d()F
    • drawRectangle

      public void drawRectangle(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light, boolean fixedZ)
      Mappings:
      Namespace Name Mixin selector
      named drawRectangle Lnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$Rectangle;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZ)V
      intermediary method_22944 Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZ)V
      official a Lgar;a(Lgar$a;Lorg/joml/Matrix4f;Lfof;IZ)V
    • drawRectangle

      private void drawRectangle(BakedGlyph.Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, Matrix4f matrix)
      Mappings:
      Namespace Name Mixin selector
      named drawRectangle Lnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$Rectangle;FFILnet/minecraft/client/render/VertexConsumer;ILorg/joml/Matrix4f;)V
      intermediary method_65181 Lnet/minecraft/class_382;method_65181(Lnet/minecraft/class_382$class_328;FFILnet/minecraft/class_4588;ILorg/joml/Matrix4f;)V
      official a Lgar;a(Lgar$a;FFILfof;ILorg/joml/Matrix4f;)V
    • getTexture

      @Nullable public @Nullable GpuTextureView getTexture()
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/font/BakedGlyph;getTexture()Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary method_71820 Lnet/minecraft/class_382;method_71820()Lcom/mojang/blaze3d/textures/GpuTextureView;
      official a Lgar;a()Lcom/mojang/blaze3d/textures/GpuTextureView;
    • getPipeline

      public RenderPipeline getPipeline()
      Mappings:
      Namespace Name Mixin selector
      named getPipeline Lnet/minecraft/client/font/BakedGlyph;getPipeline()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
      intermediary method_71823 Lnet/minecraft/class_382;method_71823()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
      official b Lgar;b()Lcom/mojang/blaze3d/pipeline/RenderPipeline;
    • getLayer

      public RenderLayer getLayer(TextRenderer.TextLayerType layerType)
      Mappings:
      Namespace Name Mixin selector
      named getLayer Lnet/minecraft/client/font/BakedGlyph;getLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;
      intermediary method_24045 Lnet/minecraft/class_382;method_24045(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;
      official a Lgar;a(Lfwy$a;)Lgxy;