类 Font.StringRenderOutput
java.lang.Object
net.minecraft.client.gui.Font.StringRenderOutput
- 所有已实现的接口:
FormattedCharSink
- 封闭类:
Font
-
字段概要
字段修饰符和类型字段说明private final int
(专用程序包) final MultiBufferSource
private final int
private final boolean
private List
<BakedGlyph.Effect> private final List
<BakedGlyph.GlyphInstance> private final boolean
private final Font.DisplayMode
private final int
private final org.joml.Matrix4f
(专用程序包) float
(专用程序包) float
-
构造器概要
构造器构造器说明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_) StringRenderOutput
(MultiBufferSource p_369661_, float p_364376_, float p_367232_, int p_363543_, int p_366865_, boolean p_369620_, org.joml.Matrix4f p_365215_, Font.DisplayMode p_366135_, int p_361543_, boolean p_363799_) -
方法概要
修饰符和类型方法说明boolean
private void
addEffect
(BakedGlyph.Effect p_92965_) (专用程序包) float
finish
(float p_92963_) private float
private int
getShadowColor
(Style p_378453_, int p_375981_) private int
getTextColor
(TextColor p_378404_) private float
(专用程序包) void
-
字段详细资料
-
bufferSource
-
drawShadow
private final boolean drawShadow -
color
private final int color -
backgroundColor
private final int backgroundColor -
pose
private final org.joml.Matrix4f pose -
mode
-
packedLightCoords
private final int packedLightCoords -
inverseDepth
private final boolean inverseDepth -
x
float x -
y
float y -
glyphInstances
-
effects
-
-
构造器详细资料
-
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_) -
StringRenderOutput
public StringRenderOutput(MultiBufferSource p_369661_, float p_364376_, float p_367232_, int p_363543_, int p_366865_, boolean p_369620_, org.joml.Matrix4f p_365215_, Font.DisplayMode p_366135_, int p_361543_, boolean p_363799_)
-
-
方法详细资料
-
addEffect
-
accept
- 指定者:
accept
在接口中FormattedCharSink
-
finish
float finish(float p_92963_) -
getTextColor
-
getShadowColor
-
renderCharacters
void renderCharacters() -
getOverTextEffectDepth
private float getOverTextEffectDepth() -
getUnderTextEffectDepth
private float getUnderTextEffectDepth()
-