Class BakedGlyph

java.lang.Object
net.minecraft.client.gui.font.glyphs.BakedGlyph
Direct Known Subclasses:
EmptyGlyph

public class BakedGlyph extends Object
  • Field Details

    • renderTypes

      private final GlyphRenderTypes renderTypes
    • u0

      private final float u0
    • u1

      private final float u1
    • v0

      private final float v0
    • v1

      private final float v1
    • left

      private final float left
    • up

      private final float up
    • down

      private final float down
  • Constructor Details

    • BakedGlyph

      public BakedGlyph(GlyphRenderTypes renderTypes, float u0, float u1, float v0, float v1, float left, float right, float up, float down)
  • Method Details

    • render

      public void render(boolean italic, float x, float y, org.joml.Matrix4f matrix, VertexConsumer buffer, float red, float green, float blue, float alpha, int packedLight)
    • renderEffect

      public void renderEffect(BakedGlyph.Effect effect, org.joml.Matrix4f matrix, VertexConsumer buffer, int packedLight)
    • renderType

      public RenderType renderType(Font.DisplayMode displayMode)