Package net.minecraft.client.font
Class BakedGlyph
java.lang.Object
net.minecraft.client.font.BakedGlyph
- Direct Known Subclasses:
EmptyBakedGlyph
- Mappings:
Namespace Name named net/minecraft/client/font/BakedGlyphintermediary net/minecraft/class_382official fxo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatprivate final @Nullable GpuTextureprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final TextRenderLayerSet -
Constructor Summary
ConstructorsConstructorDescriptionBakedGlyph(TextRenderLayerSet textRenderLayers, @Nullable GpuTexture gpuTexture, float minU, float maxU, float minV, float maxV, float minX, float maxX, float minY, float maxY) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBackgroundToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.Rectangle rect, TextGuiElementRenderState textElementState) voidaddEffectToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.Rectangle rect, boolean shadow, TextGuiElementRenderState textElementState) private voidaddGlyphToGui(GuiRenderState guiState, RenderLayer layer, boolean italic, float x, float y, int color, boolean shadow, boolean bold, TextGuiElementRenderState textElementState) voidaddGlyphToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.DrawnGlyph drawnGlyph, boolean shadow, TextGuiElementRenderState textElementState) private voiddraw(boolean italic, float x, float y, float z, Matrix4f matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light) private voiddraw(boolean italic, float x, float y, Matrix4f matrix, VertexConsumer vertexConsumer, int color, boolean bold, int light) voiddraw(BakedGlyph.DrawnGlyph glyph, Matrix4f matrix, VertexConsumer vertexConsumer, int light) private voiddrawRectangle(BakedGlyph.Rectangle rectangle, float shadowOffset, float zOffset, int color, VertexConsumer vertexConsumer, int light, Matrix4f matrix) voiddrawRectangle(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) getLayer(TextRenderer.TextLayerType layerType)
-
Field Details
-
field_55098
public static final float field_55098- See Also:
- Mappings:
Namespace Name Mixin selector named field_55098Lnet/minecraft/client/font/BakedGlyph;field_55098:Fintermediary field_55098Lnet/minecraft/class_382;field_55098:Fofficial aLfxo;a:F
-
textRenderLayers
- Mappings:
Namespace Name Mixin selector named textRenderLayersLnet/minecraft/client/font/BakedGlyph;textRenderLayers:Lnet/minecraft/client/font/TextRenderLayerSet;intermediary field_44760Lnet/minecraft/class_382;field_44760:Lnet/minecraft/class_8538;official bLfxo;b:Lfxm;
-
gpuTexture
- Mappings:
Namespace Name Mixin selector named gpuTextureLnet/minecraft/client/font/BakedGlyph;gpuTexture:Lcom/mojang/blaze3d/textures/GpuTexture;intermediary field_59862Lnet/minecraft/class_382;field_59862:Lcom/mojang/blaze3d/textures/GpuTexture;official cLfxo;c:Lcom/mojang/blaze3d/textures/GpuTexture;
-
minU
private final float minU- Mappings:
Namespace Name Mixin selector named minULnet/minecraft/client/font/BakedGlyph;minU:Fintermediary field_2276Lnet/minecraft/class_382;field_2276:Fofficial dLfxo;d:F
-
maxU
private final float maxU- Mappings:
Namespace Name Mixin selector named maxULnet/minecraft/client/font/BakedGlyph;maxU:Fintermediary field_2275Lnet/minecraft/class_382;field_2275:Fofficial eLfxo;e:F
-
minV
private final float minV- Mappings:
Namespace Name Mixin selector named minVLnet/minecraft/client/font/BakedGlyph;minV:Fintermediary field_2274Lnet/minecraft/class_382;field_2274:Fofficial fLfxo;f:F
-
maxV
private final float maxV- Mappings:
Namespace Name Mixin selector named maxVLnet/minecraft/client/font/BakedGlyph;maxV:Fintermediary field_2273Lnet/minecraft/class_382;field_2273:Fofficial gLfxo;g:F
-
minX
private final float minX- Mappings:
Namespace Name Mixin selector named minXLnet/minecraft/client/font/BakedGlyph;minX:Fintermediary field_2272Lnet/minecraft/class_382;field_2272:Fofficial hLfxo;h:F
-
maxX
private final float maxX- Mappings:
Namespace Name Mixin selector named maxXLnet/minecraft/client/font/BakedGlyph;maxX:Fintermediary field_2280Lnet/minecraft/class_382;field_2280:Fofficial iLfxo;i:F
-
minY
private final float minY- Mappings:
Namespace Name Mixin selector named minYLnet/minecraft/client/font/BakedGlyph;minY:Fintermediary field_2279Lnet/minecraft/class_382;field_2279:Fofficial jLfxo;j:F
-
maxY
private final float maxY- Mappings:
Namespace Name Mixin selector named maxYLnet/minecraft/client/font/BakedGlyph;maxY:Fintermediary field_2278Lnet/minecraft/class_382;field_2278:Fofficial kLfxo;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)Vintermediary <init>Lnet/minecraft/class_382;<init>(Lnet/minecraft/class_8538;Lcom/mojang/blaze3d/textures/GpuTexture;FFFFFFFF)Vofficial <init>Lfxo;<init>(Lfxm;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 drawLnet/minecraft/client/font/BakedGlyph;draw(Lnet/minecraft/client/font/BakedGlyph$DrawnGlyph;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)Vintermediary method_65025Lnet/minecraft/class_382;method_65025(Lnet/minecraft/class_382$class_10364;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)Vofficial aLfxo;a(Lfxo$b;Lorg/joml/Matrix4f;Lflx;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 drawLnet/minecraft/client/font/BakedGlyph;draw(ZFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZI)Vintermediary method_65182Lnet/minecraft/class_382;method_65182(ZFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZI)Vofficial aLfxo;a(ZFFLorg/joml/Matrix4f;Lflx;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 drawLnet/minecraft/client/font/BakedGlyph;draw(ZFFFLorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;IZI)Vintermediary method_2025Lnet/minecraft/class_382;method_2025(ZFFFLorg/joml/Matrix4f;Lnet/minecraft/class_4588;IZI)Vofficial aLfxo;a(ZFFFLorg/joml/Matrix4f;Lflx;IZI)V
-
drawRectangle
public void drawRectangle(BakedGlyph.Rectangle rectangle, Matrix4f matrix, VertexConsumer vertexConsumer, int light) - Mappings:
Namespace Name Mixin selector named drawRectangleLnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$Rectangle;Lorg/joml/Matrix4f;Lnet/minecraft/client/render/VertexConsumer;I)Vintermediary method_22944Lnet/minecraft/class_382;method_22944(Lnet/minecraft/class_382$class_328;Lorg/joml/Matrix4f;Lnet/minecraft/class_4588;I)Vofficial aLfxo;a(Lfxo$a;Lorg/joml/Matrix4f;Lflx;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 drawRectangleLnet/minecraft/client/font/BakedGlyph;drawRectangle(Lnet/minecraft/client/font/BakedGlyph$Rectangle;FFILnet/minecraft/client/render/VertexConsumer;ILorg/joml/Matrix4f;)Vintermediary method_65181Lnet/minecraft/class_382;method_65181(Lnet/minecraft/class_382$class_328;FFILnet/minecraft/class_4588;ILorg/joml/Matrix4f;)Vofficial aLfxo;a(Lfxo$a;FFILflx;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 addGlyphToGuiLnet/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;)Vintermediary method_70876Lnet/minecraft/class_382;method_70876(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;Lnet/minecraft/class_382$class_10364;ZLnet/minecraft/class_11247;)Vofficial aLfxo;a(Lfzt;Lgtx;Lfxo$b;ZLfzu;)V
-
addGlyphToGui
private void addGlyphToGui(GuiRenderState guiState, RenderLayer layer, boolean italic, float x, float y, int color, boolean shadow, boolean bold, TextGuiElementRenderState textElementState) - Mappings:
Namespace Name Mixin selector named addGlyphToGuiLnet/minecraft/client/font/BakedGlyph;addGlyphToGui(Lnet/minecraft/client/gui/render/state/GuiRenderState;Lnet/minecraft/client/render/RenderLayer;ZFFIZZLnet/minecraft/client/gui/render/state/TextGuiElementRenderState;)Vintermediary method_70877Lnet/minecraft/class_382;method_70877(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;ZFFIZZLnet/minecraft/class_11247;)Vofficial aLfxo;a(Lfzt;Lgtx;ZFFIZZLfzu;)V
-
addEffectToGui
public void addEffectToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.Rectangle rect, boolean shadow, TextGuiElementRenderState textElementState) - Mappings:
Namespace Name Mixin selector named addEffectToGuiLnet/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;)Vintermediary method_70875Lnet/minecraft/class_382;method_70875(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;Lnet/minecraft/class_382$class_328;ZLnet/minecraft/class_11247;)Vofficial aLfxo;a(Lfzt;Lgtx;Lfxo$a;ZLfzu;)V
-
addBackgroundToGui
public void addBackgroundToGui(GuiRenderState guiState, RenderLayer layer, BakedGlyph.Rectangle rect, TextGuiElementRenderState textElementState) - Mappings:
Namespace Name Mixin selector named addBackgroundToGuiLnet/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;)Vintermediary method_70874Lnet/minecraft/class_382;method_70874(Lnet/minecraft/class_11246;Lnet/minecraft/class_1921;Lnet/minecraft/class_382$class_328;Lnet/minecraft/class_11247;)Vofficial aLfxo;a(Lfzt;Lgtx;Lfxo$a;Lfzu;)V
-
getLayer
- Mappings:
Namespace Name Mixin selector named getLayerLnet/minecraft/client/font/BakedGlyph;getLayer(Lnet/minecraft/client/font/TextRenderer$TextLayerType;)Lnet/minecraft/client/render/RenderLayer;intermediary method_24045Lnet/minecraft/class_382;method_24045(Lnet/minecraft/class_327$class_6415;)Lnet/minecraft/class_1921;official aLfxo;a(Lftz$a;)Lgtx;
-