Class Font.StringRenderOutput

java.lang.Object
net.minecraft.client.gui.Font.StringRenderOutput
All Implemented Interfaces:
FormattedCharSink
Enclosing class:
Font

class Font.StringRenderOutput extends Object implements FormattedCharSink
  • Field Details

    • bufferSource

      final MultiBufferSource 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 Matrix4f pose
    • mode

      private final Font.DisplayMode mode
    • packedLightCoords

      private final int packedLightCoords
    • x

      float x
    • y

      float y
    • effects

      @Nullable private List<BakedGlyph.Effect> effects
  • Constructor Details

    • StringRenderOutput

      public StringRenderOutput(MultiBufferSource p_92953_, float p_92954_, float p_92955_, int p_92956_, boolean p_92957_, Matrix4f p_92958_, boolean p_92959_, int p_92960_)
    • StringRenderOutput

      public StringRenderOutput(MultiBufferSource p_181365_, float p_181366_, float p_181367_, int p_181368_, boolean p_181369_, Matrix4f p_181370_, Font.DisplayMode p_181371_, int p_181372_)
  • Method Details

    • addEffect

      private void addEffect(BakedGlyph.Effect p_92965_)
    • accept

      public boolean accept(int p_92967_, Style p_92968_, int p_92969_)
      Specified by:
      accept in interface FormattedCharSink
    • finish

      public float finish(int p_92962_, float p_92963_)