类 Font.StringRenderOutput

java.lang.Object
net.minecraft.client.gui.Font.StringRenderOutput
所有已实现的接口:
FormattedCharSink
封闭类:
Font

class Font.StringRenderOutput extends Object implements FormattedCharSink
  • 字段详细资料

    • bufferSource

      final MultiBufferSource bufferSource
    • drawShadow

      private final boolean drawShadow
    • color

      private final int color
    • backgroundColor

      private final int backgroundColor
    • pose

      private final org.joml.Matrix4f pose
    • mode

      private final Font.DisplayMode mode
    • packedLightCoords

      private final int packedLightCoords
    • inverseDepth

      private final boolean inverseDepth
    • x

      float x
    • y

      float y
    • glyphInstances

      private final List<BakedGlyph.GlyphInstance> glyphInstances
    • effects

      @Nullable private List<BakedGlyph.Effect> 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

      private void addEffect(BakedGlyph.Effect p_92965_)
    • accept

      public boolean accept(int p_92967_, Style p_92968_, int p_92969_)
      指定者:
      accept 在接口中 FormattedCharSink
    • finish

      float finish(float p_92963_)
    • getTextColor

      private int getTextColor(@Nullable TextColor p_378404_)
    • getShadowColor

      private int getShadowColor(Style p_378453_, int p_375981_)
    • renderCharacters

      void renderCharacters()
    • getOverTextEffectDepth

      private float getOverTextEffectDepth()
    • getUnderTextEffectDepth

      private float getUnderTextEffectDepth()