Package net.minecraft.client.gui.font
Interface PlainTextRenderable
- All Superinterfaces:
ActiveArea,TextRenderable,TextRenderable.Styled
- All Known Implementing Classes:
AtlasGlyphProvider.Instance,PlayerGlyphProvider.Instance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.font.TextRenderable
TextRenderable.Styled -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final float -
Method Summary
Modifier and TypeMethodDescriptiondefault floatascent()default floatbottom()intcolor()default floatheight()default floatleft()default voidrender(Matrix4f p_442857_, VertexConsumer p_442956_, int p_443475_, boolean p_443415_) voidrenderSprite(Matrix4f pPose, VertexConsumer pConsumer, int pPackedLight, float pX, float pY, float pZ, int pColor) default floatright()intfloatdefault floattop()default floatwidth()floatx()floaty()Methods inherited from interface net.minecraft.client.gui.font.ActiveArea
styleMethods inherited from interface net.minecraft.client.gui.font.TextRenderable
guiPipeline, renderType, renderType, textureViewMethods inherited from interface net.minecraft.client.gui.font.TextRenderable.Styled
activeBottom, activeLeft, activeRight, activeTop
-
Field Details
-
DEFAULT_WIDTH
static final float DEFAULT_WIDTH- See Also:
-
DEFAULT_HEIGHT
static final float DEFAULT_HEIGHT- See Also:
-
DEFUAULT_ASCENT
static final float DEFUAULT_ASCENT- See Also:
-
-
Method Details
-
render
- Specified by:
renderin interfaceTextRenderable
-
renderSprite
void renderSprite(Matrix4f pPose, VertexConsumer pConsumer, int pPackedLight, float pX, float pY, float pZ, int pColor) -
x
float x() -
y
float y() -
color
int color() -
shadowColor
int shadowColor() -
shadowOffset
float shadowOffset() -
width
default float width() -
height
default float height() -
ascent
default float ascent() -
left
default float left()- Specified by:
leftin interfaceTextRenderable
-
right
default float right()- Specified by:
rightin interfaceTextRenderable
-
top
default float top()- Specified by:
topin interfaceTextRenderable
-
bottom
default float bottom()- Specified by:
bottomin interfaceTextRenderable
-