Package net.minecraft.client.gui
Class Font.StringRenderOutput
java.lang.Object
net.minecraft.client.gui.Font.StringRenderOutput
- All Implemented Interfaces:
FormattedCharSink
- Enclosing class:
Font
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
(package private) final MultiBufferSource
private final float
private final boolean
private List
<BakedGlyph.Effect> private final float
private final Font.DisplayMode
private final int
private final org.joml.Matrix4f
private final float
(package private) float
(package private) float
-
Constructor Summary
ConstructorDescriptionStringRenderOutput
(MultiBufferSource p_181365_, float p_181366_, float p_181367_, int p_181368_, boolean p_181369_, org.joml.Matrix4f p_254510_, Font.DisplayMode p_181371_, int p_181372_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
private void
addEffect
(BakedGlyph.Effect p_92965_) float
finish
(int p_92962_, float p_92963_)
-
Field Details
-
bufferSource
-
dropShadow
private final boolean dropShadow -
dimFactor
private final float dimFactor -
r
private final float r -
g
private final float g -
b
private final float b -
a
private final float a -
pose
private final org.joml.Matrix4f pose -
mode
-
packedLightCoords
private final int packedLightCoords -
x
float x -
y
float y -
effects
-
-
Constructor Details
-
StringRenderOutput
public StringRenderOutput(MultiBufferSource p_181365_, float p_181366_, float p_181367_, int p_181368_, boolean p_181369_, org.joml.Matrix4f p_254510_, Font.DisplayMode p_181371_, int p_181372_)
-
-
Method Details
-
addEffect
-
accept
- Specified by:
accept
in interfaceFormattedCharSink
-
finish
public float finish(int p_92962_, float p_92963_)
-