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 org.joml.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_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

      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_)