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 fxp
  • Field Details

    • field_55098

      public static final float field_55098
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55098 Lnet/minecraft/client/font/BakedGlyph;field_55098:F
      intermediary field_55098 Lnet/minecraft/class_382;field_55098:F
      official a Lfxp;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 Lfxp;b:Lfxn;
    • gpuTexture

      @Nullable private final @Nullable GpuTexture gpuTexture
      Mappings:
      Namespace Name Mixin selector
      named gpuTexture Lnet/minecraft/client/font/BakedGlyph;gpuTexture:Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary field_59862 Lnet/minecraft/class_382;field_59862:Lcom/mojang/blaze3d/textures/GpuTexture;
      official c Lfxp;c:Lcom/mojang/blaze3d/textures/GpuTexture;
    • 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 Lfxp;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 Lfxp;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 Lfxp;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 Lfxp;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 Lfxp;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 Lfxp;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 Lfxp;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 Lfxp;k:F
  • Constructor Details

    • BakedGlyph

      public BakedGlyph(TextRenderLayerSet textRenderLayers, @Nullable @Nullable GpuTexture 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/GpuTexture;FFFFFFFF)V
      intermediary <init> Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_8538;Lcom/mojang/blaze3d/textures/GpuTexture;FFFFFFFF)V
      official <init> Lfxp;<init>(Lfxn;Lcom/mojang/blaze3d/textures/GpuTexture;FFFFFFFF)V
  • Method Details

    • draw

      public void draw(BakedGlyph.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light)
      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;I)V
      intermediary method_65025 Lnet/minecraft/class_382;method_65025(Lnet/minecraft/class_382$class_10364;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)V
      official a Lfxp;a(Lfxp$b;Lorg/joml/Matrix4f;Lfly;I)V
    • draw

      private void draw(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/font/BakedGlyph;draw(ZFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZI)V
      intermediary method_65182 Lnet/minecraft/class_382;method_65182(ZFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZI)V
      official a Lfxp;a(ZFFLorg/joml/Matrix4f;Lfly;IZI)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 Lfxp;a(ZFFFLorg/joml/Matrix4f;Lfly;IZI)V
    • drawRectangle

      public void drawRectangle(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light)
      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;I)V
      intermediary method_22944 Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)V
      official a Lfxp;a(Lfxp$a;Lorg/joml/Matrix4f;Lfly;I)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 Lfxp;a(Lfxp$a;FFILfly;ILorg/joml/Matrix4f;)V
    • addGlyphToGui

      public void addGlyphToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.DrawnGlyph drawnGlyph, boolean shadow, TextGuiElementRenderState textElementState)
      Mappings:
      Namespace Name Mixin selector
      named addGlyphToGui Lnet/minecraft/client/font/BakedGlyph;addGlyphToGui(Lnet/minecraft/client/gui/render/state/GuiRenderState;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;ZLnet/minecraft/client/gui/render/state/TextGuiElementRenderState;)V
      intermediary method_70876 Lnet/minecraft/class_382;method_70876(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;Lnet/minecraft/class_382$class_10364;ZLnet/minecraft/class_11247;)V
      official a Lfxp;a(Lfzt;Lgud;Lfxp$b;ZLfzu;)V
    • addGlyphToGui

      private void addGlyphToGui(GuiRenderState guiState, RenderLayer layer, boolean italic, float x, float y, int color, boolean shadow, boolean bold, TextGuiElementRenderState textGuiElementRenderState)
      Mappings:
      Namespace Name Mixin selector
      named addGlyphToGui Lnet/minecraft/client/font/BakedGlyph;addGlyphToGui(Lnet/minecraft/client/gui/render/state/GuiRenderState;Lnet/minecraft/client/render/RenderLayer;ZFFIZZLnet/minecraft/client/gui/render/state/TextGuiElementRenderState;)V
      intermediary method_70877 Lnet/minecraft/class_382;method_70877(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;ZFFIZZLnet/minecraft/class_11247;)V
      official a Lfxp;a(Lfzt;Lgud;ZFFIZZLfzu;)V
    • addEffectToGui

      public void addEffectToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.Rectangle rect, boolean shadow, TextGuiElementRenderState textGuiElementRenderState)
      Mappings:
      Namespace Name Mixin selector
      named addEffectToGui Lnet/minecraft/client/font/BakedGlyph;addEffectToGui(Lnet/minecraft/client/gui/render/state/GuiRenderState;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/font/BakedGlyph$Rectangle;ZLnet/minecraft/client/gui/render/state/TextGuiElementRenderState;)V
      intermediary method_70875 Lnet/minecraft/class_382;method_70875(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;Lnet/minecraft/class_382$class_328;ZLnet/minecraft/class_11247;)V
      official a Lfxp;a(Lfzt;Lgud;Lfxp$a;ZLfzu;)V
    • addBackgroundToGui

      public void addBackgroundToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.Rectangle rect, TextGuiElementRenderState textGuiElementRenderState)
      Mappings:
      Namespace Name Mixin selector
      named addBackgroundToGui Lnet/minecraft/client/font/BakedGlyph;addBackgroundToGui(Lnet/minecraft/client/gui/render/state/GuiRenderState;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/font/BakedGlyph$Rectangle;Lnet/minecraft/client/gui/render/state/TextGuiElementRenderState;)V
      intermediary method_70874 Lnet/minecraft/class_382;method_70874(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;Lnet/minecraft/class_382$class_328;Lnet/minecraft/class_11247;)V
      official a Lfxp;a(Lfzt;Lgud;Lfxp$a;Lfzu;)V
    • 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 Lfxp;a(Lfua$a;)Lgud;