Class BakedGlyph
java.lang.Object
net.minecraft.client.gui.font.glyphs.BakedGlyph
- Direct Known Subclasses:
EmptyGlyph
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBakedGlyph
(GlyphRenderTypes p_285527_, float p_285271_, float p_284970_, float p_285098_, float p_285023_, float p_285242_, float p_285043_, float p_285100_, float p_284948_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
buildEffect
(BakedGlyph.Effect p_382788_, float p_383227_, float p_382946_, int p_382966_, VertexConsumer p_383218_, int p_382874_, org.joml.Matrix4f p_383104_) private void
render
(boolean p_383040_, float p_382836_, float p_382914_, float p_382815_, org.joml.Matrix4f p_382916_, VertexConsumer p_382963_, int p_383056_, boolean p_382998_, int p_382909_) private void
render
(boolean p_95227_, float p_95228_, float p_95229_, org.joml.Matrix4f p_253706_, VertexConsumer p_95231_, int p_95236_, boolean p_383085_, int p_379666_) void
renderChar
(BakedGlyph.GlyphInstance p_380988_, org.joml.Matrix4f p_381023_, VertexConsumer p_381084_, int p_381113_) void
renderEffect
(BakedGlyph.Effect p_95221_, org.joml.Matrix4f p_254370_, VertexConsumer p_95223_, int p_95224_) renderType
(Font.DisplayMode p_181388_) Deprecated.renderType
(Font.DisplayMode p_181388_, boolean blur) Neo: returns theRenderType
to use for the givenFont.DisplayMode
and blur setting
-
Field Details
-
Z_FIGHTER
public static final float Z_FIGHTER- See Also:
-
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 -
right
private final float right -
up
private final float up -
down
private final float down
-
-
Constructor Details
-
BakedGlyph
public BakedGlyph(GlyphRenderTypes p_285527_, float p_285271_, float p_284970_, float p_285098_, float p_285023_, float p_285242_, float p_285043_, float p_285100_, float p_284948_)
-
-
Method Details
-
renderChar
public void renderChar(BakedGlyph.GlyphInstance p_380988_, org.joml.Matrix4f p_381023_, VertexConsumer p_381084_, int p_381113_) -
render
private void render(boolean p_95227_, float p_95228_, float p_95229_, org.joml.Matrix4f p_253706_, VertexConsumer p_95231_, int p_95236_, boolean p_383085_, int p_379666_) -
render
private void render(boolean p_383040_, float p_382836_, float p_382914_, float p_382815_, org.joml.Matrix4f p_382916_, VertexConsumer p_382963_, int p_383056_, boolean p_382998_, int p_382909_) -
renderEffect
public void renderEffect(BakedGlyph.Effect p_95221_, org.joml.Matrix4f p_254370_, VertexConsumer p_95223_, int p_95224_) -
buildEffect
private void buildEffect(BakedGlyph.Effect p_382788_, float p_383227_, float p_382946_, int p_382966_, VertexConsumer p_383218_, int p_382874_, org.joml.Matrix4f p_383104_) -
renderType
Neo: returns theRenderType
to use for the givenFont.DisplayMode
and blur setting -
renderType
Deprecated.Neo: UserenderType(Font.DisplayMode, boolean)
instead
-
renderType(Font.DisplayMode, boolean)
instead